daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top