예제 #1
0
        private void btnMC_Click(object sender, EventArgs e)
        {
            var result = MessageBox.Show("Do you want start game at now?", "Message", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);

            if (result == DialogResult.Yes)
            {
                activateButton(sender, activeColor);
                Form frmMC = new MC_UI();
                frmMC.Show();
                this.WindowState = FormWindowState.Minimized;
            }
        }
예제 #2
0
        public static void startMC()
        {
            Form frmMC = new MC_UI();

            frmMC.Show();
        }