Register  ::  Login

September 10, 2010

Forums
 
Subject: Maximize a control to the size of the form
Prev Next

Author Messages
DonUser is Offline
New Member
New Member
Posts:20


02/01/2005 10:44 AM Quote Reply  

Similar to Delphi MyControl.Align := alClient;

This maximizes a tabControl to the size of the form.

private void Form1_Resize(object sender, System.EventArgs e) {
tabControl1.Bounds = this.ClientRectangle;
}


Forums > Programming - Dotnet / Delphi > Compact Framework Code Snippets > Maximize a control to the size of the form

Quick Reply
Username:  
Subject:  
Body: