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

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

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

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

            formMessage.ShowDialog();
        }