Windows Forms Application Components


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.
- Uploaded on | 5 Views
-
nooapakkala
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
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:
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
18. check box
19. Application Application Control
20. Radio Button
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#