Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (5)
ListBox control
no vote
Application background When the user uses the ListBox control to display data, if the data is too many, it is difficult to find the specified data in the collection. This example uses two kinds of color or two kinds of gradient colors to set the background color, so that not only can beautify the control, but also easy to find. Key Technology In this instance, the main use of the LinearGradientBrush class and Graphics class FillRectangle method for the ListBox control of the re painting, the following are the details of them.
wangxiaoke
2016-08-23
0
1
Homemade numerical text box component
no vote
Application background In when the users make financial statements, some of the text box can only fill numerical data, in order to facilitate users fill in the correct, this example made a only input numeric text box, and can be in the input value, limit the range of input, and the were rounding, rounding, etc.. Key Technology This instance is set to the property of a custom control. If you want to place the property in a category and then explain it, you can use the Browsable method in the BrowsableAttribute class to control whether the current property is displayed. Below the settings for the custom properties are described in detail.
wangxiaoke
2016-08-23
0
1
Custom transparent Button button
no vote
Application background Users in the production of the application, in order to make the button more beautiful, you can make a button. This example is achieved through the custom Windows control, and the use of the GraphicsPath class AddArc method and AddLine method to draw a rounded rectangle, so that the Studio Visual to draw the Button button control. Key Technology In the Paint control of the TransparencyButton event for the current control to re draw. Code is as follows:
wangxiaoke
2016-08-23
0
1
Custom Windows control
no vote
Application background Users in the production of the application, in order to make the button more beautiful, you can make a button. This example is achieved through the custom Windows control, and the use of the GraphicsPath class AddArc method and AddLine method to draw a rounded rectangle, so that the Studio Visual to draw the Button button control. Key Technology In the Paint control of the TransparencyButton event for the current control to re draw. Code is as follows:
wangxiaoke
2016-08-23
0
1
Beautify the radio button controls
no vote
Application background When the user uses the C# control to make the application, in order to make the interface more beautiful, more features, you can draw the style of the control. This example of a radio button control to redraw, are displayed in a custom style. Key Technology This example in beautifying the radio button controls, mainly through to redraw the radio button, realization, you first need to create a user control, and then in the user control using the graphics class drawellipse method and fillellipse method to redraw the radio button operation. The key technologies used in this example are explained in detail.(1) create a user control and use itThe steps to create a user control are as follows:Select the current project, click the right mouse button, select the "add" / "new item" command in the pop-up shortcut menu.Finally, you can use Windows as standard control, the use of user controls drag.(2) DrawEllipse methodThe method is u
wangxiaoke
2016-08-23
0
1
No more~