So the question is, if I am instantiating a control for use on a form (or any object really) at what point is the object and it's properties/methods considered loaded into memory?
The reason why I ask is because evidently when I instantiate my custom controls, but before adding them to the form, they are not "loaded" and the Load event is not triggered until I explicitly add the control to the form.
For example, the code
MyControl myControl = new MyControl(); does nothing, but as soon as
MyForm.Controls.Add(myControl); is called, the load event for MyControl is triggered. Is this odd to anyone else? If the load event is not triggered at instantiation wouldn't the event name be kind of deceiving? I mean, an instantiated object, by definition is loaded, isn't it?