Bài giảng Lập trình C# 2010: Chương 2 - ĐH Công nghệ Đồng Nai

Bài giảng Lập trình C# 2010: Chương 2 trình bày các kiến thức về Windows Forms and Windows Forms Controls trình bày cách tạo form, các thuộc tính phổ biến, các thao tác cơ bản và một số nội dung khác. | 1 Object MarshalByRefObject Component Control Label Textbox Button LinkLabel ScrollableControl ContainerControl Form 2 Windows Form Popular Properties Popular Events Tab order Create Form Represents a window or dialog box that makes up an application’s user interface 3 Create Form Right Click on Project Name Choose Add Item Choose Windows Form 4 2. Enter name Windows Form “Add” button to create 5 6 Popular Properties 7 Name Description Text Gets or sets the text associated with this control Name Gets or sets the Name Size Gets or sets the size of the form. WindowState Gets or sets the form's window state. Normal; Minimized; Maximized Font Gets or sets the font of the text displayed by the control 8 Name Description StartPosition Gets or sets the starting position of the form at run time. Manual CenterScreen WindowsDefaultLocation WindowsDefaultBounds CenterParent TopMost Gets or sets a value indicating whether the form should be displayed as a topmost form. 9 Name Description FormBorderStyle Gets or sets the border style of the form None FixedSingle Fixed3D FixedDialog Sizable FixedToolWindow SizableToolWindow 10 Name Description BackColor Gets or sets the background color for the control BackGroundImage Gets or sets the background image displayed in the control MainMenuStrip Gets or sets the primary menu container for the form ForceColor Gets or sets the foreground color of the control 11 Name Description Cursor Gets or sets the cursor that is displayed when the mouse pointer is over the control Location Gets or sets the Point that represents the upper-left corner of the Form in screen coordinates Icon Gets or sets the icon for the form. Opacity Gets or sets the opacity level of the form 12 Name Description AcceptButton Gets or sets the button on the form that is clicked when the user presses the ENTER key. CancelButton Gets or sets the button control that is clicked when the user presses the ESC key 13 DEMO Windows Forms 14 Popular | 1 Object MarshalByRefObject Component Control Label Textbox Button LinkLabel ScrollableControl ContainerControl Form 2 Windows Form Popular Properties Popular Events Tab order Create Form Represents a window or dialog box that makes up an application’s user interface 3 Create Form Right Click on Project Name Choose Add Item Choose Windows Form 4 2. Enter name Windows Form “Add” button to create 5 6 Popular Properties 7 Name Description Text Gets or sets the text associated with this control Name Gets or sets the Name Size Gets or sets the size of the form. WindowState Gets or sets the form's window state. Normal; Minimized; Maximized Font Gets or sets the font of the text displayed by the control 8 Name Description StartPosition Gets or sets the starting position of the form at run time. Manual CenterScreen WindowsDefaultLocation WindowsDefaultBounds CenterParent TopMost Gets or sets a value indicating whether the form should be displayed as a topmost .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.