Danh mục

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    
Jamona

Hỗ trợ phí lưu trữ khi tải xuống: 4,000 VND Tải xuống file đầy đủ (15 trang) 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à EventHandlerTươ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ài liệu được xem nhiều: