Beispiel #1
0
 private void Edit()
 {
     if (EditWindow == null)
     {
         EditWindow = new EditPersonelWindow(SelecItem);
         EditWindow.Show();
         EditWindow.EditPersonelViewModel.PersonelEdit += EditPersonelViewModelPersonelEdit;
         EditWindow.Closing += EditPersonWindowClosing;
     }
 }
Beispiel #2
0
 private void EditPersonWindowClosing(object sender, CancelEventArgs e)
 {
     EditWindow.Dispose();
     EditWindow = null;
 }