Exemplo n.º 1
0
        public static void ShowInstance()
        {
            if (_instance == null)
            {
                _instance = new HotkeysWindow();

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

            _instance.ShowAndFocus();
        }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 void OpenHotkeyManager(object Sender, RoutedEventArgs E)
 {
     HotkeysWindow.ShowInstance();
 }