Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Forms Introduction

Similar presentations


Presentation on theme: "Windows Forms Introduction"— Presentation transcript:

1 Windows Forms Introduction

2 Creating a Project

3 Starting Point

4 Form Window Minimize Maximize Close System.Windows.Forms.Form

5 Opening Code View Right mouse click

6 Where are my codes?

7 In the background (Form1.cs)
Base class - What is Partial?

8 In the background (Form1.Designer.cs)
Comments Codes that composes form

9 TODO’s while stating a Project
Rename file name of Form1. Change properties of Form1.

10 At the right of the screen
Properties Window At the right of the screen Not : If you close the Properties Window accidentally, you may open it again from View menu.

11 Renaming a Form

12 Renames all references in the project
Renaming a Form Renames all references in the project

13 Renaming a Form Final state of the form

14 Where is Main function?

15 Running the Program Or you may execute the program by pressing F5 key

16 Form Properties

17 Form Properties BackColor WindowState BackgroundImage AcceptButton
Font FormBorderStyle Text Name GridSize Size StartPosition WindowState AcceptButton CancelButton ControlBox Icon MaximizeBox MinimizeBox ShowInTaskbar TopMost

18 Exercise Change the properties of the form and run it. Examine the differences.


Download ppt "Windows Forms Introduction"

Similar presentations


Ads by Google