Beispiel #1
0
 public static void ShowSpellcheckDictionaryWindow(SpellcheckDictionary vm)
 {
     if (_instance == null)
     {
         _instance = new SpellcheckDictionaryWindow();
     }
     _instance.DataContext = vm;
     _instance.Show();
     _instance.Focus();
 }
Beispiel #2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     _instance = null;
 }