VP - Lab 2
VP - Lab 2
Visual Programming
Lab 2
Objectives
Open Visual Studio 2015 and explore different basic options to get a basic start.
Provide a suitable name and also select location if necessary. Click ”OK” to let Visual Studio
create your project.
Task 3: “Hello World” Project and using some Form properties
Drag and drop a label control on your form. Pick the label control from Toolbox.
Double click the form to open the Load even of your form.
Explore some Form properties (Name, Text, StartPosition, Icon, MaximizeBox, BackColor).
Add two buttons on the form and change the text of the label on their click events.
Add a new form to the existing project. Right click the project in “Solution Explorer” and use the
option Add > Windows Form.
Design the form as represented below. Do not forget to name your controls wherever needed.