/// <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; } }
private void CaptureButton_Click(object sender, EventArgs e) { LiveView.Capture(); }
private void SingleCaptureButton_Click(object sender, RoutedEventArgs e) { LiveView.Capture(); }