Sie sind auf Seite 1von 43

1 | P a g e

Table of Contents
1.0 INTRODUCTION ............................................................................................................................ 2
1.1 Project Background ....................................................................................................................... 2
1.2 Objective ....................................................................................................................................... 3
1.3 Scopes ........................................................................................................................................... 3
1.3.1 Project Scopes ........................................................................................................................ 3
1.3.2 User Scopes ............................................................................................................................ 3
2.0 RESEARCH AND METHODOLOGY ............................................................................................ 4
2.1 Research ........................................................................................................................................ 4
2.1.1 Research for information gathering ........................................................................................... 4
2.1.2 Research on development tools .............................................................................................. 5
2.2 Methodology ................................................................................................................................. 6
3.0 ANALYSIS AND DESIGN............................................................................................................ 10
3.1 Analysis....................................................................................................................................... 10
3.2 Project Requirement .................................................................................................................... 11
3.2.1 Customer/User Requirement Specification .......................................................................... 11
3.3 Modelling .................................................................................................................................... 12
3.3.1 Use Case Diagram ................................................................................................................ 13
3.4 Database Design .......................................................................................................................... 14
3.5 User Interface Design (Storybroad) ............................................................................................ 16
3.6 Development Specification ......................................................................................................... 18
4.0 TESTING AND IMPLEMENTATION .......................................................................................... 19
4.1 Testing Level .............................................................................................................................. 19
4.4.1 Unit Testing ......................................................................................................................... 19
4.1.2 Integration Testing ............................................................................................................... 19
4.2 System Testing- Testing strategy ................................................................................................ 20
4.3 Screen Shot of the System .......................................................................................................... 22
5.0 CONCLUSION ............................................................................................................................... 24
5.1 Suggestion and Recommendation ............................................................................................... 24
6.0 REFERENCES ............................................................................................................................... 25
7.0 APPENDICES ................................................................................................................................ 26
7.1 System coding ............................................................................................................................. 26
2 | P a g e



1.0 INTRODUCTION

1.1 Project Background

Langkawi Island is one of the famous Islands in Asia where it has been nicknamed as
the Caribbean of The East, is a cluster of isles basking languidly in glistening waters.
Langkawis island is also home to people renowned for their gentle smiles and warm
hospitality. Langkawi Island as the one of the main attraction for tourists; its need own
system to provide detailed information overall about the Island. Langkawi Island Information
System is chosen for this tourism information purpose. The aim for came out with this system
is based on the Island website to provide information to tourist about the Island.

The system is developing to provide clear and standard information about the
Langkawi Island as there are many website that provide different information about the
Island. The information that included in this system is about the basic information, contact
details, and maps of the Langkawi Island. This system also provide the hotels and
accommodation details as the Island is most wanted Island for vacation and holiday for local
and foreign tourists. Besides, the system also provides the information about the restaurant
and activities that available for the tourists in the Island. This Langkawi Islands Information
System also provides the comments column where user can leave their comments about the
Island. The purpose of the comments column is to get feedback from user improve the
tourism system in that Island. There is also some contact detailed provided in this system as it
make easier to user find a local tourism agency.

Langkawi Island Information System was developed by using Microsoft Visual
Studio 2010 and Microsoft Office Access 2007. Microsoft Visual Studio 2010 is using to
designing and developing the system that includes designing for the system interfaces and
3 | P a g e

programming code. Microsoft Office Access 2007 is using to develop a database to the
system as it act as the information storage for the system.

1.2 Objective

The main objective to develop this system is to provide the information about the
Island and allow the user to access the information. Moreover, the system also will save
time and cost of the user as its provide all the information about the island in one single
application. Finally, this system also develops to improve the tourism information in more
systematic method.

1.3 Scopes

1.3.1 Project Scopes

The management on developing this system is about one and half month as the due
date is on 6
th
June 2014. The software used to develop this system was Microsoft Visual
Studio 2010 for the interfaces designing and coding developing. Also, Microsoft Office
Access 2007 for database designing and storage. The programming language that used to
develop this system is vb.net. This system is available offline as all the information is
providing within the system.


1.3.2 User Scopes

User
The users for this system are the tourists from local and foreign country. Where the
tourists can access to viewing the information, get details about the hotels, restaurants,
activities, and etc. The user also can leave their comments about the Islan
4 | P a g e

2.0 RESEARCH AND METHODOLOGY

In order to develop a system, research and methodology plays an importance role. This
phase is use to make sure that the system is developed based on the requirement. According
to The Advanced Learners Dictionary, research is a careful investigation or inquiry
especially through research for new facts in any branch of knowledge. Research is the
systematized effort to gain new knowledge, (Redmen & Mory, 2009).

A methodology is a collection of procedures, techniques, tools and documentation aids
which will help the systems developers in their efforts to implement a new information
system. A methodology will consist of phases, themselves consisting of sub-phases, which
will guide the system developers in their choice of the techniques that might be appropriate at
each stage of the project and also help them plan, manage, control and evaluate information
systems projects, (Avison & Fitzgerald, 1988, pg. 4).

2.1 Research

2.1.1 Research for information gathering

