Forms in C#

Windows Forms are used to create the GUIs for programs.
A Form is a graphical element that appears on computer’s desktop; it can be a dialog or a window.
A control, such as a Button or Label, has a graphical representation at runtime. However, some components lack graphical representations (e.g. Timer ) 



Windows Forms Properties


This section will explain some useful Form properties that can be used in your application.

AcceptButton: Button that is clicked when Enter is pressed.
AutoScroll : bool value that allows or disallows scrollbars when needed.
CancelButton: Button that is clicked when the Escape key is pressed.
FormBorderStyle :Border style for the Form (e.g., none, single, three-dimensional).
Font: Font of text displayed on the Form
Text: Text is used to change the form’s label or title
Close: Closes a Form and releases all resources, such as the memory used for the Form’s content s. A closed Form cannot be reopened.
Hide: Hides a Form, but does not destroy the Form or release its resources
Show: Displays a hidden Form.

1 comment:

  1. 'Fame for the girl' in 'Fame for the girl' video - VCR
    'Fame for the girl' in 'Fame 1xbet korean for 유튜브 the girl' video - VCR Video Gaming Community หาเงินออนไลน์

    ReplyDelete