Sunday, January 4, 2015

How to represent class use variable

Still not following exactly what you want to do, like what do you mean by "and then program can call the varibale"? But it sounds like you just want to call a particular button's Click method? The buttons variables are already there (as Joel said), all you need to do is use them:



this.button1.Cllck();
this.button2.Click();





~~Bonnie DeWitt [C# MVP]


http://ift.tt/1bPbIRj


No comments:

Post a Comment