Esempio n. 1
0
 private void btnKinescopeBegin_Click(object sender, EventArgs e)
 {
     //得到路径。例:d:\a.avi
     string myPath = this.txtPath.Text;
     if (myPath == "")
     {
         MessageBox.Show("必须填写路径!");
         return;
     }
     else
     {
         wcam.kinescopePath = myPath;
         delegateKinescope myK = new delegateKinescope(wcam.Kinescope);
         Thread threadKinescope = new Thread(new ThreadStart(myK));
         threadKinescope.Start();
         this.btnKinescopeBegin.Enabled = false;
         this.btnKinescopeStop.Enabled = true;
     }
 }
Esempio n. 2
0
        private void btnKinescopeBegin_Click(object sender, System.EventArgs e)
        {
            //得到路径。例:d:/a.avi
            string myPath = this.txtPath.Text;

            if (myPath == "")
            {
                MessageBox.Show("必须填写路径!");
                return;
            }
            else
            {
                wcam.KinescopePath = myPath;
                delegateKinescope myK             = new delegateKinescope(wcam.Kinescope);
                Thread            threadKinescope = new Thread(new ThreadStart(myK));
                threadKinescope.Start();
                this.btnKinescopeBegin.Enabled = false;
                this.btnKinescopeStop.Enabled  = true;
            }
        }
Esempio n. 3
0
 public void starKinescope()
 {
     delegateKinescope myK = new delegateKinescope(wcam.Kinescope);
 }
Esempio n. 4
0
 public void starKinescope()
 {
     delegateKinescope myK = new delegateKinescope(wcam.Kinescope);
 }