Пример #1
0
 protected override void OnClick(EventArgs e)
 {
     base.OnClick(e);
     lxzhComboBox.Text = lxzhComboBox.Items[nowIndex + index];
     lxzhComboBox.HideDropDown();
     lxzhComboBox.Refresh();
 }
Пример #2
0
 protected override void OnClick(EventArgs e)
 {
     if (lxzhComboBox.Items != null)
     {
         lxzhComboBox.Text = this.Text;
         lxzhComboBox.HideDropDown();
         lxzhComboBox.Refresh();
     }
     base.OnClick(e);
 }