private void btn_productSubtract_Click(object sender, EventArgs e) { FrmProductSubtract form = new FrmProductSubtract(); form.Show(); this.Hide(); }
private void btn_productSubstractMenu_Click(object sender, EventArgs e) { FrmProductSubtract form = new FrmProductSubtract(); form.Show(); this.Hide(); if (videoCaptureDevice != null) { if (videoCaptureDevice.IsRunning) { videoCaptureDevice.Stop(); } } }