public static MessageBoxResult Show(string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon) { IgrisMessageBoxWindow IgrisMessageBoxWindow = new IgrisMessageBoxWindow(messageBoxText, caption, button, icon); IgrisMessageBoxWindow.ShowDialog(); return(IgrisMessageBoxWindow.Result); }
public static MessageBoxResult Show(string messageBoxText) { IgrisMessageBoxWindow IgrisMessageBoxWindow = new IgrisMessageBoxWindow(messageBoxText); IgrisMessageBoxWindow.ShowDialog(); return(IgrisMessageBoxWindow.Result); }
public static MessageBoxResult ShowOK(string messageBoxText, string caption, string okButtonText, MessageBoxImage icon) { IgrisMessageBoxWindow IgrisMessageBoxWindow = new IgrisMessageBoxWindow(messageBoxText, caption, MessageBoxButton.OK, icon) { OkButtonText = okButtonText }; IgrisMessageBoxWindow.ShowDialog(); return(IgrisMessageBoxWindow.Result); }
public static MessageBoxResult Show(Window owner, string messageBoxText, string caption) { IgrisMessageBoxWindow IgrisMessageBoxWindow = new IgrisMessageBoxWindow(messageBoxText, caption) { Owner = owner }; IgrisMessageBoxWindow.ShowDialog(); return(IgrisMessageBoxWindow.Result); }
public static MessageBoxResult ShowOKCancel(string messageBoxText, string caption, string okButtonText, string cancelButtonText) { IgrisMessageBoxWindow IgrisMessageBoxWindow = new IgrisMessageBoxWindow(messageBoxText, caption, MessageBoxButton.OKCancel) { OkButtonText = okButtonText, CancelButtonText = cancelButtonText }; IgrisMessageBoxWindow.ShowDialog(); return(IgrisMessageBoxWindow.Result); }
public static MessageBoxResult ShowYesNo(string messageBoxText, string caption, string yesButtonText, string noButtonText, MessageBoxImage icon) { IgrisMessageBoxWindow IgrisMessageBoxWindow = new IgrisMessageBoxWindow(messageBoxText, caption, MessageBoxButton.YesNo, icon) { YesButtonText = yesButtonText, NoButtonText = noButtonText }; IgrisMessageBoxWindow.ShowDialog(); return(IgrisMessageBoxWindow.Result); }