There are some research was carried out to develop this Langkawi Island Information System.
The researches that carried out were based on the Langkawi Tourism websites, in the purpose of
gathering information. Some of the websites that were use are www.langkawi-online.com,
www.tourism.gov.my, www.wonderfulmalaysia.com, www.langkawi1traveltours.com and
etc.
Based on the research on the websites, each website delivery the information in the
different way. Some of webpage only provide the random information and some the webpage
provide a clear and details information about the Island. The information that included in the
webpage is; about the information for hotels, restaurants, and activities that available. There
is also the information about the Langkawi Island and contact details are taken for the system.
Google Images also used for collection of Langkawi images. The information collected then
filtered and edited according to the Langkawi Island Information System.
5 | P a g e


2.1.2 Research on development tools

a) Microsoft Visual Studio 2010
Visual Studio is a comprehensive collection of tools and services to help you create a
wide variety of apps, both for the Microsoft platform and beyond. Visual Studio also
connects all of your projects, teams, and stakeholders. Now your team can work with greater
agility from virtually anywhere irrespective of development tool, including Eclipse and
Xcode. Whether youre designing mission-critical .NET apps, writing blazing fast code with
C++ AMP, or testing and debugging a cloud-connected HTML/JavaScript app that runs on
many devices, join millions of developers worldwide in choosing Visual Studio as your
essential development environment.

b) Microsoft Office Access 2007
Microsoft Office Access 2007, is a database management system application
from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical
user interface and software-development tools. Databases allow information to be organized
in rows and tables, where queries can be formed to pool data together. Access is a relatively
unknown program of the Microsoft Office Suite, but can be one of the most powerful
programs, because of its work with other Office programs, especially Word and Excel, as
well as servers outside of Microsoft, such as SQL.

Microsoft Access is supported by Visual Basic for Applications, an object-
oriented programming language that can reference a variety of objects including DAO (Data
Access Objects), ActiveX Data Objects, and many other ActiveX components. Visual objects
used in forms and reports expose their methods and properties in the VBA programming
environment, and VBA code modules may declare and call Windows operating-
system functions.
6 | P a g e


2.2 Methodology

There are many methodologies to developing software, aptly defined and designed,
which are employed during the process. These methodologies included Waterfall Model,
Spiral Model, Prototype, Agile Model and etc. Each process model follows a particular life
cycle in order to ensure success in the process of software development. The model that were
used for develop this system was Waterfall Model.

The waterfall model is probably the oldest and the best-known model in developing
system. The role of the waterfall model in system development is as important as its role in
software testing. The waterfall model is so named because it employs a top down approach
in System Development Life Cycle (SDLC). This model is designed such that until the
preceding phase is complete, the development process cannot move to the next phase of the
waterfall model. The reason for applied this model in developing Langkawi Island
Information System are because it is a very simple and clear method for using in system
developing. This method is easy to understand as each phase is clear describe that what are
step and requirement have to complete to move for next phase.
Figure 2.0 Waterfall Model
As shown in figure 2.0, there are five phases in this model, which are analysis, design,
implementation, testing and finally deployment and maintenance.

Phase 1: Analysis
7 | P a g e

Analysis is the first phase in the Waterfall Model and it also known as the Software
Requirement Specification (SRS). In this phase the project requirement will be gathering and
analyzing and its content the project requirement details. This process can be done through
observation, interview, and many other methods. The important aspect is study for the current
process because the system must follow the requirement. The requirement included
functional and non-functional requirements.

Functional requirement describe the function of the system and its component such as
the set of inputs, the behaviour and outputs. Functional requirements such as purpose, scope,
perspective, functions, software attributes, database requirements and etc as in this system
may include information updating, user feedback, information accessing and etc. Behavioural
requirements describing all the cases where the system uses the functional requirements are
captured in use cases. The non-functional requirement elaborates a performance
characteristic of the system. Non-functional requirements are sometimes defined as the
measurement of the system to make them more tangible. Non-functional requirements may
also describe aspects of the system that don't relate to its execution, but rather to its evolution
over time. These non-functional requirements are maintainability, extensibility,
documentation, etc.

Phase 2: Design
The second phase in the Waterfall Model is design. The purpose of this phase is to
create the architecture of the total system. In this phase, some of the developers will develop
a prototype of the entire software and represent the software as a miniature model. The flaws,
both technical and design can be edited and the process can be redesigned.

The requirement specifications from the first phase are studied here, and a system
design is prepared. The design helps in specifying hardware and system requirements, and
also helps in defining the overall system architecture. Its include Entity-Relationship-
Diagram (ERD) and other diagrammatic solution.

8 | P a g e

Phase 3: Implementation
The third phase in this model is implementation which also called as the development
phase. This phase is the most important phase since it is the phase where the main part of the
system is done. The progresses include the design of basic technical architecture and the
maintenance of the database records and programs related to the development process where
the actual coding will be generate here. The main progress is the implementation of the
prototype model into a full-fledged working environment, which is the final product or
system.

Phase 4: Testing
Testing is the fourth phase in Waterfall Model where sometimes it called as the
final phase of the development process. In this phase where the final adjustments are made
before delivering the completely developed system to the end-user. Each components is
developed and tested for its functionality and mainly verifies if the components meet their
specifications. The test conditions which are decided in the analysis phase are applied to the
system and if the output obtained is same to the intended output, which means the system is
ready to delivery.

The testing phase also called as the verification and validation phase. The process of
verification is means of evaluation of the system to determine the satisfaction of the
conditions imposed at the beginning of this phase. The validation process is means of
evaluation of the system to determine the satisfaction of the specification of the requirements
during development or at ending of the development process.

