Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Bài giảng Công nghệ lập trình tiên tiến: Chương 1 - ĐH Công nghệ Đồng Nai
Đang chuẩn bị liên kết để tải về tài liệu:
Bài giảng Công nghệ lập trình tiên tiến: Chương 1 - ĐH Công nghệ Đồng Nai
Thụy Trâm
99
59
pptx
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Bài giảng Công nghệ lập trình tiên tiến: Chương 1 trình bày các nội dung kiến thức về thiết kế giao diện với Custom Component. Tham khảo nội dung bài giảng để hiểu rõ hơn về các nội dung trên. | Metro 1 Creating User Interface Using custom components Creating your own control Using 3rd controls 2 1. User control vs Custom control "Custom" Controls: (Extending an existing control) – Extends an existing control with additional features – Typically derive from RichControl – The best approach to build a control library – This example of a "Numeric up/down" control is an extension of a textbox. 1. User control vs Custom control "User" or Composite Controls: – Composes multiple existing controls into a reusable "group" – Derives from UserControl – This example of an "RGB user control" composes three labels and textboxes. Example : custom control Create simple textbox – Input data • If user enter not number show message and set focus • Change BackColor to Red if user enter value is Negative number 1. User control vs Custom control public partial class MyTextBox : TextBox { private void MyTextBox_Validating (object sender, CancelEventArgs e) { double v=0; if . | Metro 1 Creating User Interface Using custom components Creating your own control Using 3rd controls 2 1. User control vs Custom control "Custom" Controls: (Extending an existing control) – Extends an existing control with additional features – Typically derive from RichControl – The best approach to build a control library – This example of a "Numeric up/down" control is an extension of a textbox. 1. User control vs Custom control "User" or Composite Controls: – Composes multiple existing controls into a reusable "group" – Derives from UserControl – This example of an "RGB user control" composes three labels and textboxes. Example : custom control Create simple textbox – Input data • If user enter not number show message and set focus • Change BackColor to Red if user enter value is Negative number 1. User control vs Custom control public partial class MyTextBox : TextBox { private void MyTextBox_Validating (object sender, CancelEventArgs e) { double v=0; if (!double.TryParse(this.Text, out v)){ MessageBox.Show("Not valid Number"); this.Focus(); } else{ if (v < 0) this.BackColor = Color.Red; else this.BackColor = Color.White; } } } 2. Third party component 2.1 Introduce some common .NET Components 2.2. DotNetBar 2.3. Grid .NET Component 2.4. Skin .Net Component 7 2.1 Introduce some common .NET Components DotNetBar Infragistics Xceed Studio PureComponent Componentone Studio – Grid .Net component – Skin .Net Component Infragistics http://www.infragistics.com/products/default.aspx 10 Syncfusion Essential Grid for Windows Forms http://www.syncfusion.com/products/user-interface-edition/windows-forms/ Add, grid, scheduling, toolbars, menus, list bars, tree, UI and editing functionality to your .NET, Visual Studio 2010, ASP.NET and Tablet PC applications. Infragistics NetAdvantage is a comprehensive presentation layer tool set for designing commercial class user interfaces for all Microsoft development environments - Windows Forms (including Visual Studio 2010), .
TÀI LIỆU LIÊN QUAN
Bài giảng Công nghệ lập trình tiên tiến: Chương 0 - ĐH Công nghệ Đồng Nai
Bài giảng Công nghệ lập trình tiên tiến: Chương 1 - ĐH Công nghệ Đồng Nai
Bài giảng Công nghệ lập trình tiên tiến: Chương 2 - ĐH Công nghệ Đồng Nai
Bài giảng Công nghệ lập trình tiên tiến: Chương 3 - ĐH Công nghệ Đồng Nai
Bài giảng Công nghệ lập trình tiên tiến: Chương 4 - ĐH Công nghệ Đồng Nai
Bài giảng Công nghệ lập trình tiên tiến: Chương 5 - ĐH Công nghệ Đồng Nai
Bài giảng Công nghệ phần mềm: Chương 2 - Hoàng Thị Hà
Bài giảng Công nghệ CNC: Chương 5 - TS. Bùi Ngọc Tâm
Bài giảng Công nghệ Java: Chương 7 - PhD. Trần Quang Diệu
Bài giảng Nhập môn công nghệ phần mềm: chương 2 - GV. Trương Minh Thái
crossorigin="anonymous">
Đã 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.