Beispiel #1
0
 private void webCameraForms_FormClosed(object sender, FormClosedEventArgs e)
 {
     _webCameraForms = null;
 }
Beispiel #2
0
        private void webcameraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_webCameraForms == null)
            {
                _webCameraForms = new webCamera();
                _webCameraForms.FormClosed += new FormClosedEventHandler(webCameraForms_FormClosed);
                _webCameraForms.Show();
            }
            else
            {
                _webCameraForms.Show();
            }

        }