Form Resize

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhandoo
    New Member
    • Aug 2008
    • 5

    Form Resize

    Hi,
    I have issue regarding resizing the form on runtime.

    Consider the following scenario, I have Winform with three panels
    panel-1 ( docked TOP)
    panel-2 ( docked Bottom)
    panel-3 ( docked Fill)

    On panel-1 I have two button btn_Show & btn_Hide

    Requirement is if I click btn_Hide, then
    * panel-2 SHOULD BE VISIBLE FALSE
    * Form should be resized as panel-2
    * panel-3 should move up

    I tried form Autosize=true & Grow& shrink, but it does not help.

    Can anyone please help
    Thanks
    Rakesh
Working...