70 likes | 151 Views
Simple Windows Applications. October 24, 2005. First Steps. Open a new project make it a windows application, not console View --> Designer View --> Toolbox be sure to press the toolbox pushpin Drag and Drop controls from the toolbox change their default values in the design box
E N D
Simple Windows Applications October 24, 2005
First Steps • Open a new project • make it a windows application, not console • View --> Designer • View --> Toolbox • be sure to press the toolbox pushpin • Drag and Drop controls from the toolbox • change their default values in the design box • change the Name and default Text
Working with Button controls • Be sure to rename the button • Double-Clicking the button in "design view" sends you into "code view", and writing the "button click" handling event
the Timer control • does not create anything visible • be sure to set these properties: • Interval (default is 100, = 1/10 of second) • Name • Enabled (default is false) • Double Click to write the code for when the timer goes off.