How to Add Windows Forms

Submitted by: 
Visitors have accessed this post 10149 times.

Before we begin binding our database using Windows Form please take a look on this tutorial on how to add new windows forms to your project. Windows Forms serves as a container for all the controls that you’d like to add. Examples are TextBox, Label, Button, CheckBox, ComboBox, etc. When you create a new project, visual studio automatically provides you one windows forms which you can use right away, run it, or compile or project but without anything in it. It just a plain form waiting to be filled with controls. To add a Windows Form

  • In Solution Explorer, right-click your project, point to Add, and then click Windows Form.


  • Click Project Menu, click Add Windows Form. Add Windows Forms
  • Type the name of the form. This is the filename when you open it in windows explorer. Windows Form name

If you notice, I have a prefix for Books form. Microsoft advice that you must use a proper naming convention for every control. In this case Forms has always a prefix of “frm” Our next topic is on How to Select Startup Form Back to Visual Basic .NET 2008 Tutorial.


download thank you !

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.