Example #1
0
        /// <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}");
        }
Example #2
0
        /// <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}");
        }
Example #3
0
        /// <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();
            }
        }
Example #4
0
 /// <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}");
 }
Example #5
0
        /// <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();
            }

        }
Example #6
0
 /// <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}");
 }