Lec8 - Lecture 8: Building a C# Windows Application PIC 10C...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Lecture 8: Building a C# Windows Application PIC 10C Todd Wittman C# Windows Application s A windows application allows you to build a graphical user interface (GUI) for your program. s You lay out the controls you want on a form in design mode. You then define actions or callbacks for the events in the corresponding cs file. s When you create a new project, select C# Windows Application. s This will automatically create a blank form called Form1. s Every form has two parts: Design Window and Source File. s You can create multiple forms within the same project. Today we'll just deal with one simple form.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 The Toolbox s In the design window, you should see a Toolbox that lists the available controls. (If you don't see it, select at top View -> Toolbox.) s To add a control to your form, just drag and drop or double-click the control name. s We will eventually learn how to use all the different controls. Today we will focus on the three most common controls: s Label (displays text on form)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Lec8 - Lecture 8: Building a C# Windows Application PIC 10C...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online