Andy
I'm not able to overloads the OnSetComponentDefaults.
Framework is saying that those method isn't a part of the
base class.
I'm inheriting from usercontrol.
I taked a look to the object browser, and serching for it,
it doesn't display anything. If I setup a reference for system.design
assembly for the working project, I can see it, but always I
don't know how to use it.
Can you help me again?
I'm doing a lot of confuision with assembly, namespaces etc.
Andrea
System.ComponentModel.Design > ComponentDesigner Class
seems doesn't exist on my pc.
Public Overloads Overrides Sub OnSetComponentDefaults()
MyBase.OnSetComponentDefaults()
MyBase.Control.Size = New Size(496, 312) ' whatever your
desired default size is
End Sub
Best Regards,
Andy
--
Grazie
Andrea