CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - GroupBox color
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - GroupBox color - List
[
CSharp
]
CustomGroupBox
DL : 0
A New Skin for Ye Olde GroupBox Creating a custom GroupBox in WinForms that supports skinning-Introduction When applying a dark skin theme to my Windows Forms application which used a GroupBox But as soon as I wanted to set the GroupBox.Enabled property to false, things did not look that good anymore. As can be seen in the screendump, the standard GroupBox on the right automatically chooses a black color for the disabled state: Background SkinSettings Class The skin themes are in a separate class SkinSettings, to keep the example small, it only has a few settings. It also has a ColorDisabled() method for calculating the custom disabled Color. Hide Shrink Copy Code using System using System.Drawing namespace CustomControls1 { /// <summary> /// A simple SkinSettings class. /// This could be extended to support more control colors. /// </summary> public static class SkinSettings { public static Color FormBackColor { get set } public static Color FormForeColor { get set } public s
Date
: 2026-01-01
Size
: 17kb
User
:
MahdiAttar
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.