Esempio n. 1
0
        //private void LiveViewButton_Click(object sender, EventArgs e)
        //{

        //    cameraControl.LiveView(camera[0]);
        //    //DownloadThread.Start();//开始线程
        //    relaseTimer.Start();
        //}

        //private void relaseTimer_Tick_1(object sender, EventArgs e)
        //{
        //    Bitmap _newbmp = cameraControl.DownloadEvf(camera[0]);
        //    LiveViewBox1.Image = _newbmp;
        //}

        private void viewAllToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LiveViewForm lf = new LiveViewForm();

            lf.Show();
        }
Esempio n. 2
0
 //private void LiveViewButton_Click(object sender, EventArgs e)
 //{
 //    cameraControl.LiveView(camera[0]);
 //    //DownloadThread.Start();//开始线程
 //    relaseTimer.Start();
 //}
 //private void relaseTimer_Tick_1(object sender, EventArgs e)
 //{
 //    Bitmap _newbmp = cameraControl.DownloadEvf(camera[0]);
 //    LiveViewBox1.Image = _newbmp;
 //}
 private void viewAllToolStripMenuItem_Click(object sender, EventArgs e)
 {
     LiveViewForm lf = new LiveViewForm();
     lf.Show();
 }