protected override void OnClick(EventArgs e) { base.OnClick(e); lxzhComboBox.Text = lxzhComboBox.Items[nowIndex + index]; lxzhComboBox.HideDropDown(); lxzhComboBox.Refresh(); }
protected override void OnClick(EventArgs e) { if (lxzhComboBox.Items != null) { lxzhComboBox.Text = this.Text; lxzhComboBox.HideDropDown(); lxzhComboBox.Refresh(); } base.OnClick(e); }