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

            return(flag);
        }
Пример #6
0
        public static bool ShowQuestion(string message, int autoCloseSeconds)
        {
            bool flag = FormMessage.ShowQuestion(message, autoCloseSeconds);

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

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

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

            formMessage.ShowDialog();
        }
Пример #11
0
        public static void ShowMessage(string message)
        {
            FormMessage formMessage = new FormMessage(message, false, 0, null);

            formMessage.ShowDialog();
        }