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