Source/Editors/Design/MonthCalendarAdvDesigner.cs
(完整代码) 1KB#if FRAMEWORK20
using System;
using System.Text;
using System.Windows.Forms.Design;
using DevComponents.Editors.DateTimeAdv;
using System.Drawing;
namespace DevComponents.Editors.Design
{
/// <summary>
/// Represents Windows Forms designer for MonthCalendarAdv control.
/// </summary>
public class MonthCalendarAdvDesigner : ControlDesigner
{
#region Private Variables
#endregion
#region Constructor
#endregion
#region Internal Implementation
public override void InitializeNewComponent(System.Collections.IDictionary defaultValues)
{
MonthCalendarAdv mc = this.Control as MonthCalendarAdv;
if (mc != null)
{
mc.BackgroundStyle.BackColor = SystemColors.Window;
mc.BackgroundStyle.Border = DevComponents.DotNetBar.eStyleBorderType.Solid;
mc.BackgroundStyle.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
mc.BackgroundStyle.BorderWidth = 1;
mc.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
mc.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
mc.NavigationBackgroundStyle.BackColorGradientAngle = 90;
mc.AutoSize = true;
}
base.InitializeNewComponent(defaultValues);
}
#endregion
}
}
#endif
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。