1
Answer

How can I use Button control in Switch

amit_gupta14

amit_gupta14

20y
2.1k
1
Suppose there are 10 buttons on screen. 1. How can I create buttons in an array at design time. I mean their name is same but index property (no idea what is equivalent in C#)will vary. I donot know whether this is possible or not in C#. In visual Basic, If I create one button, copy/paste the same button, then these 2 buttons used to be part of array. 2. How can I use Button in switch i.e. Any property of button say text, name can be used in switch
Answers (1)