Resize of Usercontrol using code

  • 13 years ago

    Hi,

    I have a few User Controls (.ctl) which I need to resize during initialization depending on computer resolution.

    I have manage to resize the constituent controls, but have problem resize the base (user control that the constituent controls are placed on) using code.

    If I want to create a module to do the resize for all the usercontrols, how should i pass the different usercontrol to the module? Is it possible? As I don't want to repeat the code over.

    Thanks in Advance

    Best Regards,

    GONGON 

     

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter” - Eric Raymond