Exemplo n.º 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());
        }
Exemplo n.º 2
0
        public static DialogResult Show(string text)
        {
            TBMessageBoxForm tbMessageBoxForm = new TBMessageBoxForm(text);

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

            return(tbMessageBoxForm.ShowDialog());
        }