Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            stop_cam();
            Training_Form TF1 = new Training_Form(this);//以本窗体为父窗体打开训练窗体

            //Training_Form TF1 = new Training_Form(this);
            TF1.Show();
        }
Example #2
0
        //Open training form and pass this
        private void trainToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Stop Camera
            stop_capture();//停止摄像头

            //OpenForm
            Training_Form TF = new Training_Form(this); //以本窗体为父窗体打开训练窗体

            TF.Show();                                  //启动训练窗体
        }