示例#1
0
 private void ChckOpticalFlowCheckedChanged(object sender, EventArgs e)
 {
     if (_chckOpticalFlow.Checked)
     {
         if (_frmOpticalFlow == null)
         {
             _frmOpticalFlow = new frmOpticalFlow();
         }
         _frmOpticalFlow.Show();
     }
     else
     {
         _frmOpticalFlow.Close();
         _frmOpticalFlow = null;
     }
 }
示例#2
0
 private void ChckOpticalFlowCheckedChanged(object sender, EventArgs e)
 {
     if(_chckOpticalFlow.Checked)
     {
         if(_frmOpticalFlow == null)
         {
             _frmOpticalFlow = new frmOpticalFlow(); 
         }
         _frmOpticalFlow.Show();
     }
     else
     {
         _frmOpticalFlow.Close();
         _frmOpticalFlow = null;
     }
 }