예제 #1
0
 /// <summary>
 /// Handles the 1 event of the ManualButton_Click control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void ManualButton_Click(object sender, EventArgs e)
 {
     try { LiveView.Capture(); }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Capture Exception", MessageBoxButtons.OK, MessageBoxIcon.Error);
         CameraLabel.BackColor = Color.Red;
     }
 }
예제 #2
0
 private void CaptureButton_Click(object sender, EventArgs e)
 {
     LiveView.Capture();
 }
예제 #3
0
 private void SingleCaptureButton_Click(object sender, RoutedEventArgs e)
 {
     LiveView.Capture();
 }