Пример #1
0
 private void btnAddIP_Click(object sender, EventArgs e)
 {
     MoCapStudio.Dlg.NewCameraDlg dlg = new Dlg.NewCameraDlg();
     if (dlg.ShowDialog() == DialogResult.OK)
     {
         Shared.IMocapRecorder recorder = new Shared.Recorders.IPMocapRecorder(dlg.GetIPAddress(), dlg.IsMJPEG());
         cameraCheckboxListCtrl1.Items.Add(recorder);
         GlobalData.GetInst().Cameras.Add(recorder);
     }
 }
Пример #2
0
 private void btnAddIP_Click(object sender, EventArgs e)
 {
     MoCapStudio.Dlg.NewCameraDlg dlg = new Dlg.NewCameraDlg();
     if (dlg.ShowDialog() == DialogResult.OK)
     {
         Shared.IMocapRecorder recorder = new Shared.Recorders.IPMocapRecorder(dlg.GetIPAddress(), dlg.IsMJPEG());
         cameraCheckboxListCtrl1.Items.Add(recorder);
         GlobalData.GetInst().Cameras.Add(recorder);
     }
 }