51 lines
2.1 KiB
C#
51 lines
2.1 KiB
C#
using Hardcodet.Wpf.TaskbarNotification;
|
|
using NLog;
|
|
|
|
namespace FSI.BT.Tools
|
|
{
|
|
internal static class Global
|
|
{
|
|
public static Logger Log = LogManager.GetCurrentClassLogger();
|
|
public static FrmRadialMenu FrmRadialMenu { get; set; }
|
|
public static TaskbarIcon TaskbarIcon { get; set; }
|
|
public static Lib.Guis.SieTiaWinCCMsgMgt.ViewModel WinCC { get; set; }
|
|
|
|
public static Settings.AppSettings.IAppSettings AppSettings { get; set; }
|
|
|
|
public static Lib.Guis.IbaDirSync.ViewModel Iba { get; set; }
|
|
public static Lib.Guis.SetSizePosExWindow.ViewModel WindowMgt { get; set; }
|
|
public static bool UserRights { get; set; }
|
|
public static bool AdminRights { get; set; }
|
|
public static bool SuperAdminRights { get; set; }
|
|
|
|
public static class Window
|
|
{
|
|
public static void Load()
|
|
{
|
|
//for (int i = 0; i < Global.Settings.WindowMgtBezeichnung.Length; i++)
|
|
//{
|
|
// WindowMgt.Windows.Add(new Lib.Guis.SetSizePosExWindow.IInterface()
|
|
// {
|
|
// Bezeichnung = ""
|
|
// });
|
|
//}
|
|
}
|
|
|
|
public static void Save()
|
|
{
|
|
//for (int i = 0; i < Global.WindowMgt.Windows.Count; i++)
|
|
//{
|
|
// Global.Settings.WindowMgtBezeichnung[i] = Global.WindowMgt.Windows[i].Bezeichnung;
|
|
// Global.Settings.WindowMgtName[i] = Global.WindowMgt.Windows[i].Name;
|
|
// Global.Settings.WindowMgtClassName[i] = Global.WindowMgt.Windows[i].ClassName;
|
|
// Global.Settings.WindowMgtHeight[i] = Global.WindowMgt.Windows[i].Height.ToString();
|
|
// Global.Settings.WindowMgtWight[i] = Global.WindowMgt.Windows[i].Width.ToString();
|
|
// Global.Settings.WindowMgtX[i] = Global.WindowMgt.Windows[i].X.ToString();
|
|
// Global.Settings.WindowMgtY[i] = Global.WindowMgt.Windows[i].Y.ToString();
|
|
//}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|