Example #1
0
 public MainWindow()
 {
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     InitializeComponent();
     mListHotkey  = TbHotkey.GetAll();
     mListHideWin = TbHideWin.GetAll();
 }
Example #2
0
 private void OnHotkeyUpdateEvent()
 {
     mListHotkey = TbHotkey.GetAll();
     // 把key更新
     foreach (var win in mWins.Windows)
     {
         SetHotkey(win);
     }
 }
Example #3
0
 private void RefreshData()
 {
     dataGrid1.ItemsSource = TbHotkey.GetAll();
 }