private bool ShowDiscardCommandChangesDialog(FailedDeserializingCommandException ex)
 {
     return( MessageBox.Show("Failed to Create Command based on provided Text \n\r\n\r" + ex.Message + "\n\r\n\rDiscard changes?", "Error",
         MessageBoxButton.YesNo, MessageBoxImage.Error) == MessageBoxResult.Yes );
 }
コード例 #2
0
 private bool ShowDiscardCommandChangesDialog(FailedDeserializingCommandException ex)
 {
     return(MessageBox.Show("Failed to Create Command based on provided Text \n\r\n\r" + ex.Message + "\n\r\n\rDiscard changes?", "Error",
                            MessageBoxButton.YesNo, MessageBoxImage.Error) == MessageBoxResult.Yes);
 }