using System.Windows.Forms;
namespace Microsoft.Windows.Forms
{
///
/// 支持虚拟控件的控件
///
public partial class UIWinControl : Control, IUIWindow
{
///
/// 构造函数
///
public UIWinControl()
{
this.SetStyle(
ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.OptimizedDoubleBuffer |
ControlStyles.ResizeRedraw |
ControlStyles.SupportsTransparentBackColor, true);
this.Font = DefaultTheme.Font;
this.BackColor = DefaultTheme.BackColor;
this.ForeColor = DefaultTheme.ForeColor;
}
}
}