private void addEmployeeToolStripMenuItem_Click(object sender, EventArgs e) { Employees.FrmAddEmployee eew = new Employees.FrmAddEmployee(); eew.ShowDialog(); this.Show(); this.Activate(); }
public frmCamera(Employees.FrmAddEmployee pic) { InitializeComponent(); { VideoCaptureDevices = new FilterInfoCollection(FilterCategory.VideoInputDevice); foreach (FilterInfo VideoCaptureDevice in VideoCaptureDevices) { comboBox1.Items.Add(VideoCaptureDevice.Name); } comboBox1.SelectedIndex = 0; } this.pic = pic; }
private void addEmployeeToolStripMenuItem_Click(object sender, EventArgs e) { Employees.FrmAddEmployee formE = new Employees.FrmAddEmployee(); formE.ShowDialog(); }