Create a control from the code window (SOLVED)
I'm looking to create a control without using the design mode. I've looked through the MSDN for the "CreateControl()" method but found nothing that I know how to use.
Just for the sake of the question, I'll say I'd like to create just a simple label control with any name at any location on the form... How should I go about it?
I'm looking to create a control without using the design mode. I've looked through the MSDN for the "CreateControl()" method but found nothing that I know how to use.
Just for the sake of the question, I'll say I'd like to create just a simple label control with any name at any location on the form... How should I go about it?
Last edited: