예제 #1
0
 void HotKeyEditorHide_Click(object sender, RoutedEventArgs e)
 {
     HotKeyEditor.viewModel.UpdateCurrentSelection(); //to capture changes if any
     HotKeysMapping.Save(HotKeyEditor.viewModel.HotKeys);
     viewModel.RefreshHotKeysView();
 }
예제 #2
0
 void Window_Closed(object sender, EventArgs e)
 {
     viewModel.Process();
     viewModel.Save();
     HotKeysMapping.Save(HotKeyEditor.viewModel.HotKeys);
 }