0% found this document useful (0 votes)
4K views5 pages

CS116 Week 1 Assignment

The document provides instructions for a CS116 Week 1 assignment to create a "Hello World" program in several steps: 1) Create a Windows form project, 2) Add a label and button control, 3) Position the label and button, 4) Add an event handler to display a message when the button is clicked, and 5) Test the program and submit screenshots of the pseudocode, running code, and design mode code showing the message.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views5 pages

CS116 Week 1 Assignment

The document provides instructions for a CS116 Week 1 assignment to create a "Hello World" program in several steps: 1) Create a Windows form project, 2) Add a label and button control, 3) Position the label and button, 4) Add an event handler to display a message when the button is clicked, and 5) Test the program and submit screenshots of the pseudocode, running code, and design mode code showing the message.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

CS116

Week1Assignment

Traditionallythefirstprogramastudentlearnsinmostprogramminglanguages
iscalled"helloworld".Beginninginsection2.2ofourtextbookyouwillfindthe
basicinstructionstocreatethisinitialapplication.

1. Createaformandtitleitform1(File>New>Project).

2. Changethetextpropertytoyournamefirstprogram.

3. Addabuttoncontrol

Addalabeltodeterminewhatwilldisplayinthemessagespaceontheform

4. Positionthelabelandbutton,adjustingasneededforsizing.Explorethe
boundingboxabilitiestoseewhatoptionsareavailable.

5. Next,youwilladdaneventhandler(aprocessthatisexecuteduponan
event)todisplaythemessagewhenthebuttonisclicked.

ClickDebugandStarttotestandrunyourapplication.

Feelfreetocustomizethemessagebutbesureitincludesthewordshello
world.
Youhavewrittenyourfirstprogram!

Submitascreenshotofyourpseudocode/flowchart,thecodeinrunmode,and
oneindesignmodeshowingthemessage.

You might also like