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 ); }
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); }