示例#1
0
 private void addEmployeeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Employees.FrmAddEmployee eew = new Employees.FrmAddEmployee();
     eew.ShowDialog();
     this.Show();
     this.Activate();
 }
示例#2
0
 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;
 }
示例#3
0
 private void addEmployeeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Employees.FrmAddEmployee formE = new Employees.FrmAddEmployee();
     formE.ShowDialog();
 }