private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();

            main frm1 = new Demo.main();

            frm1.ShowDialog();
        }
예제 #2
0
        //메인함수로 돌아가기
        private void Go_main_Click(object sender, EventArgs e)
        {
            if (isMainReady)
            {
                isMainReady = !isMainReady;
                this.Hide();

                main frm1 = new Demo.main();
                frm1.ShowDialog();
            }
            else
            {
                MessageBox.Show("Forget to press 'STOP' button!!");
            }
        }