/// <summary> /// /// </summary> private void Reset(string message) { var errorForm = new FormError(message); errorForm.ShowDialog(); // Active Form ActiveFormByWindowsTitle(cboWindows.EditValue.ToString()); SendKeys.Send("^{A}"); SendKeys.SendWait("{BS}"); }
/// <summary> /// /// </summary> private void Reset(string message) { _result = ""; var errorForm = new FormError(message); errorForm.ShowDialog(); if (!backgroundWorker1.IsBusy) { backgroundWorker1.RunWorkerAsync(); } // Active Form ActiveFormByWindowsTitle(cboWindows.EditValue.ToString()); SendKeys.Send("^{A}"); SendKeys.SendWait("{BS}"); }
/// <summary> /// /// </summary> private void Reset(string message) { _result = ""; //backgroundWorker1.ReportProgress(0, "NG"); var errorForm = new FormError(message); errorForm.ShowDialog(); // Active Form ActiveFormByWindowsTitle(cboWindows.EditValue.ToString()); SendKeys.Send("^{A}"); SendKeys.SendWait("{BS}"); //txtBarcode.Text = string.Empty; //txtBarcode.Focus(); if (!backgroundWorker1.IsBusy) { backgroundWorker1.RunWorkerAsync(); } }