DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,45 @@
#if FRAMEWORK20
using System;
using System.Text;
using System.Windows.Forms.Design;
using DevComponents.Editors.DateTimeAdv;
using System.Drawing;
using DevComponents.DotNetBar.Rendering;
namespace DevComponents.DotNetBar.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.Class = ElementStyleClassKeys.MonthCalendarAdvKey;
//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