Example #1
0
 public static bool ShowQuestion(string message, int autoCloseSeconds)
 {
     FormMessage formMessage = new FormMessage(message, true, autoCloseSeconds, null);
     return formMessage.ShowDialog() == DialogResult.Yes;
 }
Example #2
0
 public static bool ShowQuestion(string message)
 {
     FormMessage formMessage = new FormMessage(message, true, 0, null);
     return formMessage.ShowDialog() == DialogResult.Yes;
 }
Example #3
0
 public static void ShowMessage(string message)
 {
     FormMessage formMessage = new FormMessage(message, false, 0, null);
     formMessage.ShowDialog();
 }
Example #4
0
 public static void ShowMessage(string message, FormClosedEventHandler closeHandler)
 {
     FormMessage formMessage = new FormMessage(message, false, 0, closeHandler);
     formMessage.ShowDialog();
 }
Example #5
0
        public static bool ShowQuestion(string message)
        {
            bool flag = FormMessage.ShowQuestion(message);

            return(flag);
        }
Example #6
0
        public static bool ShowQuestion(string message, int autoCloseSeconds)
        {
            bool flag = FormMessage.ShowQuestion(message, autoCloseSeconds);

            return(flag);
        }
Example #7
0
 public static void ShowError(string message)
 {
     FormMessage.ShowMessage(message);
 }
Example #8
0
        public static bool ShowQuestion(string message)
        {
            FormMessage formMessage = new FormMessage(message, true, 0, null);

            return(formMessage.ShowDialog() == DialogResult.Yes);
        }
Example #9
0
        public static bool ShowQuestion(string message, int autoCloseSeconds)
        {
            FormMessage formMessage = new FormMessage(message, true, autoCloseSeconds, null);

            return(formMessage.ShowDialog() == DialogResult.Yes);
        }
Example #10
0
        public static void ShowMessage(string message, FormClosedEventHandler closeHandler)
        {
            FormMessage formMessage = new FormMessage(message, false, 0, closeHandler);

            formMessage.ShowDialog();
        }
Example #11
0
        public static void ShowMessage(string message)
        {
            FormMessage formMessage = new FormMessage(message, false, 0, null);

            formMessage.ShowDialog();
        }