Phase 5: Deployment and Maintenance
The final phase for the Waterfall Model is deployment and maintenance. This
means the system is completely ready and can apply by the end-user. When the system is
being installed, the end-user will begin communication with the dealers on a need-to-know
basis, and help report any bugs that occur.
9 | P a g e


Maintenance phase in this model is virtually never-ending. Normally, the problems
with the system which that not found during the development phase, will occur when user
starts its practical use, as the issues related to the system are solved after its deployment. The
problems might arise from time to time and need to be solved; hence this process is referred
to as maintenance.





















10 | P a g e

3.0 ANALYSIS AND DESIGN

The analysis was carried out to the project requirement that been gathered and
analyzing and its content the project requirement details. This process can be done through
observation, interview, and many other methods. The important aspect is study for the current
process because the system must follow the requirement. The requirement included
functional and non-functional requirements.

For design, is the process of creating the architecture of the total system. In some
case, the developers will develop a prototype of the entire software and represent the software
as a miniature model. The flaws, both technical and design can be edited and the process can
be redesigned. The design helps in specifying hardware and system requirements, and also
helps in defining the overall system architecture. Its include Entity-Relationship-Diagram
(ERD) and other diagrammatic solution.

3.1 Analysis

Based on the analysis of the information collected, Langkawi Island is a very famous
tourism place in Asia. It is located in Kedah Darul Aman. Langkawi Island officially known
as the Jewel of Kedah is an archipelago of 104 islands in the Andaman Sea, some 30 km off
the mainland coast of north-western Malaysia.

As being observed, the system is developing to provide standard information about
the Island because all the websites used to collect information, each provide different types
of information. This system is design as the websites with the available of using offline
without internet connect as all the information is providing within the system. As stated
before, this system is design to allow the user to access information and their can leave their
comment about the Island.


11 | P a g e


3.2 Project Requirement

Generally, Langkawi Island Information System is going to be developed. It includes
the basic information about the Island, information about the main town in Langkawi, hotels
available, restaurant, activities and contact details.

The system also allows the users to leave their comment as the feedback about the
Island or may be about the system. Once the comment is post, the information will send to
the database for the storage. Below, there has been stated the requirement specification of the
project more courteously.

3.2.1 Customer/User Requirement Specification

a) Client:
System application: Langkawi Island Information System

b) Project Object
Create a system using vb.Net and Microsoft Office Access 2007. The details
of Langkawi and comment get stored in the database and able to view in the
application.
For the purpose of accessing information about Langkawi

c) Input to the system
comments by the users

d) Output by the system
Information about Langkawi Island
Images : picture and maps
Specific information about main towns, hotels, restaurants, activities, and
contacts
12 | P a g e

e) Software Required
IDE: Microsoft Visual Studio 2010
Database: Microsoft Office Access 2007
1.1.1 Function Specification

a) User of the system
Tourists

b) Functional Requirements
To allow user to access information
Save and print maps
leave comments

c) Non-functional Requirement

Usability
Allow the users to perform on necessary function. For example, access information, leave
comment and save or print maps.
Performance
This Langkawi Island Information System must be function as per the requirement such
provide the right information that related to each scopes. For example, if users click the
hotel information, the system has to display the information about hotels. This will show
either the system is successfully running well or not.

3.3 Modelling

Object-Oriented Analysis and Design (OOAD) is a software engineering approach
that models a system being modelled, and is characterized by its class its state (data
elements), and its behaviour. Various models can be created to show the static structure,
dynamic behaviour, and run-time deployment of these collaborating objects. System
modelling helps the analyst to understand the functionality of the system and models are used
13 | P a g e

to communicate with users. There are a number of different notations for representing these
models, such as the Unified Modelling Language (UML).


3.3.1 Use Case Diagram




Figure 3.3.1 Langkawi Island Information System Use Case Diagram


14 | P a g e

3.4 Database Design

Figure 3.4.1 Entity-Relationship Diagram

Above diagram show the Entity-Relationship Diagram of the VBPROJ database.
There are total five tables in the database. ID is used as the primary key for the entire table.
The relationship between the table town, restaurant, hotels and activities is Town.

Figure 3.4.2 Towns table



Figure 3.4.3 Feedback table
15 | P a g e


Figure 3.4.4 Restaurant table
Figure 3.4.5 Hotels table
Figure 3.4.6 Activities table


16 | P a g e

3.5 User Interface Design (Storybroad)











Figure 3.5.1 frmHome











Figure 3.5.2 Basic Design
Figure 3.5.3 Panel1 Designs for frmExplore






17 | P a g e








Figure
3.5.4 Panel1 Design for frmHotels










Figure 3.5.5 Panel1 Design for frmRestaurant






Figure 3.5.6 Panel1 Design for frmActivities









Figure 3.5.7 Panel1 Design for frmFeedback
18 | P a g e

Figure 3.5.8 Panel1 Design for frmContact



3.6 Development Specification

In detail, this document already provided a general description of the system,
including user characteristic, product perspective, and an overview of the requirements. In
addition, it also provided the specific requirements and functionality needed for this project,
such as user interface design, functional and performance requirements and quality attributes.

The Langkawi Island Information System module is built using the Microsoft Visual
Studio for the interface and vb.Net language for the coding. This systems database
developed using Microsoft Office Access 2007 and run in Windows environment. The
objectives of the system actually are to save time and cost of the users and to improve the
tourism information in more systematic method.







19 | P a g e

