Professional Documents
Culture Documents
CS116 Week 1 Assignment
CS116 Week 1 Assignment
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.