Form with Maximize Box : Form Properties : GUI Windows Forms C# Examples


C# Examples » GUI Windows Forms » Form Properties »

 

Form with Maximize Box








    
using  System;
using  System.Drawing;
using  System.ComponentModel;
using  System.Windows.Forms;

public  class  FormSizable  :  System.Windows.Forms.Form
{
        public  FormSizable()
        {
                this.MaximizeBox  =  true;
                this.FormBorderStyle  =  FormBorderStyle.Sizable;
        }

        static  void  Main()
        {
                Application.Run(new  FormSizable());
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo GUI Windows Forms
» Form Properties