I can't figure out how (or if) you can use a class to create an element on a form.
I have a set of different commands that each do a certain thing, and each commands has checkboxes, a textbox, and a submit button, maybe in a group box. I would love to be able to simply create a new instance of a command and have it appear on the form, without having to code each one.
Can classes have their own elements on a form and be able to create a new instance? Or should I start coding each one separately...
Sorry if this isn't too clear. I'm trying not to give too much detail while still getting the concept across...
I have a set of different commands that each do a certain thing, and each commands has checkboxes, a textbox, and a submit button, maybe in a group box. I would love to be able to simply create a new instance of a command and have it appear on the form, without having to code each one.
Can classes have their own elements on a form and be able to create a new instance? Or should I start coding each one separately...
Sorry if this isn't too clear. I'm trying not to give too much detail while still getting the concept across...