Subclass Form : Form : GUI Windows Forms C# Examples


C# Examples » GUI Windows Forms » Form »

 

Subclass Form









    
using  System;
using  System.Drawing;
using  System.Windows.Forms;
      
class  InheritTheForm:  Form
{
          public  static  void  Main()
          {
                    InheritTheForm  form  =  new  InheritTheForm();
                    form.Text  =  "Inherit  the  Form";
                    form.BackColor  =  Color.White;
      
                    Application.Run(form);
          }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo GUI Windows Forms
» Form