Now share with you a library of my original WinForm UI, which currently has gmform form classes, and Gmvscrollbar,gmhscrollbar,gmtrackbar,gmprogressbar, Gmrollingbar a total of 5 controls, the following first look at the forms and controls.
1. The chrome-style multi-tabbed browser implemented by the class library works as follows:
2. Run-time multi-Theme Switch example
3. Control Run Effect
The Gmform form class is implemented by intercepting Windows messages and then overriding the OnPaint () method, which directly inherits the control class, drawing all of the above elements directly with GDI +, which is not very complex.
For more information, please see the other two posts I posted on csdn:
Share a library of my own C # UI class that currently supports normal form and MDI form theme customization
[Gduui class Library] C # WinForm Control sharing
Class library and sample source code: Click here to download
Open source sharing: C # Winform UI Class library, there are several controls such as forms and TrackBar