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

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

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

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

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

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

            formMessage.ShowDialog();
        }