4.0 TESTING AND IMPLEMENTATION

4.1 Testing Level
4.4.1 Unit Testing

Unit testing is basically is the testing of the individual software or components or
modules. This process typically done by the individual who have knowledge in programmer
and not by the user or testers. This is because it require detailed knowledge of the internal
program design and code. For example, a normal and minor bugs fixing in the coding that
need to modify the values which wrongly entered in the coding. Normally, there will be
highlighted if there is any mistake in coding.

4.1.2 Integration Testing

Integration testing is the testing of the modules to verify combined functionality after
integration. This type of testing is especially relevant to client/server and distributed system
like what is focus on. Connection within the database and system is being tested here, either
it can function well and find out the errors in connection.









20 | P a g e


4.2 System Testing- Testing strategy

General for all forms
Button/Object Function
picFacebook redirecting to facebook page
picTwitter redirecting to twitter page
lblHome Shows Home page (frmHome)
lblAbout Shows Explore page (frmExplore)
lblHotel Shows Hotels and Accommodations page (frmHotels)
lblRestaurant Shows Restaurant page (frmRestaurant)
lblActivities Shows Activities page (frmActivities)
lblFeedback Shows Feedback page (frmFeedback)
lblContact Shows Contact page (frmContact)
lblDate/lblDateTime Shows current day and time

frmHome
Button/Object Function
btnExplore shows frmExplore form

frmExplore
Button/Object Function
btnAbout shows the basic information about Langkawi in Panel 1
btnFacts shows the Fast Facts about Langkawi in Panel 1
btnTowns
btnKuah
btnCenang
btnTengah
shows fraTown groupbox in Panel 1
Display the information of the town in Panel 2 and image in of
the town in picImage
btnVideos Plays Langkawi tourism development video

21 | P a g e

frmHotels
Button/Object Function
lstHotel
shows the name list of the hotels available in the three
main town
picMaps to show frmImage and enlarge image
picImage shows the image of the hotel selected in lstHotel
HotelsBindingsNavigator to move to previous or next data

frmRestaurant
Button/Object Function
lstRestaurant
shows the name list of the restaurant available in the
three main town
picImage
shows the image of the restaurant selected in
lstRestaurant
RestaurantBindingsNavigator to move to previous or next data

frmActivities
Button/Object Function
lstActivities
shows the name list of the activities available in the
three main town
picImage
shows the image of the restaurant selected in
lstActivities
ActivitiesBindingsNavigator to move to previous or next data

frmFeedback
Button/Object Function
btnFont
shows FontDialog Window to change font of Name, Email,
Comments
btnColour shows ColorDialog Window to change colour of Name, Email,
22 | P a g e

Comments
btnPost
to display the Name and Comments in lstComments
clear the textboxs for new entry
lstRemove to remove the Name and Comments in lstComments

frmContact
Button/Object Function
btnNumber shows contact information of the tourism agency
btnUseful
shows other useful contact information about Langkawi
Tourism
btnMaps to display the Langkawi Island Maps

4.3 Screen Shot of the System






Figure 4.3.1 Home Page





Figure 4.3.2 Explore Form
23 | P a g e







Figure 4.3.3 Hotel Form

Figure 4.3.4 Feedback Form












24 | P a g e

5.0 CONCLUSION

In conjunction of the system, it does produced good result. Basically, this
system is done with few objectives. All the objectives already successfully achieved during
this project based on the requirement given. The objective are to develop this system is to
provide the information about the Island and allow the user to access the information as the
system also will save time and cost of the user as its provide all the information about the
island in one single application. Finally, this system also develops to improve the tourism
information in more systematic method.

5.1 Suggestion and Recommendation

This system is should be further be developed as to continuously evolve from and
versions. For now, the system is using an offline system, typically which allow the users to
view and leave comments. The suggestions that can be added to the system are hotel booking
system, online payment system and etc.

Finally concluded when the system is further improved, then together with the
resources and feedback. Furthmore, lower chances of testing future would be our future goals
as we evolve the system.








25 | P a g e

6.0 REFERENCES

Jayaratna, N. (1994) Understanding and Evaluating Methodologies, A Systemic Framework,
McGraw Hill, 1994

Avison, D.E. and Fitzgerald, G. (1988) Information Systems Development: Methodologies,
Techniques And Tools, Blackwell Scientific Publications, Oxford

Redman, L. V & Mory, A. V. H. (2009). The Romance of Research. Baltimore: TheWilliams
& Wilkins Co.

Top Adventure Attractions | Tourism Malaysia
www.tourism.gov.my

Kuah Hotels - All Hotels in Kuah
www.langkawi-resorts.com

Langkawi Online - Places of Interest
www.langkawi-online.com


26 | P a g e



7.0 APPENDICES

7.1 System coding

Splash screen1
Public NotInheritable Class SplashScreen1
Private Sub SplashScreen1_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
ProgressBar1.Increment(1)
If ProgressBar1.Value = 100 Then
frmHome.Show()
Me.Close()

End If
End Sub
End Class

frmHome
Public Class frmHome
Private Sub Timer2_Tick(sender As System.Object, e As System.EventArgs) Handles
Timer2.Tick
lblDate.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub
Private Sub frmHome_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
Timer1.Enabled = True
Timer2.Enabled = True
End Sub
Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles
Timer1.Tick
' create a number between a certain value and becomes the interval
Dim max As Integer = 5000
Dim rnd As New Random
Dim rand As Integer = rnd.Next(10, max + 1)
Dim i As Integer = 1
Dim number(max - 1) As Integer
27 | P a g e

