Mega Code Archive

 
Categories / C# Tutorial / GUI Windows Forms
 

Set Form Width

using System.Drawing; using System.Windows.Forms;     class FormProperties {      public static void Main()      {           Form form = new Form();               form.Width          *= 2;               Application.Run(form);      } }