public static void MessageWarning(this System.Windows.Forms.Control owner, string message, string title = "Warning", TextAlignment textAlignment = TextAlignment.Center) { owner.MessageBox(message, title, MessageBoxImage.Exclamation, textAlignment); }
public static PopUp.PopUpResult MessageQuestion(this System.Windows.Forms.Control owner, string message, string title = "Question", PopUp.PopUpButtonsType buttons = PopUp.PopUpButtonsType.CancelOK) { return(owner.MessageBox(message, title, MessageBoxImage.Question, TextAlignment.Center, buttons)); }
public static void MessageError(this System.Windows.Forms.Control owner, string message, string title = "Error", TextAlignment textAlignment = TextAlignment.Center) { owner.MessageBox(message, title, MessageBoxImage.Error, textAlignment); }