Ejemplo n.º 1
0
        private void selectDevToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Shutdown();
            if (deviceListForm != null)
            {
                deviceListForm.Close();
            }

            deviceListForm = new DeviceListForm();
            deviceListForm.OnItemSelected += new DeviceListForm.OnItemSelectedDelegate(deviceListForm_OnItemSelected);
            deviceListForm.Show();
        }
Ejemplo n.º 2
0
 private void startToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (device == null)
     {
         deviceListForm = new DeviceListForm();
         deviceListForm.OnItemSelected += new DeviceListForm.OnItemSelectedDelegate(deviceListForm_OnItemSelected);
         deviceListForm.Show();
     }
     else
     {
         Shutdown();
     }
 }
Ejemplo n.º 3
0
 private void CaptureForm_Shown(object sender, EventArgs e)
 {
     deviceListForm.Show();
 }