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