Set Form Height : Form Properties : GUI Windows Forms C# Examples


C# Examples » GUI Windows Forms » Form Properties »

 

Set Form Height









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




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo GUI Windows Forms
» Form Properties