For i = 0 To max - 1
If number(i) = rand Then
rand = rnd.Next(1, max + 1)
i = -1
ElseIf number(i) = 0 Then
number(i) = rand
rand = rnd.Next(1, max + 1)
If i = max - 1 Then
Exit For
End If
i = -1
End If
Next
Timer1.Interval = number(i)
i += 1
ChangeImage()
End Sub
Private Sub ChangeImage()

Static Dim iImage1 As Integer

Select Case iImage1
Case 0

picSlide.Visible = True
picSlide.Image = My.Resources.banner1
iImage1 += 1
Case 1

picSlide.Visible = True
picSlide.Image = My.Resources.banner2
iImage1 += 1
Case 2

picSlide.Visible = True
picSlide.Image = My.Resources.banner3
iImage1 += 1
Case 3

picSlide.Visible = True
picSlide.Image = My.Resources.banner4
iImage1 += 1
Case 4

picSlide.Visible = True
picSlide.Image = My.Resources.banner5
iImage1 += 1
Case 5

picSlide.Visible = True
picSlide.Image = My.Resources.banner6
28 | P a g e

iImage1 += 1
Case 6

picSlide.Visible = True
picSlide.Image = My.Resources.banner7
iImage1 += 1
Case 7

picSlide.Visible = True
picSlide.Image = My.Resources.banner8
iImage1 += 1
Case 8

picSlide.Visible = True
picSlide.Image = My.Resources.banner9
iImage1 += 1
Case 9

picSlide.Visible = True
picSlide.Image = My.Resources.banner10
iImage1 += 1
Case 10

picSlide.Visible = True
picSlide.Image = My.Resources.banner11
iImage1 += 1
Case 11

picSlide.Visible = True
picSlide.Image = My.Resources.banner12
iImage1 = 0
End Select
End Sub

Private Sub btnExplore_Click(sender As System.Object, e As System.EventArgs) Handles
btnExplore.Click
Me.Hide()
frmExplore.Show()
End Sub

Private Sub picFacebook_Click(sender As System.Object, e As System.EventArgs)
Handles picFacebook.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://www.facebook.com/friendofmalaysia")
End Sub

Private Sub picTwitter_Click(sender As System.Object, e As System.EventArgs) Handles
picTwitter.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://twitter.com/tourismmalaysia")
End Sub
29 | P a g e


End Class


frmExplore

Public Class frmExplore
Private Sub frmExplore_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load

Timer1.Enabled = True
lblDescription.Visible = True
lblDescription1.Visible = False
lblDescription2.Visible = False
lblTown.Text = "Kuah Town"
picImage.Image = My.Resources.helang
WMPMovie.Visible = False

End Sub
Private Sub btnAbout_Click(sender As System.Object, e As System.EventArgs) Handles
btnAbout.Click
lblTitle.Visible = True
lblTitle.Text = "About Langkawi"
lblDetails.Visible = True
lblFastFacts.Visible = False
fraTowns.Visible = False
WMPMovie.Visible = False
End Sub

Private Sub btnFacts_Click(sender As System.Object, e As System.EventArgs) Handles
btnFacts.Click
lblTitle.Text = "Langkawi Fast Facts"
lblDetails.Visible = False
lblFastFacts.Visible = True
fraTowns.Visible = False
WMPMovie.Visible = False
End Sub

Private Sub lblAbout_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblAbout.LinkClicked
lblTitle.Visible = True
lblDetails.Visible = True
lblFastFacts.Visible = False
fraTowns.Visible = False
WMPMovie.Visible = False
End Sub

30 | P a g e

Private Sub btnTowns_Click(sender As System.Object, e As System.EventArgs) Handles
btnTowns.Click
lblTitle.Text = "Langkawi Main Towns"
lblDetails.Visible = False
lblFastFacts.Visible = False
WMPMovie.Visible = False
fraTowns.Visible = True

End Sub

Private Sub btnVideos_Click(sender As System.Object, e As System.EventArgs) Handles
btnVideos.Click
lblDetails.Visible = False
lblFastFacts.Visible = False
fraTowns.Visible = False
lblTitle.Text = "Langkawi Videos"
WMPMovie.Visible = True

End Sub

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles
Timer1.Tick
lblDateTime.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub
Private Sub lblHome_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHome.LinkClicked
frmHome.Show()
Me.Close()
End Sub

Private Sub btnKuah_Click(sender As System.Object, e As System.EventArgs) Handles
btnKuah.Click
lblDescription.Visible = True
lblDescription1.Visible = False
lblDescription2.Visible = False
lblTown.Text = "Kuah Town"
picImage.Image = My.Resources.helang
End Sub

Private Sub btnCenang_Click(sender As System.Object, e As System.EventArgs) Handles
btnCenang.Click
lblDescription.Visible = False
lblDescription1.Visible = True
lblDescription2.Visible = False
lblTown.Text = "Pantai Cenang"
picImage.Image = My.Resources._600_cenang
End Sub

Private Sub btnTengah_Click(sender As System.Object, e As System.EventArgs) Handles
btnTengah.Click
lblDescription.Visible = False
31 | P a g e

lblDescription1.Visible = False
lblDescription2.Visible = True
lblTown.Text = "Pantai Tengah"
picImage.Image = My.Resources.pantai_tengah_beach
End Sub


