+ 1

ComboBoxes in C#

i have a combo box in my windows forms app and i want to control it by saying that if the selected item was admin say 1 and if it was user message box 2

23rd May 2018, 8:34 AM
Youssef Hammad
Youssef Hammad - avatar
1 Resposta
0
string var; var = comboBox1.Text; Or var item = this.comboBox1.GetItemText(this.comboBox1.SelectedItem); MessageBox.Show(item); http://csharp.net-informations.com/gui/cs-combobox.htm
23rd May 2018, 11:07 AM
sneeze
sneeze - avatar