0% found this document useful (0 votes)
43 views2 pages

Windows Form Controls Overview

The document describes properties and methods for common controls in Windows Forms applications, including forms, buttons, text boxes, labels, check boxes, radio buttons, picture boxes, timers, and group boxes. For each control, it lists properties that configure aspects like text, colors, sizes, and events, as well as common methods. Controls allow building graphical user interfaces by arranging visual elements and handling user interactions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views2 pages

Windows Form Controls Overview

The document describes properties and methods for common controls in Windows Forms applications, including forms, buttons, text boxes, labels, check boxes, radio buttons, picture boxes, timers, and group boxes. For each control, it lists properties that configure aspects like text, colors, sizes, and events, as well as common methods. Controls allow building graphical user interfaces by arranging visual elements and handling user interactions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1.

Forms

Property/Method Description
[Link] Gets or sets the background color of the form.
[Link] Gets or sets the text displayed in the form's title bar.
[Link] Gets or sets the width of the form.
[Link] Gets or sets the height of the form.
[Link] Displays the form as a modal dialog box.

2. Button

Property/Method Description
[Link] Gets or sets the text displayed on the button.
[Link] Gets or sets whether the button is enabled.
[Link] Gets or sets the background color of the button.
[Link] Event that occurs when the button is clicked.
[Link] Sets input focus to the button.

3. TextBox

Property/Method Description
[Link] Gets or sets the text in the textbox.
[Link] Gets or sets whether the textbox is read-only.
[Link] Gets or sets the maximum number of characters in the textbox.
[Link] Clears the text in the textbox.
[Link] Sets input focus to the textbox.

4. Label

Property/Method Description
[Link] Gets or sets the text displayed in the label.
[Link] Gets or sets the text color of the label.
[Link] Gets or sets the font used for the label's text.
[Link] Gets or sets the alignment of the label's text.
[Link] Gets or sets whether the label automatically sizes itself.

5. CheckBox

Property/Method Description
[Link] Gets or sets the text displayed next to the checkbox.
[Link] Gets or sets whether the checkbox is checked.
[Link] Gets or sets whether the checkbox is enabled.
[Link] Event that occurs when the checkbox is checked or unchecked.
[Link] Sets input focus to the checkbox.
6. Radio Button

Property/Method Description
[Link] Gets or sets the text displayed next to the radio button.
[Link] Gets or sets whether the radio button is checked.
[Link] Gets or sets whether the radio button is enabled.
[Link] Gets or sets the text color of the radio button.
[Link] Event that occurs when the radio button is checked or unchecked.

7. Picture Box

Property/Method Description
[Link] Gets or sets the image displayed in the picture box.
[Link] Gets or sets how the image is displayed within the picture box.
[Link] Gets or sets the background color of the picture box.
[Link] Gets or sets the size of the picture box.
[Link] Gets or sets the border style of the picture box.

8. Timer

Property/Method Description
[Link] Gets or sets whether the timer is running.
[Link] Gets or sets the interval between timer ticks (ms).
[Link] Event that occurs when the timer interval elapses.
[Link]() Starts the timer.
[Link]() Stops the timer.

9. Group Box

Property/Method Description
[Link] Gets or sets the text displayed in the group box's header.
[Link] Gets or sets whether the group box is enabled.
[Link] Gets or sets the background color of the group box.
[Link] Gets or sets the size of the group box.
[Link] Gets or sets the padding inside the group box.

You might also like