Guest User

Untitled

a guest
Aug 10th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Combobox cancel dropdown
  2. private void comboBox1_DropDown(object sender, EventArgs e)
  3. {
  4. valSel.incBox = (ComboBox)sender;
  5. valSel.Show();
  6. if (this.comboBox1.DroppedDown)
  7. {
  8. MessageBox.Show("test");
  9. SendMessage(this.comboBox1.Handle, CB_SHOWDROPDOWN, 0, 0);
  10. }
  11. }
Add Comment
Please, Sign In to add comment