Hello,
I've added a UserControl to my main Form:
this.Controls.Add(UserControl1);
But how to I create an instance to this added control so that I can change
its size, location etc.?
Hope someone can help me with this.
Thanks in advance,
Tinus
Matt Berther - 17 Sep 2004 15:49 GMT
Hello Tinus,
UserControl1 uc = new UserControl1();
uc.Size = new Size(400, 400);
this.Controls.Add(uc);
--
Matt Berther
http://www.mattberther.com
> Hello,
>
[quoted text clipped - 7 lines]
> Thanks in advance,
> Tinus
Tinus - 17 Sep 2004 17:26 GMT
Thanks!
> Hello Tinus,
>
[quoted text clipped - 18 lines]
> > Thanks in advance,
> > Tinus