Suji D

Suji D

  • NA
  • 23
  • 7.7k

Auto Re-sizing Windows form and its Tabs and its Controls c#

May 12 2015 5:09 AM

Hi all,

   Good Day! I am using visual studio 2008. I have designed a Windows form in  c#. In that windows Form i have inserted one tab control, in this tab control i have 9 tabs. in these 9 tabs i have controls like label, text box, combo, etc.. 

Now i want to maximize windows form, tab control, controls in tab based on Resolution. In windows form property i changed window state to maximized. In this i getting only windows form maximized but i also want to maximize tab control and its controls. How to do it.


Answers (1)

1
Guest User

Guest User

  • Tech Writer
  • 4.2k
  • 2.3k
May 12 2015 6:23 AM
All controls have anchors. If you anchor a control left and right, then if the window changes size, the control will too. Here's a tutorial.