One line after form InitializeComponent();
cbo_MyDropBox.Text = "Select a server...";
You only need it once right? All you need to do if a pick is mandatory is check if the box index != -1
. Could anyone elaborate why the other answers jump through hoops to get this going?
The only thing I'm missing here is having just this initial text grayed out. If you really want that just use a label in front and turn it off once the index is changed.