Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 6 - Hồ Hoàn Kiếm
Số trang: 15
Loại file: ppt
Dung lượng: 1.12 MB
Lượt xem: 10
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 6 do Hồ Hoàn Kiếm biên soạn trình bày về lập trình với Winform; Events và EventHandler; Event Handling; các control cơ bản; giao diện; từ khóa this. Bài giảng hữu ích với các bạn chuyên ngành Công nghệ thông tin và những bạn quan tâm tới lĩnh vực này.
Nội dung trích xuất từ tài liệu:
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 6 - Hồ Hoàn KiếmLậptrìnhtrênWindows vớiMicrosoft® .NET Giảng viên : Hồ Hoàn KiếmLập trình với Winform UserInterface ProgramLập trình với Winform Sử dụng System.Windows.Forms Dùng chung giao diện với các ứng dụng khác . Dựa trên nền tảng lập trình hướng đối tượng. Giao diện winform được kế thừa từ lớp Form Form gồm nhiều đối tượng Visual Inrterface Component ( gọi là Controls )Events và EventHandlerTương tác giữa các đối tượng với ứng dụng.Event Handling When Save Clicked() Event { Display Message(“Save Button”); EventHandler }Các control cơ bản Label TextBox Button ListBox CheckedListBox ComboBoxCác control cơ bản Label PROPERTIES Methods Image Hide TabStop Show Update Events PaintCác control cơ bản TextBox Methods PROPERTIES ReadOnly Clear Passwordchar Paste MaxLength Cut Multiline Events Copy TextChanged MultilineChangedCác control cơ bản Button PROPERTIES MethodsDialogResult PerformClick TextAlign Events ClickCác control cơ bản ListBox [1] PROPERTIES Items SelectedItems MultiColumn Sorted SelectedIndex SelectedValue SelectedItem TextCác control cơ bản ListBox [2] Methods ClearSelected Events GetSelected FindString SelectedIndexChanged SetSelected SelectedValueChangedCác control cơ bản CheckedListBox PROPERTIES Methods SetItemCheckedCheckedIndices GetItemCheckedCheckedItems GetItemCheckState Events SetItemCheckState ItemCheckCác control cơ bản ComboBox PROPERTIES Methods DropDownStyle Select Focused SelectAll MaxDropDownItems Events DropDownGiao diệnTừ khóa this Sử dụng để truy cập các thành phần trong form hiện hành . this.ControlName.PropertyName this.ControlName.MethodName this.ControlName.EventName …
Nội dung trích xuất từ tài liệu:
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 6 - Hồ Hoàn KiếmLậptrìnhtrênWindows vớiMicrosoft® .NET Giảng viên : Hồ Hoàn KiếmLập trình với Winform UserInterface ProgramLập trình với Winform Sử dụng System.Windows.Forms Dùng chung giao diện với các ứng dụng khác . Dựa trên nền tảng lập trình hướng đối tượng. Giao diện winform được kế thừa từ lớp Form Form gồm nhiều đối tượng Visual Inrterface Component ( gọi là Controls )Events và EventHandlerTương tác giữa các đối tượng với ứng dụng.Event Handling When Save Clicked() Event { Display Message(“Save Button”); EventHandler }Các control cơ bản Label TextBox Button ListBox CheckedListBox ComboBoxCác control cơ bản Label PROPERTIES Methods Image Hide TabStop Show Update Events PaintCác control cơ bản TextBox Methods PROPERTIES ReadOnly Clear Passwordchar Paste MaxLength Cut Multiline Events Copy TextChanged MultilineChangedCác control cơ bản Button PROPERTIES MethodsDialogResult PerformClick TextAlign Events ClickCác control cơ bản ListBox [1] PROPERTIES Items SelectedItems MultiColumn Sorted SelectedIndex SelectedValue SelectedItem TextCác control cơ bản ListBox [2] Methods ClearSelected Events GetSelected FindString SelectedIndexChanged SetSelected SelectedValueChangedCác control cơ bản CheckedListBox PROPERTIES Methods SetItemCheckedCheckedIndices GetItemCheckedCheckedItems GetItemCheckState Events SetItemCheckState ItemCheckCác control cơ bản ComboBox PROPERTIES Methods DropDownStyle Select Focused SelectAll MaxDropDownItems Events DropDownGiao diệnTừ khóa this Sử dụng để truy cập các thành phần trong form hiện hành . this.ControlName.PropertyName this.ControlName.MethodName this.ControlName.EventName …
Tìm kiếm theo từ khóa liên quan:
Lập trình trên Windows với Microsoft® .NET Control cơ bản Event Handling Lập trình với Winform Sử dụng System.Windows.Forms Giao diện winformTài liệu liên quan:
-
Lecture Web design and development: Lesson 12
26 trang 25 0 0 -
Lecture Introduction to computing - Lesson 32: Event handling
47 trang 24 0 0 -
Lecture Web design and development: Lesson 13
35 trang 20 0 0 -
Lecture Web design and development: Lesson 11
33 trang 16 0 0 -
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 1 - Hồ Hoàn Kiếm
19 trang 14 0 0 -
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 10 - Hồ Hoàn Kiếm
11 trang 12 0 0 -
Bài giảng Lập trình trên Windows với Microsoft.NET: Bài 6 - ThS. Trần Bá Nhiệm
15 trang 12 0 0 -
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 5 - Hồ Hoàn Kiếm
20 trang 12 0 0 -
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 7 - Hồ Hoàn Kiếm
19 trang 10 0 0 -
Bài giảng Lập trình trên Windows với Microsoft® .NET: Bài 8 - Hồ Hoàn Kiếm
14 trang 9 0 0