A Objective
This UI library was completed by the previous company (several years ago). At that time, mainly for the development of the company's internal ERP system, redesigned to achieve all the use of the WinForm build, including form forms 6 (support skin), the base control of 25. There are many references to other open source components, and several are integrated with others ' components, and then made some adjustments.
Now for several years do not do WinForm development, tidy up the share out, hope to be able to give some help to the friends. In Win8, Win10 run is no big problem, as if there is a small write redraw bug, it should be a very easy to solve the problem, did not continue to delve into it.
Two Form Components 2.1 BaseForm The underlying form controls, the forms are completely redrawn, and the extensibility is good. All other forms form builds inherit the component. :
2.2 The form Errorbox of the error exception message is displayed, mainly in the global exception display error message, with the following:
2.3 PopBox, similar to the QQ pop-up window of the lower-right corner of the popup form, you can customize the content:
2.4 Waiting for the form, the user executes the form that waits for the time-consuming operation to display, implements the calling interface on the BaseForm, uses very simple, the instance code:
private void Txbutton7_click (object sender, EventArgs e) {this . Waiting (() = { System.Threading.Thread.Sleep (12000); });
(The actual picture is a GIF dynamic graph, here is static):
2.5 MessageBox, including message prompts, warning prompts, error prompts, and query prompts, is also available in the Basefrom, using very simple
private void Txbutton3_click (object sender, EventArgs e) {this . Info ("Prompt message! "); } private void Txbutton5_click (object sender, EventArgs e) {this . Warning ("Sir, please be self-respecting!" "); } private void Txbutton6_click (object sender, EventArgs e) {this . Error ("Error! "); } private void Txbutton8_click (object sender, EventArgs e) {this . Question ("Are you sure you want to quit?" "); }
:
2.6 main form, main form more than two things: a) similar to Office2007 Crystal logo button, b) skin control,:
Three Base controls
The 3.1 docking component, which is the control for the dock layout, comes from the open source component of the Web, and can be viewed in detail.
3.2 Txtreecombobox, tree drop-down Select the control, which displays the full path value of the selected node and its parent node by default in the selection box, such as the binding code:
This.txTreeComboBox1.DataSource = Testdata.gettreedata (ten); This.txTreeComboBox1.MultiLevelDataSourceMember = "Users"; This.txTreeComboBox1.DisplayMember = "Name"; This.txTreeComboBox1.ValueMember = "Value"; This.txTreeComboBox1.BindData ();
3.3 Multiselectcombobox under Lado control,:
3.4 Templatelistview list Data rendering control, powerful, this was originally done by another colleague, on the basis of encapsulation. Effect preview:
Visual column field binding method:
3.5 TreeListView Tree-shaped list
3.6 Thumbnialview Thumbnail List control
3.7 Txbutton General button, mainly redrawing the appearance of the button, you can set the fillet, icon, etc.
3.8 Txcheckbox check box
3.9 Txcombobox drop-down selection box
3.10 Txdatetimepicker Date Selection control, there appears to be a small bug in the WIN10
3.11 Txgroupbox re-painted the original GroupBox, there are more display control, support a group of QQ effect,
3.12 Txhtmleditor HTML Editor, this build from the network, on its basis to improve and add some features, such as HTML source code editing, effect preview, image upload and so on.
3.13 Txlistview List, inherited from the ListView, is mainly the appearance of the extended redraw. 3.4templatelistview,3.5treelistview are inherited from the Txlistview component.
3.14 MonthCalendar Calendar control, which seems to be from the network, can be based on the calendar to achieve a richer function, at the time of the project is to achieve a daily price, activity rendering operations and other needs.
3.15 Txpager pagination control, working with lists
3.16 Txpander, Txpanderpanellist This is a container control that is similar to the Outlook style for shrinking, layout, mainly from the network.
3.17 Txpanel can be shrunk, closed, and a panel control that contains a caption
3.18 Txradiobutton Single-selection controls
The 3.19 txrangevalue multi-scope setup component, which is part of the business component.
3.20 Txtabcontrol inherited from the Microsoft TabControl, mainly to do a comparison of the beautification process, you can set a variety of styles, colors
3.21 Txtablelayoutpanel, this is the WinForm in the more commonly used layout control, inherited from the TableLayoutPanel of Microsoft, mainly to solve the scroll bar display problem
3.22 txtextbox, text input box
3.23 Txtoolbar Toolbar
3.24 Txtoolstrip status bar
3.25 Menu
Four download paths:
File compression after 21Mb, more than the blog park upload file size (10MB) so it was uploaded to the csdn (not points) http://download.csdn.net/detail/an_ding/8981365
All rights reserved, article source: http://www.cnblogs.com/anding/p/4715440.html
WinForm development of a full set of 31 UI components open source sharing