Sie sind auf Seite 1von 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.

Das könnte Ihnen auch gefallen