- switch It is design (RTL) implemented in verilog and have a verification environment in verilog
- 5 dm9000网卡驱动开发源码
- dijkstra-labeling-method MATLAB源码
- pinctrl-sun7i-a20 Allwinner A20 SoCs pinctrl driver.
- Valuation Of Cash Flows through Investment Analysis
- code jt动量效应实证代码matlab版本 还包括sas代码(JT momentum effect empirical )
文件名称:CustomGroupBox
-
所属分类:
- 标签属性:
- 上传时间:2015-06-15
-
文件大小:16.84kb
-
已下载: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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CustomGroupBox/App.config
CustomGroupBox/CustomControls1.csproj
CustomGroupBox/CustomControls1.sln
CustomGroupBox/CustomControls1.v12.suo
CustomGroupBox/CustomGroupBox.cs
CustomGroupBox/Form1.cs
CustomGroupBox/Form1.Designer.cs
CustomGroupBox/Form1.resx
CustomGroupBox/PanelTransparent.cs
CustomGroupBox/Program.cs
CustomGroupBox/Properties/
CustomGroupBox/Properties/AssemblyInfo.cs
CustomGroupBox/Properties/Resources.Designer.cs
CustomGroupBox/Properties/Resources.resx
CustomGroupBox/Properties/Settings.Designer.cs
CustomGroupBox/Properties/Settings.settings
CustomGroupBox/SkinSettings.cs
CustomGroupBox/CustomControls1.csproj
CustomGroupBox/CustomControls1.sln
CustomGroupBox/CustomControls1.v12.suo
CustomGroupBox/CustomGroupBox.cs
CustomGroupBox/Form1.cs
CustomGroupBox/Form1.Designer.cs
CustomGroupBox/Form1.resx
CustomGroupBox/PanelTransparent.cs
CustomGroupBox/Program.cs
CustomGroupBox/Properties/
CustomGroupBox/Properties/AssemblyInfo.cs
CustomGroupBox/Properties/Resources.Designer.cs
CustomGroupBox/Properties/Resources.resx
CustomGroupBox/Properties/Settings.Designer.cs
CustomGroupBox/Properties/Settings.settings
CustomGroupBox/SkinSettings.cs
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.