Inheritance: System.Windows.Controls.ChildWindow
Exemplo n.º 1
0
 public static void Show(string caption, string message, string yesButtonText, string noButtonText, string cancelButtonText, MessageBoxType messageBoxType, Action yesAction = null, Action noAction = null, Action cancelAction = null)
 {
     var messageBox = new SuperMessageBox(caption, message, yesButtonText, noButtonText, cancelButtonText, messageBoxType, yesAction, noAction, cancelAction);
     messageBox.Show();
 }
Exemplo n.º 2
0
 public static void ShowWarning(string caption, string message, string yesButtonText, string noButtonText, Action yesAction, Action noAction = null)
 {
     var messageBox = new SuperMessageBox(caption, message, yesButtonText, noButtonText, MessageBoxType.Warning, yesAction, noAction);
     messageBox.Show();
 }
Exemplo n.º 3
0
 public static void ShowInformation(string caption, string message, Action callback = null)
 {
     var messageBox = new SuperMessageBox(caption, message, MessageBoxType.Information, callback);
     messageBox.Show();
 }
Exemplo n.º 4
0
 public static void ShowConfirmation(string caption, string message, Action okayAction, Action cancelAction = null)
 {
     var messageBox = new SuperMessageBox(caption, message, "OK", "Cancel", MessageBoxType.Confirmation, okayAction, cancelAction);
     messageBox.Show();
 }
Exemplo n.º 5
0
 public static void ShowWarning(string caption, string message, Action okayAction, Action cancelAction = null) 
 {
     var messageBox = new SuperMessageBox(caption, message, MessageBoxType.Warning, okayAction, cancelAction);
     messageBox.Show();
 }
Exemplo n.º 6
0
        public static void Show(string caption, string message, string yesButtonText, string noButtonText, string cancelButtonText, MessageBoxType messageBoxType, Action yesAction = null, Action noAction = null, Action cancelAction = null)
        {
            var messageBox = new SuperMessageBox(caption, message, yesButtonText, noButtonText, cancelButtonText, messageBoxType, yesAction, noAction, cancelAction);

            messageBox.Show();
        }
Exemplo n.º 7
0
        public static void ShowInformation(string caption, string message, Action callback = null)
        {
            var messageBox = new SuperMessageBox(caption, message, MessageBoxType.Information, callback);

            messageBox.Show();
        }
Exemplo n.º 8
0
        public static void ShowWarning(string caption, string message, string yesButtonText, string noButtonText, Action yesAction, Action noAction = null)
        {
            var messageBox = new SuperMessageBox(caption, message, yesButtonText, noButtonText, MessageBoxType.Warning, yesAction, noAction);

            messageBox.Show();
        }
Exemplo n.º 9
0
        public static void ShowWarning(string caption, string message, Action okayAction, Action cancelAction = null)
        {
            var messageBox = new SuperMessageBox(caption, message, MessageBoxType.Warning, okayAction, cancelAction);

            messageBox.Show();
        }
Exemplo n.º 10
0
        public static void ShowConfirmation(string caption, string message, Action okayAction, Action cancelAction = null)
        {
            var messageBox = new SuperMessageBox(caption, message, "OK", "Cancel", MessageBoxType.Confirmation, okayAction, cancelAction);

            messageBox.Show();
        }