Exemplo n.º 1
0
 private void Delete(object sender, RoutedEventArgs e)
 {
     if (
         MessageWindow.ShowConfirmMessage(
             "You are about to delete current Classification information. Do you want to proceed?") ==
         MessageBoxResult.Yes)
     {
         _currentClassification.Destroy();
         MessageWindow.ShowNotifyMessage("Classification information deleted!");
         DataContext = _currentClassification = new Classification(0);
     }
 }