views:

83

answers:

1

hi all, i'm new to C#. and just playing around with the UserControl feature. my problem is that i am writing an RTL app (hebrew). when i made a Form with panels in it, containing some TextBox'es & Labels next to them, the alignment at run-time appeared exactly as in design-time. when i took the same panel & put it in a new created UserControl, some problems occured.

my guess is that i don't understand how to make the UserControl behave as a Container.

what am i missing?

thx

+1  A: 

I suggest you to read How to make a UserControl object acts as a control container design-time by using Visual C#, it's very good to learn and I'm also reading it(I'm curious about this).

Nathan Campos
Useful read indeed. :)
o.k.w
hi Nathan,after spending hours over hours...the problem solved by setting the AutoScaleMode property, in UserControl class, to 'none'.the default is 'font'.thx anyway!
shayke23
You're welcome!
Nathan Campos