Exemple #1
0
 protected void ShowAddContactWindowExecuted()
 {
     var addContactWindow = new ContactEditorWindow();
     addContactWindow.Show();
 }
Exemple #2
0
 private void ShowContactEditorExecuted()
 {
     var contactVm = new ContactEditorViewModel(Model);
     var contact = new ContactEditorWindow();
     contact.DataContext = contactVm;
     contactVm.Rejected += contact.Close;
     contactVm.Saved += contact.Close;
     contact.Show();
 }