Example #1
0
        public static DialogResult Show(string text, string caption, MessageBoxButtons msgBtns, MessageBoxIcon msgIcon, MessageBoxDefaultButton msgDefaultBtn)
        {
            MenMessageBoxTemplate MenMessage = new MenMessageBoxTemplate(text, caption, msgBtns, msgIcon, msgDefaultBtn);

            return(MenMessage.ShowDialog());
        }
Example #2
0
        public static DialogResult Show(string text, string caption)
        {
            MenMessageBoxTemplate MenMessage = new MenMessageBoxTemplate(text, caption);

            return(MenMessage.ShowDialog());
        }