Create Form by inheriting System.Windows.Forms.Form : Introduction « GUI « VB.Net Tutorial






Create Form by inheriting System.Windows.Forms.Form
imports System.Windows.Forms

namespace WinForms
  public class HelloWorld : inherits System.Windows.Forms.Form
    public sub New()
            Text = "Hello World"
    end sub

    shared sub Main() 
      Application.Run(new HelloWorld())
    end sub
  end class
end namespace








14.1.Introduction
14.1.1.Your first Form window
14.1.2.Create Form by inheriting System.Windows.Forms.FormCreate Form by inheriting System.Windows.Forms.Form
14.1.3.Add button to a formAdd button to a form
14.1.4.Control Dock: Top, BottomControl Dock: Top, Bottom
14.1.5.Button PerformClick MethodButton PerformClick Method
14.1.6.Use With statement to set Form propertiesUse With statement to set Form properties
14.1.7.Essential elements of a Windows Forms application.
14.1.8.Using Controls in a Windows Forms Application