Hi,I'm new in WinForms Application help me change my ComboBox to default state of one of Collections I have
Thanks Sergey
SerogaM
0
Newbie Poster
Recommended Answers
Jump to PostSet the property SelectedIndex to the item's index you want it to be the default...
Say we want to show the 6th item
In form load handler add this piece of codecomboBox1.SelectedIndex = 5;
All 2 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
polo_coins
commented:
Thanks a lot Ramy nice to meet you and thanks for your help
+1
Ramy Mahrous
401
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.