intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Bài giảng Công nghệ lập trình tiên tiến: Chương 1 - ĐH Công nghệ Đồng Nai

Chia sẻ: Na Na | Ngày: | Loại File: PPTX | Số trang:59

104
lượt xem
9
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

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.

Chủ đề:
Lưu

Nội dung Text: Bài giảng Công nghệ lập trình tiên tiến: Chương 1 - ĐH Công nghệ Đồng Nai

  1. DONG NAI UNIVERSITY OF TECHNOLOGY Metro 1
  2. DONG NAI UNIVERSITY OF TECHNOLOGY Creating User Interface Using custom components Ø Creating your own control Ø Using 3rd controls 2
  3. DONG NAI UNIVERSITY OF TECHNOLOGY 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. 3
  4. DONG NAI UNIVERSITY OF TECHNOLOGY 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. 4
  5. DONG NAI UNIVERSITY OF TECHNOLOGY 1. User control vs Custom control Ø Example : custom control q 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 5
  6. DONG NAI UNIVERSITY OF TECHNOLOGY 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; } } 6
  7. DONG NAI UNIVERSITY OF TECHNOLOGY 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
  8. DONG NAI UNIVERSITY OF TECHNOLOGY 2.1 Introduce some common .NET Components Ø DotNetBar Ø Infragistics Ø Xceed Studio Ø PureComponent Ø Componentone Studio – Grid .Net component – Skin .Net Component 8
  9. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Infragistics http://www.infragistics.com/products/default.aspx 9
  10. DONG NAI UNIVERSITY OF TECHNOLOGY 10
  11. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Syncfusion Essential Grid for Windows Forms http://www.syncfusion.com/products/user-interface-edition/window 11
  12. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Syncfusion Essential Grid for 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), ASP.NET and Tablet PC. Infragistics NetAdvantage is comprised of all major interface elements including grids, scheduling, charting, toolbars, menus, listbars, trees, tabs, explorer bars, UI and editors. Includes .NET source code with Subscription options. 12
  13. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Xceed Studio http://xceed.com All List product are in here: http://xceed.com/pages/TopMenu/Products/ProductSearch.aspx?Lang=EN-CA 13
  14. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Xceed Studio: Compression 14
  15. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Xceed Studio: Networking Ø Xceed Studio: Encryption 15
  16. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Xceed Studio: Winform 16
  17. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Componentone Studio http://www.componentone.com/SuperProducts/ 17
  18. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Componentone Studio 18
  19. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Dotnetbar 19
  20. DONG NAI UNIVERSITY OF TECHNOLOGY Ø Dotnetbar http://www.devcomponents.com/products.aspx DotNetBar for Windows Forms Essential Icon Pack DotNetBar for Silverlight HTML-Document Component DotNetBar for WPF HTML Help COM Assistant Professional Icon Pack 20
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2