Sicherung
This commit is contained in:
@@ -11,8 +11,8 @@ namespace FSI.BT.Tools
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application
|
||||
{
|
||||
private static readonly KeyGesture RadialMenu = new(Key.OemBackslash, ModifierKeys.Control);
|
||||
private static readonly KeyGesture TimeStamp = new(Key.C, ModifierKeys.Control | ModifierKeys.Alt);
|
||||
private static readonly KeyGesture RadialMenu = new KeyGesture(Key.OemBackslash, ModifierKeys.Control);
|
||||
private static readonly KeyGesture TimeStamp = new KeyGesture(Key.C, ModifierKeys.Control | ModifierKeys.Alt);
|
||||
|
||||
public void Application_Startup(object sender, StartupEventArgs e)
|
||||
{
|
||||
@@ -20,7 +20,6 @@ namespace FSI.BT.Tools
|
||||
Global.Settings = new AppSettings(GetType().Namespace.ToString() + ".xml");
|
||||
Global.Settings.Load();
|
||||
|
||||
|
||||
Global.TaskbarIcon = (TaskbarIcon)FindResource("FSINotifyIcon");
|
||||
|
||||
Global.AdminRights = Admin.CheckAdminRight();
|
||||
@@ -28,19 +27,17 @@ namespace FSI.BT.Tools
|
||||
Global.UserRights = Admin.CheckUserRight();
|
||||
|
||||
HotkeyManager.Current.AddOrReplace("RadialMenu", RadialMenu, ShowRadialMenu);
|
||||
|
||||
HotkeyManager.Current.AddOrReplace("TimeStampToClipboard", TimeStamp, TimeStampToClipboard);
|
||||
|
||||
Global.FrmRadialMenu = new();
|
||||
Global.FrmRadialMenu = new FrmRadialMenu();
|
||||
|
||||
Global.WinCC = new()
|
||||
{
|
||||
AutoStart = Global.Settings.SieTiaWinCCMsgMgtAutostart,
|
||||
UpdateIntervall = Global.Settings.SieTiaWinCCMsgMgtUpdateIntervall,
|
||||
WindowsName = Global.Settings.SieTiaWinCCMsgMgtWindowsName,
|
||||
WindowsClassName = Global.Settings.SieTiaWinCCMsgMgtClassName,
|
||||
ButtonName = Global.Settings.SieTiaWinCCMsgMgtBtnName,
|
||||
};
|
||||
Global.WinCC = new Lib.Guis.SieTiaWinCCMsgMgt.WinCC(
|
||||
Global.Settings.SieTiaWinCCMsgMgtAutostart,
|
||||
Global.Settings.SieTiaWinCCMsgMgtUpdateIntervall,
|
||||
Global.Settings.SieTiaWinCCMsgMgtWindowsName,
|
||||
Global.Settings.SieTiaWinCCMsgMgtClassName,
|
||||
Global.Settings.SieTiaWinCCMsgMgtBtnName
|
||||
);
|
||||
}
|
||||
|
||||
private void ShowRadialMenu(object sender, HotkeyEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user