public static MyMessageBoxResults display(string message, MyMessageBoxType mbType = MyMessageBoxType.Information)
        {
            MyMessageBox mmb = new MyMessageBox(message, mbType);

            mmb.textBox1.Text = mmb.message;
            mmb.ShowDialog();
            mmb.BringToFront();
            return(mmb.mbResult);
        }
        public static void displayAndClose(string message, int timeInSeconds = 2)
        {
            MyMessageBoxType mbType = MyMessageBoxType.Information;
            MyMessageBox     mmb    = new MyMessageBox(message, mbType);

            System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer();
            tmr.Tick += delegate {
                mmb.Close();
            };
            tmr.Interval = (int)TimeSpan.FromSeconds(timeInSeconds).TotalMilliseconds;
            tmr.Start();

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