예제 #1
0
        public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)
        {
            TBMessageBoxForm tbMessageBoxForm = new TBMessageBoxForm(text, caption, buttons, icon, defaultButton);

            return(tbMessageBoxForm.ShowDialog());
        }
예제 #2
0
        public static DialogResult Show(string text)
        {
            TBMessageBoxForm tbMessageBoxForm = new TBMessageBoxForm(text);

            return(tbMessageBoxForm.ShowDialog());
        }
예제 #3
0
        public static DialogResult Show(string text, string caption, MessageBoxButtons buttons)
        {
            TBMessageBoxForm tbMessageBoxForm = new TBMessageBoxForm(text, caption, buttons);

            return(tbMessageBoxForm.ShowDialog());
        }