Inherit Form With Constructor : Form : GUI Windows Forms C# Examples


C# Examples » GUI Windows Forms » Form »

 

Inherit Form With Constructor









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




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo GUI Windows Forms
» Form