예제 #1
0
 private void icImagingControl1_DeviceLost(object sender, TIS.Imaging.ICImagingControl.DeviceLostEventArgs e)
 {
     // We BeginInvoke this so that showing the modal dialog does not block actually closing the device in IC
     BeginInvoke(new Action(() => DeviceLost()));
 }
예제 #2
0
 private void CameraCtrl_DeviceLost(object sender, TIS.Imaging.ICImagingControl.DeviceLostEventArgs e)
 {
     BeginInvoke(new DeviceLostDelegate(ref DeviceLost));
 }