How to Create a Mini Booking System

Submitted by: 
Visitors have accessed this post 824 times.

In this tutorial, I will teach you how to create a mini booking system in This booking system can calculate the total payments of the guest and it can do payments. This is a good start for you when you are starting programing and do some simple projects.

Creating Application

Step 1

Open Microsoft Visual Studio 2015 and create a new windows form application.

Step 2

Do the form just like shown below.

Step 3

Double Click the Form and do the following codes for adding item in the combobox in the first load of the form.

  1. With ComboBox1.Items
  2. .Add("Standard Room with TV And Electric fan (2 person)")
  3. .Add("Family Room with TV And Electric fan (6 person)")
  4. .Add("Deluxe Room with TV And Aircondition (6 person)")
  5. End With

Step 4

Go back to the design view and double click the “Calculate” button to fire the click event handler of it. Add the following code for calculating the summary of the payments.

  1. Try
  2. Dim totalprice As Double
  3. Dim personPrice As Double = Val(TextBox2.Text) * 100
  6. totalprice = Val(TextBox1.Text) + personPrice
  7. TextBox3.Text = totalprice
  10. Dim change As Double
  11. change = Val(TextBox4.Text) - Val(TextBox3.Text)
  13. TextBox5.Text = change
  16. Catch ex As Exception
  17. MsgBox(ex.Message)
  18. End Try

Step 5
This code is for the amount paid.

  1. Try
  3. Dim change As Double
  4. change = Val(TextBox4.Text) - Val(TextBox3.Text)
  6. TextBox5.Text = change
  7. Catch ex As Exception
  8. MsgBox(ex.Message)
  9. End Try

Step 6

This code is for the clear button

  1. ComboBox1.Text = "Select a Room"
  2. TextBox1.Clear()
  3. TextBox2.Clear()
  4. TextBox3.Clear()
  5. TextBox4.Clear()
  6. TextBox5.Clear()

For any questions about this article. You can contact me @

Email – [email protected]
Mobile No. – 09305235027 – TNT
FB Account –
Or feel free to comment below.

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.