In WinForm, I have a ComboBox. I am trying to do something like this.
When ComboBox has only 1 item, that item should be set as "Selected Text" for ComboBox,
and when it has items more than 1, first item should be set as "Selected Text".
I want this to be happened at the time of Form Load.
how can i do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…