Private Sub lblContact_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblContact.LinkClicked
frmContact.Show()
Me.Close()
End Sub

Private Sub lblFeedback_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblFeedback.LinkClicked
frmFeedback.Show()
Me.Close()
End Sub

Private Sub lblHotel_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHotel.LinkClicked
frmHotel.Show()
Me.Close()
End Sub

Private Sub lblRestaurant_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblRestaurant.LinkClicked
frmRestaurant.Show()
Me.Close()
End Sub

Private Sub lblActivities_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblActivities.LinkClicked
frmActivities.Show()
Me.Close()
End Sub

Private Sub picFacebook_Click(sender As System.Object, e As System.EventArgs)
Handles picFacebook.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://www.facebook.com/friendofmalaysia")
End Sub

Private Sub picTwitter_Click(sender As System.Object, e As System.EventArgs) Handles
picTwitter.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://twitter.com/tourismmalaysia")
End Sub
32 | P a g e


Private Sub WMPMovie_Enter(sender As System.Object, e As System.EventArgs)
Handles WMPMovie.Enter

End Sub
End Class

frmHotels

Public Class frmHotel

Private Sub HotelsBindingNavigatorSaveItem_Click(sender As System.Object, e As
System.EventArgs)
Me.Validate()
Me.HotelsBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub

Private Sub frmHotel_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
'TODO: This line of code loads data into the 'VBPROJDataSet.Hotels' table. You can
move, or remove it, as needed.
Me.HotelsTableAdapter.Fill(Me.VBPROJDataSet.Hotels)
'TODO: This line of code loads data into the 'VBPROJDataSet.Hotels' table. You can
move, or remove it, as needed.
Me.HotelsTableAdapter.Fill(Me.VBPROJDataSet.Hotels)

Dim query6 = From Hotel In VBPROJDataSet.Hotels
Select Hotel.Hotel_Name
lstHotel.DataSource = query6.ToList
Timer1.Enabled = True
End Sub

Private Sub HotelsBindingNavigatorSaveItem_Click_1(sender As System.Object, e As
System.EventArgs) Handles HotelsBindingNavigatorSaveItem.Click
Me.Validate()
Me.HotelsBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs)
lblDate.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub

Private Sub lblHome_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmHome.Show()
Me.Close()
End Sub
33 | P a g e


Private Sub lblAbout_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmExplore.Show()
Me.Close()
End Sub

Private Sub Feedback_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmFeedback.Show()
Me.Close()
End Sub

Private Sub lblContact_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmContact.Show()
Me.Close()
End Sub

Private Sub MapPictureBox_Click(sender As System.Object, e As System.EventArgs)
Handles MapPictureBox.Click
frmImage.Show()
frmImage.BackgroundImage = MapPictureBox.Image
End Sub


Private Sub lblRestaurant_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblRestaurant.LinkClicked
frmRestaurant.Show()
Me.Close()
End Sub

Private Sub lblHome_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHome.LinkClicked
frmHome.Show()
Me.Close()
End Sub

Private Sub lblAbout_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblAbout.LinkClicked
frmExplore.Show()
Me.Close()
End Sub


Private Sub lblActivities_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblActivities.LinkClicked
frmActivities.Show()
Me.Close()
34 | P a g e

End Sub

Private Sub Feedback_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles Feedback.LinkClicked
frmFeedback.Show()
End Sub

End Class

frmRestaurant

Public Class frmRestaurant

Private Sub RestaurantBindingNavigatorSaveItem_Click(sender As System.Object, e As
System.EventArgs)
Me.Validate()
Me.RestaurantBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub

Private Sub frmRestaurant_Load(sender As System.Object, e As System.EventArgs)
Handles MyBase.Load
'TODO: This line of code loads data into the 'VBPROJDataSet.Restaurant' table. You
can move, or remove it, as needed.
Me.RestaurantTableAdapter.Fill(Me.VBPROJDataSet.Restaurant)
Dim query6 = From Restaurant In VBPROJDataSet.Restaurant
Select Restaurant.Name
lstRestaurant.DataSource = query6.ToList
Timer1.Enabled = True
End Sub

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs)
lblDate.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub

Private Sub lblHome_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmHome.Show()
Me.Close()
End Sub

Private Sub lblAbout_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmExplore.Show()
Me.Close()
End Sub

Private Sub Feedback_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmFeedback.Show()
35 | P a g e

Me.Close()
End Sub

Private Sub lblActivities_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblActivities.LinkClicked
frmActivities.Show()
Me.Close()
End Sub

Private Sub lblHome_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHome.LinkClicked
frmHome.Show()
Me.Close()
End Sub

Private Sub lblAbout_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblAbout.LinkClicked
frmExplore.Show()
Me.Close()
End Sub

Private Sub lblHotel_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHotel.LinkClicked
frmHotel.Show()
Me.Close()
End Sub

Private Sub Feedback_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles Feedback.LinkClicked
frmFeedback.Show()
Me.Close()
End Sub

Private Sub lblContact_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblContact.LinkClicked
frmContact.Show()
Me.Close()
End Sub

Private Sub picFacebook_Click(sender As System.Object, e As System.EventArgs)
Handles picFacebook.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://www.facebook.com/friendofmalaysia")
End Sub

Private Sub picTwitter_Click(sender As System.Object, e As System.EventArgs) Handles
picTwitter.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://twitter.com/tourismmalaysia")
End Sub
36 | P a g e

