divil, I read your article on Designers and there is one part that confuses me. Why is the internal class inside the control class? I had to put the internal class outside becuase it was not known inside to [Designer(typeof(MyControlDesigner))].
Is that a mistake or am I doing something wrong?
Is that a mistake or am I doing something wrong?
C#:
[Designer(typeof(MyControlDesigner))]
public class UserControl1 : System.Windows.Forms.UserControl
{
public UserControl1()
{
}
internal class MyControlDesigner : System.Windows.Forms.Design.ControlDesigner
{
}
}