PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
UserControl - size problem in designer
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
UserControl - size problem in designer
![]() |
UserControl - size problem in designer |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I have problem with using my user controls in designer - desingner ignores my default size of my control and allways creates new controls with size 200 x 200 points. Since desinger does not show content of usercontrols in CF, this makes UserControls quite unusable for me... 1) I create new UserControl class called MyUserControl and sets it's size property e.g. 100 x 50 points. (I checked generated method InitializeCompoment and it seems fine, size is set to 100 x 50) 2) I use this control in new Form. When i drag this MyUserControl on the form, this control is created on this form, but it's size is 200 x 200 instead of 100 x 50. When i do the same in full Framework, it works fine... Is there any workabout how to make this work? Thank for any ideas |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

