Esempio n. 1
0
 /// <summary>
 /// Dismisses the camera status dialog
 /// </summary>
 private void dismissCameraStatus()
 {
     if (_cameraStatusForm != null)
     {
         _cameraStatusForm.Cancel();
         _cameraStatusForm = null;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Thread function to displays the current status of the camera
 /// </summary>
 private void cameraStatusThread(String prompt)
 {
     _cameraStatusForm = new CameraStatusForm {
         Prompt = prompt
     };
     _cameraStatusForm.EvtCancel += cameraStatusForm_EvtCancel;
     _cameraStatusForm.ShowDialog();
 }