Windows Forms Application Components

Windows Forms Application Components
paly

This tutorial covers the basic components of a Windows Forms application, including form control objects like labels, textboxes, and buttons, as well as form properties and methods like form name, font, and closing the application.

About Windows Forms Application Components

PowerPoint presentation about 'Windows Forms Application Components'. This presentation describes the topic on This tutorial covers the basic components of a Windows Forms application, including form control objects like labels, textboxes, and buttons, as well as form properties and methods like form name, font, and closing the application.. The key topics included in this slideshow are . Download this presentation absolutely free.

Presentation Transcript


1. 3 Appication Windows Form

2. (Form) (Control) Object Label , Textbox , Button 1. (Property) 2. (Event) 3. (Method)

3. (Property)

4. Properties Form Name : Text : ( TitleBar) Size : BackColor : FormBorderStyle : Font : ForeColor :

5. Method Method : Object private void btnExit_Click(object sender, EventArgs e) { this.Close(); } method

6. Method Form Show : Method Form Property Visible = True ShowDialog : Method Form Dialog( Form ) Modal Dialog Hide : Form Activate : SetDestopLocation:

7. Event Event : Click

8. Event Form Load : Resize : SizeChanged : Unload : Click :

10. MessageBox

11. MessageBox

12. MessageBox.Show(Text [,Caption [,Button] [,Icon] [,DefaultButton]); Text : MessageBox Caption : Messagebox Buttons : Icon : DefaulButton : Defaul ( ) MessageBox

13. MessageBox

15. Message Box MessageBox ? TitleBar Yes ,No Cancel Icon

16. Message Box - CourseId, CourseName - strGrade - intPoint

17.

18. check box

19. Application Application Control

20. Radio Button

21. Property Form Control

22. Property Form Control

23. 1. (Property) Object 2. Object Propert ies 3. Property, Event , Method , Control , Proper ties Window , Solution Explorer 4. (Property) (Button) , (Label) , (TextBox) 5. Project Visual C#

Related