End Class

frmActivities

Public Class frmActivities

Private Sub ActivitiesBindingNavigatorSaveItem_Click(sender As System.Object, e As
System.EventArgs)
Me.Validate()
Me.ActivitiesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub

Private Sub ActivitiesBindingNavigatorSaveItem_Click_1(sender As System.Object, e As
System.EventArgs)
Me.Validate()
Me.ActivitiesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub

Private Sub frmActivities_Load(sender As System.Object, e As System.EventArgs)
Handles MyBase.Load
'TODO: This line of code loads data into the 'VBPROJDataSet.Activities' table. You can
move, or remove it, as needed.
Me.ActivitiesTableAdapter.Fill(Me.VBPROJDataSet.Activities)
Dim query6 = From Activities In VBPROJDataSet.Activities
Select Activities.Activities_Name
lstActivities.DataSource = query6.ToList
Timer1.Enabled = True

End Sub

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs)
lblDate.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub

Private Sub lblHome_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmHome.Show()
Me.Close()
End Sub

Private Sub lblAbout_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmExplore.Show()
Me.Close()
End Sub

37 | P a g e

Private Sub Feedback_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs)
frmFeedback.Show()
Me.Close()
End Sub

Private Sub lblHome_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHome.LinkClicked
frmHome.Show()
Me.Close()
End Sub

Private Sub lblAbout_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblAbout.LinkClicked
frmExplore.Show()
Me.Close()
End Sub

Private Sub lblHotel_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHotel.LinkClicked
frmHotel.Show()
Me.Close()
End Sub

Private Sub lblRestaurant_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblRestaurant.LinkClicked
frmRestaurant.Show()
Me.Close()
End Sub

Private Sub Feedback_LinkClicked_1(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles Feedback.LinkClicked
frmFeedback.Show()
Me.Close()
End Sub

Private Sub lblContact_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblContact.LinkClicked
frmContact.Show()
Me.Close()
End Sub

Private Sub picFacebook_Click(sender As System.Object, e As System.EventArgs)
Handles picFacebook.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://www.facebook.com/friendofmalaysia")
End Sub

Private Sub picTwitter_Click(sender As System.Object, e As System.EventArgs) Handles
picTwitter.Click
38 | P a g e

' Navigate to a URL.
System.Diagnostics.Process.Start("https://twitter.com/tourismmalaysia")
End Sub
End Class


frmFeedback

Public Class frmFeedback
Private Sub frmYour_Feedback_Load(sender As System.Object, e As System.EventArgs)
Handles MyBase.Load
'TODO: This line of code loads data into the 'VBPROJDataSet.Feedback' table. You can
move, or remove it, as needed.
Me.FeedbackTableAdapter.Fill(Me.VBPROJDataSet.Feedback)
'TODO: This line of code loads data into the 'VBPROJDataSet.Feedback' table. You can
move, or remove it, as needed.
Me.FeedbackTableAdapter.Fill(Me.VBPROJDataSet.Feedback)
Timer1.Enabled = True
Timer2.Enabled = True
End Sub
Private Sub lblHome_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHome.LinkClicked
frmHome.Show()
Me.Close()
End Sub

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles
Timer1.Tick
lblDate.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub

Private Sub lblContact_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblContact.LinkClicked
frmContact.Show()
Me.Close()
End Sub

Private Sub lblAbout_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblAbout.LinkClicked
frmExplore.Show()
Me.Close()
End Sub

Private Sub Timer2_Tick(sender As System.Object, e As System.EventArgs) Handles
Timer1.Tick
' create a number between a certain value and becomes the interval
Dim max As Integer = 5000
Dim rnd As New Random
Dim rand As Integer = rnd.Next(10, max + 1)
Dim i As Integer = 1
Dim number(max - 1) As Integer
39 | P a g e

For i = 0 To max - 1
If number(i) = rand Then
rand = rnd.Next(1, max + 1)
i = -1
ElseIf number(i) = 0 Then
number(i) = rand
rand = rnd.Next(1, max + 1)
If i = max - 1 Then
Exit For
End If
i = -1
End If
Next
Timer1.Interval = number(i)
i += 1
ChangeImage()
End Sub
Private Sub ChangeImage()

Static Dim iImage1 As Integer

Select Case iImage1
Case 0
picPoster.Visible = True
picPoster.Image = My.Resources.vertical_1
iImage1 += 1
Case 1
picPoster.Visible = True
picPoster.Image = My.Resources.vertical_2
iImage1 += 1
Case 2
picPoster.Visible = True
picPoster.Image = My.Resources.vertical_3
iImage1 += 1
Case 3
picPoster.Visible = True
picPoster.Image = My.Resources.vertical_4
iImage1 = 0

End Select
End Sub

Private Sub btnPost_Click(sender As System.Object, e As System.EventArgs) Handles
btnPost.Click
Dim Name As String
Dim Comment As String

Name = CStr(User_NameTextBox.Text)
Comment = CStr(CommentTextBox.Text)


40 | P a g e

lstComment.Items.Add("Username:" & Space(2) & User_NameTextBox.Text.Trim())
lstComment.Items.Add("Comments:" & Space(2) & CommentTextBox.Text.Trim())
lstComment.Items.Add("")

Me.Validate()
Me.FeedbackBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

User_NameTextBox.Clear()
E_MailTextBox.Clear()
CommentTextBox.ResetText()
User_NameTextBox.Focus()
End Sub

Private Sub btnColour_Click(sender As System.Object, e As System.EventArgs) Handles
btnColour.Click
If ColorDialog1.ShowDialog <> Windows.Forms.DialogResult.Cancel Then
User_NameTextBox.ForeColor = ColorDialog1.Color
E_MailTextBox.ForeColor = ColorDialog1.Color
CommentTextBox.ForeColor = ColorDialog1.Color
lstComment.ForeColor = ColorDialog1.Color
End If
End Sub

Private Sub btnFont_Click(sender As System.Object, e As System.EventArgs) Handles
btnFont.Click
If FontDialog1.ShowDialog <> Windows.Forms.DialogResult.Cancel Then
User_NameTextBox.ForeColor = FontDialog1.Color
E_MailTextBox.ForeColor = FontDialog1.Color
CommentTextBox.ForeColor = FontDialog1.Color
lstComment.ForeColor = FontDialog1.Color
End If
End Sub

Private Sub btnRemove_Click(sender As System.Object, e As System.EventArgs) Handles
btnRemove.Click
lstComment.Items.Remove(lstComment.SelectedItem)
End Sub


Private Sub lblHotel_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHotel.LinkClicked
frmHotel.Show()
Me.Close()
End Sub

Private Sub lblRestaurant_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblRestaurant.LinkClicked
frmRestaurant.Show()
Me.Close()
41 | P a g e

End Sub

Private Sub lblActivities_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblActivities.LinkClicked
frmActivities.Show()
Me.Close()
End Sub
Private Sub picFacebook_Click(sender As System.Object, e As System.EventArgs)
Handles picFacebook.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://www.facebook.com/friendofmalaysia")
End Sub

Private Sub picTwitter_Click(sender As System.Object, e As System.EventArgs) Handles
picTwitter.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://twitter.com/tourismmalaysia")
End Sub

Private Sub FeedbackBindingNavigatorSaveItem_Click(sender As System.Object, e As
System.EventArgs)
Me.Validate()
Me.FeedbackBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub

Private Sub FeedbackBindingNavigatorSaveItem_Click_1(sender As System.Object, e As
System.EventArgs) Handles FeedbackBindingNavigatorSaveItem.Click
Me.Validate()
Me.FeedbackBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.VBPROJDataSet)

