code_junkie

Best Layout of a WinForms UserControl with both Static and Dynamic Content

Nov 14th, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. cntrl.AutoSize = true;
  2. cntrl.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  3. cntrl.Dock = System.Windows.Forms.DockStyle.Fill;
Add Comment
Please, Sign In to add comment