Beispiel #1
0
 private void textBoxWaitKey_TextChangedWaitGetText(object sender, GetTextEventArgs e)
 {
     try
     {
         this.customerManager.CurrentPage = 1;
         this.KeyWord = e.StartText.Trim();
         this.dataSet = this.customerManager.QueryByKey(this.KeyWord, this.customerManager.Pagesize, this.customerManager.CurrentPage);
         this.aisinoDataGrid1.DataSource = this.dataSet;
     }
     catch (Exception exception)
     {
         this.log.Error(exception.ToString());
         ExceptionHandler.HandleError(exception);
     }
 }
Beispiel #2
0
 private void textBoxWaitMC_TextChangedWaitGetText(object sender, GetTextEventArgs e)
 {
     string[] spellCode = StringUtils.GetSpellCode(this.textBoxWaitMC.Text.Trim());
     if (spellCode.Length > 1)
     {
         this.comboBoxKJM.DropDownStyle = ComboBoxStyle.DropDown;
         this.comboBoxKJM.Items.Clear();
         this.comboBoxKJM.Items.AddRange(spellCode);
         this.comboBoxKJM.SelectedIndex = 0;
     }
     else
     {
         this.comboBoxKJM.DropDownStyle = ComboBoxStyle.Simple;
         this.comboBoxKJM.Text          = spellCode[0];
     }
 }
Beispiel #3
0
 private void textBoxWaitMC_TextChangedWaitGetText(object sender, GetTextEventArgs e)
 {
 }
Beispiel #4
0
 private void textBoxWaitMC_TextChangedWaitGetText(object sender, GetTextEventArgs e)
 {
     int length = StringUtils.GetSpellCode(this.textBoxWaitMC.Text.Trim()).Length;
 }
 private void selection_OnGetText(object sender, GetTextEventArgs e)
 {
     OnGetText(this, e);
 }