End Sub
End Class

frmContact

Public Class frmContact
Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles
Timer1.Tick
lblDate.Text = DateTime.Now.ToString("hh:mm dddd, dd MMMM yyyy")
End Sub

Private Sub lblHome_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHome.LinkClicked
frmHome.Show()
Me.Close()
End Sub

42 | P a g e

Private Sub lblAbout_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblAbout.LinkClicked
frmExplore.Show()
Me.Close()
End Sub


Private Sub frmContact_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
lblContact1.Text = "Contacts"
lblNumber.Visible = True
lblUseful.Visible = False
picMap1.Visible = False
picMap2.Visible = False
lblClick.Visible = False
Timer1.Enabled = True
End Sub

Private Sub picMap1_Click(sender As System.Object, e As System.EventArgs) Handles
picMap1.Click
frmImage.Show()
frmImage.BackgroundImage = My.Resources.Langkawi_01
End Sub

Private Sub picMap2_Click(sender As System.Object, e As System.EventArgs) Handles
picMap2.Click
frmImage.Show()
frmImage.BackgroundImage = My.Resources.Corrected_Overview_Map
End Sub

Private Sub btnMaps_Click_1(sender As System.Object, e As System.EventArgs) Handles
btnMaps.Click
lblContact1.Text = "Langkawi Maps"
lblUseful.Visible = False
lblNumber.Visible = False
picMap1.Visible = True
picMap2.Visible = True
lblClick.Visible = True
End Sub

Private Sub btnUseful_Click_1(sender As System.Object, e As System.EventArgs)
Handles btnUseful.Click
lblContact1.Text = "Useful Number"
lblUseful.Visible = True
lblNumber.Visible = False
picMap1.Visible = False
picMap2.Visible = False
lblClick.Visible = False
End Sub

43 | P a g e

Private Sub btnContact_Click_1(sender As System.Object, e As System.EventArgs)
Handles btnContact.Click
lblContact1.Text = "Contacts"
lblNumber.Visible = True
lblUseful.Visible = False
picMap1.Visible = False
picMap2.Visible = False
lblClick.Visible = False
End Sub

Private Sub Feedback_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles Feedback.LinkClicked
frmFeedback.Show()
Me.Close()
End Sub

Private Sub lblActivities_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblActivities.LinkClicked
frmActivities.Show()
Me.Close()
End Sub

Private Sub lblRestaurant_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
lblRestaurant.LinkClicked
frmRestaurant.Show()
Me.Close()
End Sub

Private Sub lblHotel_LinkClicked(sender As System.Object, e As
System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lblHotel.LinkClicked
frmHotel.Show()
Me.Close()
End Sub

Private Sub picFacebook_Click(sender As System.Object, e As System.EventArgs)
Handles picFacebook.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://www.facebook.com/friendofmalaysia")
End Sub

Private Sub picTwitter_Click(sender As System.Object, e As System.EventArgs) Handles
picTwitter.Click
' Navigate to a URL.
System.Diagnostics.Process.Start("https://twitter.com/tourismmalaysia")
End Sub
End Class

Das könnte Ihnen auch gefallen