I have a form of c sharp, In winch I have Five Button.I want hit all buttons one by one dynamically.
Please send me complete Code of c sharp.
Jump to Post
To programmatically press a button in C#, use the PerformClick() method on each button.
b1.PerformClick() b2.PerformClick() b3.PerformClick() b4.PerformClick() b5.PerformClick()
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.