这种方式总是空
MessageBox.Show(comboBox1.SelectedText);
可采用
下面这两种
string
s = comboBox1.Text;
string
s = comboBox1.SelectedItem
as
string
;
这种方式总是空
MessageBox.Show(comboBox1.SelectedText);
可采用
下面这两种
string
s = comboBox1.Text;
string
s = comboBox1.SelectedItem
as
string
;