In component-based programming (Visual Basic, .NET WinForms, and Delphi), a form is an easy way to create a GUI window. Component-based software engineering (CBSE (also known as Component-Based Development (CBD or Software Componentry) is a branch of the Software engineering Visual Basic ( VB) is the third-generation event-driven programming language and associated development environment (IDE from Windows Forms is the name given to the Graphical user interface application programming interface (API included as a part of Microsoft's. A form contains components and controls, which are a high-level representation of standard GUI widgets; it's easier to manipulate the high-level wrappers than to deal with the underlying API.
At design time, you place visual controls (buttons, text boxes, and the like) and non-visual components (timers, database connections, and so on) on the form. You move and size these controls and components with a mouse, and set their properties and event handlers with a special grid. In computer programming an event handler is an asynchronous callback subroutine that handles inputs received in a program
At runtime, automatically generated code creates instances of these controls and components, and sets their properties for you.