コード例 #1
0
        public static MessageBoxResults display(string message, MessageBoxType mbType = MessageBoxType.Information)
        {
            MyMessageBox mmb = new MyMessageBox(message, mbType);

            mmb.textBox1.Text = mmb.message;
            mmb.ShowDialog();
            mmb.BringToFront();
            return(mmb.mbResult);
        }