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