예제 #1
0
 private void Remove_Click(object sender, RoutedEventArgs e)
 {
     if (!(_survey is null))
     {
         if (MessageBox.Show(LangPages.MBox.DelSurvey, string.Empty, MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
         {
             surveyController.Remove(_survey.Id);
             UpdateFields();
         }
     }