/// <summary> /// Handles the Click event of the ScanButton control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void ScanButtonClick(object sender, System.EventArgs e) { CheckOutServices.Scan((long)CodeNumericUpDown.Value); CodeNumericUpDown.Value = 0; CodeNumericUpDown.Focus(); }
/// <summary> /// Handles the Click event of the StartButton control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void StartButtonClick(object sender, System.EventArgs e) { EnableCheckOutControls(true); CodeNumericUpDown.Focus(); CheckOutServices.Start(); }