A form-based Windows Skeleton : Introduction « GUI Windows Forms « C# / CSharp Tutorial






using System; 
using System.Windows.Forms; 
 
class WinSkel : Form { 
 
  public WinSkel() { 
    Text = "A Windows Skeleton"; 
  }   
 
  [STAThread] 
  public static void Main() { 
    WinSkel skel = new WinSkel();
    Application.Run(skel); 
  } 
}








23.1.Introduction
23.1.1.Empty FormEmpty Form
23.1.2.First Window ApplicationFirst Window Application
23.1.3.A form-based Windows Skeleton
23.1.4.Exit application
23.1.5.Button click handlerButton click handler
23.1.6.Use Application.Run to load window application
23.1.7.Subclass Form to create a window
23.1.8.Essential elements of a Windows Forms application.