示例#1
0
        public static void ShowInstance()
        {
            if (_instance == null)
            {
                _instance = new HotkeysWindow();

                _instance.Closed += (S, E) => _instance = null;
            }

            _instance.ShowAndFocus();
        }
示例#2
0
 public ConfigWindow(Gauges gauges)
     : base(Constants.WINDOW_ID_CONFIG, "NanoGauges Configuration")
 {
     this.gauges = gauges;
     //
     profilesWindow = new ProfilesWindow();
     hotkeysWindow  = new HotkeysWindow();
     exportWindow   = new ExportWindow();
     //
     SetSize(350, 300);
     CenterWindow();
 }
示例#3
0
 void OpenHotkeyManager(object Sender, RoutedEventArgs E)
 {
     HotkeysWindow.ShowInstance();
 }