Quantcast
Channel: Adding windows form controls through code - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Jumbofile for Adding windows form controls through code

Thanks for all the help, didn't really know what to type because of my lack of knowledge with Winforms.This is more or less what I was looking for:for (int i = 0; i < 10; i++) { Button button = new...

View Article



Answer by wy.Xie for Adding windows form controls through code

I dont really understand your words.I'm not good at English.Do you want to create 500 controls in only one from? //set the control's initial location const int HEADERTEXTLOCATIONX = 0; const int...

View Article

Answer by KL_ for Adding windows form controls through code

If you're looking to reduce the number of lines of code you have, you should use a method that takes in the parameters you wish to change. Here's some sample code that will get you started.private void...

View Article

Adding windows form controls through code

I'm making a server manager and it needs to be able to add and get rid of servers. I want it to have a pretty interface so i've decided to the server displayed on a picturebox that contains 4 labels...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images