Commit 2fbebf77 leo GitHub 提交于

Merge pull request #1 from kwwwvagaa/master

同步
2 个父辈 44e0deea 9c28398e
正在显示 66 个修改的文件 包含 9256 行增加37 行删除
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace HZH_Controls
{
public class BasisColors
{
private static Color light = ColorTranslator.FromHtml("#f5f7fa");
public static Color Light
{
get { return light; }
internal set { light = value; }
}
private static Color medium = ColorTranslator.FromHtml("#f0f2f5");
public static Color Medium
{
get { return medium; }
internal set { medium = value; }
}
private static Color dark = ColorTranslator.FromHtml("#000000");
public static Color Dark
{
get { return dark; }
internal set { dark = value; }
}
}
}
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
public class BorderColors
{
private static Color green = ColorTranslator.FromHtml("#f0f9ea");
public static Color Green
{
get { return green; }
internal set { green = value; }
}
private static Color blue = ColorTranslator.FromHtml("#ecf5ff");
public static Color Blue
{
get { return blue; }
internal set { blue = value; }
}
private static Color red = ColorTranslator.FromHtml("#fef0f0");
public static Color Red
{
get { return red; }
internal set { red = value; }
}
private static Color yellow = ColorTranslator.FromHtml("#fdf5e6");
public static Color Yellow
{
get { return yellow; }
internal set { yellow = value; }
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
public enum BasisColorsTypes
{
Light = 1,
Medium = 2,
Dark = 3
}
public enum BorderColorsTypes
{
Green = 1,
Blue = 2,
Red = 3,
Yellow = 4
}
public enum GradientColorsTypes
{
Orange = 1,
LightGreen = 2,
Green = 3,
Blue = 4,
BlueGreen = 5,
LightViolet = 6,
Violet = 7,
Gray = 8
}
public enum LineColorsTypes
{
MoreLight = 1,
Light = 2,
Dark = 3,
MoreDark = 4
}
public enum StatusColorsTypes
{
Primary = 1,
Success = 2,
Warning = 3,
Danger = 4,
Info = 5
}
public enum TableColorsTypes
{
Green = 1,
Blue = 2,
Red = 3,
Yellow = 4,
Gray = 5
}
public enum TextColorsTypes
{
MoreLight = 1,
Light = 2,
Dark = 3,
MoreDark = 4
}
}
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
public static class ColorExt
{
#region 重置内置的颜色 English:Reset color
public static void ResetColor(
this BasisColors type,
Color light,
Color medium,
Color dark)
{
BasisColors.Light = light;
BasisColors.Medium = medium;
BasisColors.Dark = dark;
}
public static void ResetColor(
this BorderColors type,
Color green,
Color blue,
Color red,
Color yellow)
{
BorderColors.Green = green;
BorderColors.Blue = blue;
BorderColors.Red = red;
BorderColors.Yellow = yellow;
}
public static void ResetColor(
this GradientColors type,
Color[] orange,
Color[] lightGreen,
Color[] green,
Color[] blue,
Color[] blueGreen,
Color[] lightViolet,
Color[] violet,
Color[] gray
)
{
if (orange != null && orange.Length == 2)
GradientColors.Orange = orange;
if (orange != null && orange.Length == 2)
GradientColors.LightGreen = lightGreen;
if (orange != null && orange.Length == 2)
GradientColors.Green = green;
if (orange != null && orange.Length == 2)
GradientColors.Blue = blue;
if (orange != null && orange.Length == 2)
GradientColors.BlueGreen = blueGreen;
if (orange != null && orange.Length == 2)
GradientColors.LightViolet = lightViolet;
if (orange != null && orange.Length == 2)
GradientColors.Violet = violet;
if (orange != null && orange.Length == 2)
GradientColors.Gray = gray;
}
public static void ResetColor(
this LineColors type,
Color moreLight,
Color light,
Color dark,
Color moreDark)
{
LineColors.MoreLight = moreLight;
LineColors.Light = light;
LineColors.Dark = dark;
LineColors.MoreDark = moreDark;
}
public static void ResetColor(
this StatusColors type,
Color primary,
Color success,
Color warning,
Color danger,
Color info
)
{
StatusColors.Primary = primary;
StatusColors.Success = success;
StatusColors.Warning = warning;
StatusColors.Danger = danger;
StatusColors.Info = info;
}
public static void ResetColor(
this TableColors type,
Color green,
Color blue,
Color red,
Color yellow,
Color gray
)
{
TableColors.Green = green;
TableColors.Blue = blue;
TableColors.Red = red;
TableColors.Yellow = yellow;
TableColors.Gray = gray;
}
public static void ResetColor(
this TextColors type,
Color moreLight,
Color light,
Color dark,
Color moreDark)
{
TextColors.MoreLight = moreLight;
TextColors.Light = light;
TextColors.Dark = dark;
TextColors.MoreDark = moreDark;
}
#endregion
#region 获取一个内置颜色 English:Get a built-in color
/// <summary>
/// 功能描述:获取一个内置颜色 English:Get a built-in color
/// 作  者:HZH
/// 创建日期:2019-09-30 11:08:04
/// 任务编号:POS
/// </summary>
/// <param name="t">t</param>
/// <returns>颜色列表</returns>
public static Color[] GetInternalColor<T>(T t)
{
Type type = null;
if (t is BasisColorsTypes)
{
type = typeof(BasisColors);
}
else if (t is BorderColorsTypes)
{
type = typeof(BorderColors);
}
else if (t is GradientColorsTypes)
{
type = typeof(GradientColors);
}
else if (t is LineColorsTypes)
{
type = typeof(LineColors);
}
else if (t is StatusColorsTypes)
{
type = typeof(StatusColors);
}
else if (t is TableColorsTypes)
{
type = typeof(TableColors);
}
else if (t is TextColorsTypes)
{
type = typeof(TextColors);
}
if (type == null)
return new Color[] { Color.Empty };
else
{
string strName = t.ToString();
var pi = type.GetProperty(strName);
if (pi == null)
return new Color[] { Color.Empty };
else
{
var c = pi.GetValue(null, null);
if (c == null)
return new Color[] { Color.Empty };
else if (c is Color[])
return (Color[])c;
else
return new Color[] { (Color)c };
}
}
}
#endregion
}
}
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
public class GradientColors
{
private static Color[] orange = new Color[] { Color.FromArgb(252, 196, 136), Color.FromArgb(243, 138, 159) };
public static Color[] Orange
{
get { return GradientColors.orange; }
internal set { GradientColors.orange = value; }
}
private static Color[] lightGreen = new Color[] { Color.FromArgb(210, 251, 123), Color.FromArgb(152, 231, 160) };
public static Color[] LightGreen
{
get { return GradientColors.lightGreen; }
internal set { GradientColors.lightGreen = value; }
}
private static Color[] green = new Color[] { Color.FromArgb(138, 241, 124), Color.FromArgb(32, 190, 179) };
public static Color[] Green
{
get { return GradientColors.green; }
internal set { GradientColors.green = value; }
}
private static Color[] blue = new Color[] { Color.FromArgb(193, 232, 251), Color.FromArgb(162, 197, 253) };
public static Color[] Blue
{
get { return GradientColors.blue; }
internal set { GradientColors.blue = value; }
}
private static Color[] blueGreen = new Color[] { Color.FromArgb(122, 251, 218), Color.FromArgb(16, 193, 252) };
public static Color[] BlueGreen
{
get { return GradientColors.blueGreen; }
internal set { GradientColors.blueGreen = value; }
}
private static Color[] lightViolet = new Color[] { Color.FromArgb(248, 192, 234), Color.FromArgb(164, 142, 210) };
public static Color[] LightViolet
{
get { return GradientColors.lightViolet; }
internal set { GradientColors.lightViolet = value; }
}
private static Color[] violet = new Color[] { Color.FromArgb(185, 154, 241), Color.FromArgb(137, 124, 242) };
public static Color[] Violet
{
get { return GradientColors.violet; }
internal set { GradientColors.violet = value; }
}
private static Color[] gray = new Color[] { Color.FromArgb(233, 238, 239), Color.FromArgb(147, 162, 175) };
public static Color[] Gray
{
get { return GradientColors.gray; }
internal set { GradientColors.gray = value; }
}
}
}
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
public class LineColors
{
/// <summary>
/// The more light
/// </summary>
private static Color _MoreLight = ColorTranslator.FromHtml("#f2f6fc");
/// <summary>
/// Gets the more light.
/// </summary>
/// <value>The more light.</value>
public static Color MoreLight
{
get { return _MoreLight; }
internal set { _MoreLight = value; }
}
/// <summary>
/// The light
/// </summary>
private static Color _Light = ColorTranslator.FromHtml("#ebeef5");
/// <summary>
/// Gets the light.
/// </summary>
/// <value>The light.</value>
public static Color Light
{
get { return _Light; }
internal set { _Light = value; }
}
/// <summary>
/// The dark
/// </summary>
private static Color _Dark = ColorTranslator.FromHtml("#e4e7ed");
/// <summary>
/// Gets the dark.
/// </summary>
/// <value>The dark.</value>
public static Color Dark
{
get { return _Dark; }
internal set { _Dark = value; }
}
/// <summary>
/// The more dark
/// </summary>
private static Color _MoreDark = ColorTranslator.FromHtml("#dcdfe6");
/// <summary>
/// Gets the more dark.
/// </summary>
/// <value>The more dark.</value>
public static Color MoreDark
{
get { return _MoreDark; }
internal set { _MoreDark = value; }
}
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-09-30
//
// ***********************************************************************
// <copyright file="StatusColor.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
/// <summary>
/// 状态颜色
/// </summary>
public class StatusColors
{
/// <summary>
/// The primary
/// </summary>
private static Color _Primary = ColorTranslator.FromHtml("#409eff");
/// <summary>
/// Gets or sets the primary.
/// </summary>
/// <value>The primary.</value>
public static Color Primary
{
get { return _Primary; }
internal set { _Primary = value; }
}
/// <summary>
/// The success
/// </summary>
private static Color _Success = ColorTranslator.FromHtml("#67c23a");
/// <summary>
/// Gets or sets the success.
/// </summary>
/// <value>The success.</value>
public static Color Success
{
get { return _Success; }
internal set { _Success = value; }
}
/// <summary>
/// The warning
/// </summary>
private static Color _Warning = ColorTranslator.FromHtml("#e6a23c");
/// <summary>
/// Gets or sets the warning.
/// </summary>
/// <value>The warning.</value>
public static Color Warning
{
get { return _Warning; }
internal set { _Warning = value; }
}
/// <summary>
/// The danger
/// </summary>
private static Color _Danger = ColorTranslator.FromHtml("#f56c6c");
/// <summary>
/// Gets or sets the danger.
/// </summary>
/// <value>The danger.</value>
public static Color Danger
{
get { return _Danger; }
internal set { _Danger = value; }
}
/// <summary>
/// The information
/// </summary>
private static Color _Info = ColorTranslator.FromHtml("#909399");
/// <summary>
/// Gets or sets the information.
/// </summary>
/// <value>The information.</value>
public static Color Info
{
get { return _Info; }
internal set { _Info = value; }
}
}
}
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
public class TableColors
{
private static Color green = ColorTranslator.FromHtml("#c2e7b0");
public static Color Green
{
get { return green; }
internal set { green = value; }
}
private static Color blue = ColorTranslator.FromHtml("#a3d0fd");
public static Color Blue
{
get { return blue; }
internal set { blue = value; }
}
private static Color red = ColorTranslator.FromHtml("#fbc4c4");
public static Color Red
{
get { return red; }
internal set { red = value; }
}
private static Color yellow = ColorTranslator.FromHtml("#f5dab1");
public static Color Yellow
{
get { return yellow; }
internal set { yellow = value; }
}
private static Color gray = ColorTranslator.FromHtml("#d3d4d6");
public static Color Gray
{
get { return gray; }
internal set { gray = value; }
}
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-09-30
//
// ***********************************************************************
// <copyright file="TextColor.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls
{
/// <summary>
/// Class TextColor.
/// </summary>
public class TextColors
{
/// <summary>
/// The more light
/// </summary>
private static Color _MoreLight = ColorTranslator.FromHtml("#c0c4cc");
/// <summary>
/// Gets the more light.
/// </summary>
/// <value>The more light.</value>
public static Color MoreLight
{
get { return _MoreLight; }
internal set { _MoreLight = value; }
}
/// <summary>
/// The light
/// </summary>
private static Color _Light = ColorTranslator.FromHtml("#909399");
/// <summary>
/// Gets the light.
/// </summary>
/// <value>The light.</value>
public static Color Light
{
get { return _Light; }
internal set { _Light = value; }
}
/// <summary>
/// The dark
/// </summary>
private static Color _Dark = ColorTranslator.FromHtml("#606266");
/// <summary>
/// Gets the dark.
/// </summary>
/// <value>The dark.</value>
public static Color Dark
{
get { return _Dark; }
internal set { _Dark = value; }
}
/// <summary>
/// The more dark
/// </summary>
private static Color _MoreDark = ColorTranslator.FromHtml("#303133");
/// <summary>
/// Gets the more dark.
/// </summary>
/// <value>The more dark.</value>
public static Color MoreDark
{
get { return _MoreDark; }
internal set { _MoreDark = value; }
}
}
}
...@@ -230,6 +230,10 @@ namespace HZH_Controls.Controls ...@@ -230,6 +230,10 @@ namespace HZH_Controls.Controls
{ {
ReloadSource(); ReloadSource();
} }
if (BindingSourceEvent != null)
{
BindingSourceEvent(this, null);
}
} }
} }
...@@ -337,6 +341,7 @@ namespace HZH_Controls.Controls ...@@ -337,6 +341,7 @@ namespace HZH_Controls.Controls
{ {
Control c = row as Control; Control c = row as Control;
UCDataGridView grid = FindChildGrid(c); UCDataGridView grid = FindChildGrid(c);
if (grid != null)
lst.AddRange(grid.SelectRows); lst.AddRange(grid.SelectRows);
} }
} }
...@@ -449,13 +454,15 @@ namespace HZH_Controls.Controls ...@@ -449,13 +454,15 @@ namespace HZH_Controls.Controls
/// <summary> /// <summary>
/// Occurs when [source changed]. /// Occurs when [source changed].
/// </summary> /// </summary>
[Description("数据源改变事件"), Category("自定义")] [Description("数据源改变事件"), Category("自定义")]
public event DataGridViewEventHandler SourceChanged; public event DataGridViewEventHandler RowSourceChangedEvent;
/// <summary> /// <summary>
/// Occurs when [row custom event]. /// Occurs when [row custom event].
/// </summary> /// </summary>
[Description("预留的自定义的事件,比如你需要在行上放置删改等按钮时,可以通过此事件传递出来"), Category("自定义")] [Description("预留的自定义的事件,比如你需要在行上放置删改等按钮时,可以通过此事件传递出来"), Category("自定义")]
public event DataGridViewRowCustomEventHandler RowCustomEvent; public event DataGridViewRowCustomEventHandler RowCustomEvent;
[Description("绑定数据源后事件"), Category("自定义")]
public event EventHandler BindingSourceEvent;
#endregion #endregion
#endregion #endregion
...@@ -579,7 +586,7 @@ namespace HZH_Controls.Controls ...@@ -579,7 +586,7 @@ namespace HZH_Controls.Controls
try try
{ {
ControlHelper.FreezeControl(this.panRow, true); ControlHelper.FreezeControl(this.panRow, true);
this.panRow.Controls.Clear(); //this.panRow.Controls.Clear();
Rows = new List<IDataGridViewRow>(); Rows = new List<IDataGridViewRow>();
if (m_columns == null || m_columns.Count <= 0) if (m_columns == null || m_columns.Count <= 0)
return; return;
...@@ -797,8 +804,8 @@ namespace HZH_Controls.Controls ...@@ -797,8 +804,8 @@ namespace HZH_Controls.Controls
/// <param name="e">The <see cref="DataGridViewEventArgs" /> instance containing the event data.</param> /// <param name="e">The <see cref="DataGridViewEventArgs" /> instance containing the event data.</param>
void RowSourceChanged(object sender, DataGridViewEventArgs e) void RowSourceChanged(object sender, DataGridViewEventArgs e)
{ {
if (SourceChanged != null) if (RowSourceChangedEvent != null)
SourceChanged(sender, e); RowSourceChangedEvent(sender, e);
} }
/// <summary> /// <summary>
/// Sets the select row. /// Sets the select row.
......
...@@ -144,6 +144,8 @@ namespace HZH_Controls.Controls ...@@ -144,6 +144,8 @@ namespace HZH_Controls.Controls
/// <returns>返回true则表示已处理过,否则将进行默认绑定(通常只针对有Text值的控件)</returns> /// <returns>返回true则表示已处理过,否则将进行默认绑定(通常只针对有Text值的控件)</returns>
public void BindingCellData() public void BindingCellData()
{ {
if (DataSource != null)
{
for (int i = 0; i < Columns.Count; i++) for (int i = 0; i < Columns.Count; i++)
{ {
DataGridViewColumnEntity com = Columns[i]; DataGridViewColumnEntity com = Columns[i];
...@@ -166,6 +168,7 @@ namespace HZH_Controls.Controls ...@@ -166,6 +168,7 @@ namespace HZH_Controls.Controls
} }
} }
} }
}
/// <summary> /// <summary>
/// Handles the MouseDown event of the Item control. /// Handles the MouseDown event of the Item control.
......
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-08
//
// ***********************************************************************
// <copyright file="NavigationMenuItem.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class NavigationMenuItem.
/// </summary>
public class NavigationMenuItem : NavigationMenuItemBase
{
/// <summary>
/// The items
/// </summary>
private NavigationMenuItem[] items;
/// <summary>
/// Gets or sets the items.
/// </summary>
/// <value>The items.</value>
[Description("子项列表")]
public NavigationMenuItem[] Items
{
get { return items; }
set
{
items = value;
if (value != null)
{
foreach (var item in value)
{
item.ParentItem = this;
}
}
}
}
/// <summary>
/// Gets or sets a value indicating whether this instance has split lint at top.
/// </summary>
/// <value><c>true</c> if this instance has split lint at top; otherwise, <c>false</c>.</value>
[Description("是否在此项顶部显示一个分割线")]
public bool HasSplitLintAtTop { get; set; }
/// <summary>
/// Gets the parent item.
/// </summary>
/// <value>The parent item.</value>
[Description("父节点")]
public NavigationMenuItem ParentItem { get; private set; }
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
namespace HZH_Controls.Controls
{
public class NavigationMenuItemBase
{
/// <summary>
/// The icon
/// </summary>
private Image icon;
/// <summary>
/// Gets or sets the icon.
/// </summary>
/// <value>The icon.</value>
[Description("图标,仅顶级节点有效")]
public Image Icon
{
get { return icon; }
set { icon = value; }
}
/// <summary>
/// The text
/// </summary>
private string text;
/// <summary>
/// Gets or sets the text.
/// </summary>
/// <value>The text.</value>
[Description("文本")]
public string Text
{
get { return text; }
set { text = value; }
}
/// <summary>
/// The show tip
/// </summary>
private bool showTip;
/// <summary>
/// Gets or sets a value indicating whether [show tip].当TipText为空时只显示一个小圆点,否则显示TipText文字
/// </summary>
/// <value><c>true</c> if [show tip]; otherwise, <c>false</c>.</value>
[Description("是否显示角标,仅顶级节点有效")]
public bool ShowTip
{
get { return showTip; }
set { showTip = value; }
}
/// <summary>
/// The tip text
/// </summary>
private string tipText;
/// <summary>
/// Gets or sets the tip text
/// </summary>
/// <value>The tip text.</value>
[Description("角标文字,仅顶级节点有效")]
public string TipText
{
get { return tipText; }
set { tipText = value; }
}
/// <summary>
/// The anchor right
/// </summary>
private bool anchorRight;
/// <summary>
/// Gets or sets a value indicating whether [anchor right].
/// </summary>
/// <value><c>true</c> if [anchor right]; otherwise, <c>false</c>.</value>
[Description("是否靠右对齐")]
public bool AnchorRight
{
get { return anchorRight; }
set { anchorRight = value; }
}
/// <summary>
/// The item width
/// </summary>
private int itemWidth = 100;
/// <summary>
/// Gets or sets the width of the item.
/// </summary>
/// <value>The width of the item.</value>
[Description("宽度")]
public int ItemWidth
{
get { return itemWidth; }
set { itemWidth = value; }
}
/// <summary>
/// Gets or sets the data source.
/// </summary>
/// <value>The data source.</value>
[Description("数据源")]
public object DataSource { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HZH_Controls.Controls
{
public class NavigationMenuItemExt : NavigationMenuItemBase
{
public System.Windows.Forms.Control ShowControl { get; set; }
}
}
namespace HZH_Controls.Controls
{
partial class UCNavigationMenu
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// UCNavigationMenu
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
this.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.Name = "UCNavigationMenu";
this.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.Size = new System.Drawing.Size(529, 60);
this.ResumeLayout(false);
}
#endregion
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-08
//
// ***********************************************************************
// <copyright file="UCNavigationMenu.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HZH_Controls.Forms;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCNavigationMenu.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
[DefaultEvent("ClickItemed")]
public partial class UCNavigationMenu : UserControl
{
/// <summary>
/// Occurs when [click itemed].
/// </summary>
[Description("点击节点事件"), Category("自定义")]
public event EventHandler ClickItemed;
/// <summary>
/// The select item
/// </summary>
private NavigationMenuItem selectItem = null;
/// <summary>
/// Gets the select item.
/// </summary>
/// <value>The select item.</value>
[Description("选中的节点"), Category("自定义")]
public NavigationMenuItem SelectItem
{
get { return selectItem; }
private set { selectItem = value; }
}
/// <summary>
/// The items
/// </summary>
NavigationMenuItem[] items;
/// <summary>
/// Gets or sets the items.
/// </summary>
/// <value>The items.</value>
[Description("节点列表"), Category("自定义")]
public NavigationMenuItem[] Items
{
get { return items; }
set
{
items = value;
ReloadMenu();
}
}
/// <summary>
/// The tip color
/// </summary>
private Color tipColor = Color.FromArgb(255, 87, 34);
/// <summary>
/// Gets or sets the color of the tip.
/// </summary>
/// <value>The color of the tip.</value>
[Description("角标颜色"), Category("自定义")]
public Color TipColor
{
get { return tipColor; }
set { tipColor = value; }
}
/// <summary>
/// 获取或设置控件的前景色。
/// </summary>
/// <value>The color of the fore.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
public override System.Drawing.Color ForeColor
{
get
{
return base.ForeColor;
}
set
{
base.ForeColor = value;
foreach (Control c in this.Controls)
{
c.ForeColor = value;
}
}
}
/// <summary>
/// 获取或设置控件显示的文字的字体。
/// </summary>
/// <value>The font.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// <IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
public override Font Font
{
get
{
return base.Font;
}
set
{
base.Font = value;
foreach (Control c in this.Controls)
{
c.Font = value;
}
}
}
/// <summary>
/// The m LST anchors
/// </summary>
Dictionary<NavigationMenuItem, FrmAnchor> m_lstAnchors = new Dictionary<NavigationMenuItem, FrmAnchor>();
/// <summary>
/// Initializes a new instance of the <see cref="UCNavigationMenu"/> class.
/// </summary>
public UCNavigationMenu()
{
InitializeComponent();
items = new NavigationMenuItem[0];
if (ControlHelper.IsDesignMode())
{
items = new NavigationMenuItem[4];
for (int i = 0; i < 4; i++)
{
items[i] = new NavigationMenuItem()
{
Text = "菜单" + (i + 1),
AnchorRight = i >= 2
};
}
}
}
/// <summary>
/// Reloads the menu.
/// </summary>
private void ReloadMenu()
{
try
{
ControlHelper.FreezeControl(this, true);
this.Controls.Clear();
if (items != null && items.Length > 0)
{
foreach (var item in items)
{
var menu = (NavigationMenuItem)item;
Label lbl = new Label();
lbl.AutoSize = false;
lbl.TextAlign = ContentAlignment.MiddleCenter;
lbl.Width = menu.ItemWidth;
lbl.Text = menu.Text;
lbl.Font = Font;
lbl.ForeColor = ForeColor;
lbl.Paint += lbl_Paint;
lbl.MouseEnter += lbl_MouseEnter;
lbl.Tag = menu;
lbl.Click += lbl_Click;
if (menu.AnchorRight)
{
lbl.Dock = DockStyle.Right;
}
else
{
lbl.Dock = DockStyle.Left;
}
this.Controls.Add(lbl);
lbl.BringToFront();
}
}
}
finally
{
ControlHelper.FreezeControl(this, false);
}
}
/// <summary>
/// Handles the Click event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void lbl_Click(object sender, EventArgs e)
{
Label lbl = sender as Label;
if (lbl.Tag != null)
{
var menu = (NavigationMenuItem)lbl.Tag;
if (menu.Items == null || menu.Items.Length <= 0)
{
selectItem = menu;
while (m_lstAnchors.Count > 0)
{
try
{
foreach (var item in m_lstAnchors)
{
item.Value.Close();
m_lstAnchors.Remove(item.Key);
}
}
catch { }
}
if (ClickItemed != null)
{
ClickItemed(this, e);
}
}
else
{
CloseList(menu);
if (m_lstAnchors.ContainsKey(menu))
{
if (m_lstAnchors[menu] != null && !m_lstAnchors[menu].IsDisposed)
{
m_lstAnchors[menu].Close();
}
m_lstAnchors.Remove(menu);
}
ShowMoreMenu(lbl);
}
}
}
/// <summary>
/// Handles the MouseEnter event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void lbl_MouseEnter(object sender, EventArgs e)
{
Label lbl = sender as Label;
ShowMoreMenu(lbl);
}
/// <summary>
/// Checks the show.
/// </summary>
/// <param name="menu">The menu.</param>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
private bool CheckShow(NavigationMenuItem menu)
{
//检查已经打开的节点
if (m_lstAnchors.ContainsKey(menu))
{
CloseList(menu);
return false;
}
if (HasInCacheChild(menu))
{
if (m_lstAnchors.ContainsKey(menu.ParentItem))
{
CloseList(menu.ParentItem);
return true;
}
return false;
}
else
{
for (int i = 0; i < 1; )
{
try
{
foreach (var item in m_lstAnchors)
{
if (m_lstAnchors[item.Key] != null && !m_lstAnchors[item.Key].IsDisposed)
{
m_lstAnchors[item.Key].Close();
}
}
}
catch
{
continue;
}
i++;
}
m_lstAnchors.Clear();
return true;
}
}
/// <summary>
/// Determines whether [has in cache child] [the specified menu].
/// </summary>
/// <param name="menu">The menu.</param>
/// <returns><c>true</c> if [has in cache child] [the specified menu]; otherwise, <c>false</c>.</returns>
private bool HasInCacheChild(NavigationMenuItem menu)
{
foreach (var item in m_lstAnchors)
{
if (item.Key == menu)
{
return true;
}
else
{
if (item.Key.Items != null)
{
if (item.Key.Items.Contains(menu))
return true;
}
}
}
return false;
}
/// <summary>
/// Closes the list.
/// </summary>
/// <param name="menu">The menu.</param>
private void CloseList(NavigationMenuItem menu)
{
if (menu.Items != null)
{
foreach (var item in menu.Items)
{
CloseList(item);
if (m_lstAnchors.ContainsKey(item))
{
if (m_lstAnchors[item] != null && !m_lstAnchors[item].IsDisposed)
{
m_lstAnchors[item].Close();
m_lstAnchors[item] = null;
m_lstAnchors.Remove(item);
}
}
}
}
}
/// <summary>
/// Shows the more menu.
/// </summary>
/// <param name="lbl">The label.</param>
private void ShowMoreMenu(Label lbl)
{
var menu = (NavigationMenuItem)lbl.Tag;
if (CheckShow(menu))
{
if (menu.Items != null && menu.Items.Length > 0)
{
Panel panel = new Panel();
panel.BackColor = Color.White;
panel.Paint += panel_Paint;
panel.Padding = new System.Windows.Forms.Padding(1);
Size size = GetItemsSize(menu.Items);
var height = size.Height * menu.Items.Length + 2;
height += menu.Items.Count(p => p.HasSplitLintAtTop);//分割线
if (size.Width < lbl.Width)
size.Width = lbl.Width;
panel.Size = new Size(size.Width, height);
foreach (var item in menu.Items)
{
if (item.HasSplitLintAtTop)
{
UCSplitLine_H line = new UCSplitLine_H();
line.Dock = DockStyle.Top;
panel.Controls.Add(line);
line.BringToFront();
}
Label _lbl = new Label();
_lbl.Font = Font;
_lbl.ForeColor = this.BackColor;
_lbl.AutoSize = false;
_lbl.TextAlign = ContentAlignment.MiddleCenter;
_lbl.Height = size.Height;
_lbl.Text = item.Text;
_lbl.Dock = DockStyle.Top;
_lbl.BringToFront();
_lbl.Paint += lbl_Paint;
_lbl.MouseEnter += lbl_MouseEnter;
_lbl.Tag = item;
_lbl.Click += lbl_Click;
_lbl.Size = new System.Drawing.Size(size.Width, size.Height);
panel.Controls.Add(_lbl);
_lbl.BringToFront();
}
Point point = Point.Empty;
if (menu.ParentItem != null)
{
Point p = lbl.Parent.PointToScreen(lbl.Location);
if (p.X + lbl.Width + panel.Width > Screen.PrimaryScreen.Bounds.Width)
{
point = new Point(-1 * panel.Width - 2, -1 * lbl.Height);
}
else
{
point = new Point(panel.Width + 2, -1 * lbl.Height);
}
}
m_lstAnchors[menu] = new FrmAnchor(lbl, panel, point);
m_lstAnchors[menu].FormClosing += UCNavigationMenu_FormClosing;
m_lstAnchors[menu].Show(this);
m_lstAnchors[menu].Size = new Size(size.Width, height);
}
}
}
/// <summary>
/// Handles the FormClosing event of the UCNavigationMenu control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="FormClosingEventArgs"/> instance containing the event data.</param>
void UCNavigationMenu_FormClosing(object sender, FormClosingEventArgs e)
{
FrmAnchor frm = sender as FrmAnchor;
if (m_lstAnchors.ContainsValue(frm))
{
foreach (var item in m_lstAnchors)
{
if (item.Value == frm)
{
m_lstAnchors.Remove(item.Key);
return;
}
}
}
}
/// <summary>
/// Handles the Paint event of the panel control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="PaintEventArgs"/> instance containing the event data.</param>
void panel_Paint(object sender, PaintEventArgs e)
{
e.Graphics.SetGDIHigh();
Rectangle rect = new Rectangle(0, 0, e.ClipRectangle.Width - 1, e.ClipRectangle.Height - 1);
var path = rect.CreateRoundedRectanglePath(2);
e.Graphics.DrawPath(new Pen(new SolidBrush(LineColors.Light)), path);
}
/// <summary>
/// Gets the size of the items.
/// </summary>
/// <param name="items">The items.</param>
/// <returns>Size.</returns>
private Size GetItemsSize(NavigationMenuItem[] items)
{
Size size = Size.Empty;
if (items != null && items.Length > 0)
{
using (var g = this.CreateGraphics())
{
foreach (NavigationMenuItem item in items)
{
var s = g.MeasureString(item.Text, Font);
if (s.Width + 25 > size.Width)
{
size.Width = (int)s.Width + 25;
}
if (s.Height + 10 > size.Height)
{
size.Height = (int)s.Height + 10;
}
}
}
}
return size;
}
/// <summary>
/// Handles the Paint event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="PaintEventArgs"/> instance containing the event data.</param>
void lbl_Paint(object sender, PaintEventArgs e)
{
Label lbl = sender as Label;
if (lbl.Tag != null)
{
var menu = (NavigationMenuItem)lbl.Tag;
e.Graphics.SetGDIHigh();
if (menu.ParentItem == null)//顶级节点支持图标和角标
{
if (menu.ShowTip)
{
if (!string.IsNullOrEmpty(menu.TipText))
{
var rect = new Rectangle(lbl.Width - 25, lbl.Height / 2 - 10, 20, 20);
var path = rect.CreateRoundedRectanglePath(5);
e.Graphics.FillPath(new SolidBrush(tipColor), path);
e.Graphics.DrawString(menu.TipText, new Font("微软雅黑", 8f), new SolidBrush(Color.White), rect, new StringFormat() { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
}
else
{
e.Graphics.FillEllipse(new SolidBrush(tipColor), new Rectangle(lbl.Width - 20, lbl.Height / 2 - 10, 10, 10));
}
}
if (menu.Icon != null)
{
e.Graphics.DrawImage(menu.Icon, new Rectangle(1, (lbl.Height - 25) / 2, 25, 25), 0, 0, menu.Icon.Width, menu.Icon.Height, GraphicsUnit.Pixel);
}
}
if (menu.ParentItem != null && menu.Items != null && menu.Items.Length > 0)
{
ControlHelper.PaintTriangle(e.Graphics, new SolidBrush(this.BackColor), new Point(lbl.Width - 11, (lbl.Height - 5) / 2), 5, GraphDirection.Rightward);
}
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
namespace HZH_Controls.Controls
{
partial class UCNavigationMenuExt
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// UCNavigationMenuExt
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
this.Font = new System.Drawing.Font("微软雅黑", 11F);
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.Name = "UCNavigationMenuExt";
this.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.Size = new System.Drawing.Size(529, 60);
this.ResumeLayout(false);
}
#endregion
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-11
//
// ***********************************************************************
// <copyright file="UCNavigationMenuExt.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HZH_Controls.Forms;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCNavigationMenuExt.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
[DefaultEvent("ClickItemed")]
public partial class UCNavigationMenuExt : UserControl
{
/// <summary>
/// Occurs when [click itemed].
/// </summary>
[Description("点击节点事件"), Category("自定义")]
public event EventHandler ClickItemed;
/// <summary>
/// The select item
/// </summary>
private NavigationMenuItemExt selectItem = null;
/// <summary>
/// Gets the select item.
/// </summary>
/// <value>The select item.</value>
[Description("选中的节点"), Category("自定义")]
public NavigationMenuItemExt SelectItem
{
get { return selectItem; }
private set { selectItem = value; }
}
/// <summary>
/// The items
/// </summary>
NavigationMenuItemExt[] items;
/// <summary>
/// Gets or sets the items.
/// </summary>
/// <value>The items.</value>
[Description("节点列表"), Category("自定义")]
public NavigationMenuItemExt[] Items
{
get { return items; }
set
{
items = value;
ReloadMenu();
}
}
/// <summary>
/// The tip color
/// </summary>
private Color tipColor = Color.FromArgb(255, 87, 34);
/// <summary>
/// Gets or sets the color of the tip.
/// </summary>
/// <value>The color of the tip.</value>
[Description("角标颜色"), Category("自定义")]
public Color TipColor
{
get { return tipColor; }
set { tipColor = value; }
}
/// <summary>
/// 获取或设置控件的前景色。
/// </summary>
/// <value>The color of the fore.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
public override System.Drawing.Color ForeColor
{
get
{
return base.ForeColor;
}
set
{
base.ForeColor = value;
foreach (Control c in this.Controls)
{
c.ForeColor = value;
}
}
}
/// <summary>
/// 获取或设置控件显示的文字的字体。
/// </summary>
/// <value>The font.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// <IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
public override Font Font
{
get
{
return base.Font;
}
set
{
base.Font = value;
foreach (Control c in this.Controls)
{
c.Font = value;
}
}
}
/// <summary>
/// The m LST anchors
/// </summary>
Dictionary<NavigationMenuItemExt, FrmAnchor> m_lstAnchors = new Dictionary<NavigationMenuItemExt, FrmAnchor>();
/// <summary>
/// Initializes a new instance of the <see cref="UCNavigationMenuExt"/> class.
/// </summary>
public UCNavigationMenuExt()
{
InitializeComponent();
items = new NavigationMenuItemExt[0];
if (ControlHelper.IsDesignMode())
{
items = new NavigationMenuItemExt[4];
for (int i = 0; i < 4; i++)
{
items[i] = new NavigationMenuItemExt()
{
Text = "菜单" + (i + 1),
AnchorRight = i >= 2
};
}
}
}
/// <summary>
/// Reloads the menu.
/// </summary>
private void ReloadMenu()
{
try
{
ControlHelper.FreezeControl(this, true);
this.Controls.Clear();
if (items != null && items.Length > 0)
{
foreach (var item in items)
{
var menu = (NavigationMenuItemExt)item;
Label lbl = new Label();
lbl.AutoSize = false;
lbl.TextAlign = ContentAlignment.MiddleCenter;
lbl.Width = menu.ItemWidth;
lbl.Text = menu.Text;
lbl.Font = Font;
lbl.ForeColor = ForeColor;
lbl.Paint += lbl_Paint;
lbl.MouseEnter += lbl_MouseEnter;
lbl.Tag = menu;
lbl.Click += lbl_Click;
if (menu.AnchorRight)
{
lbl.Dock = DockStyle.Right;
}
else
{
lbl.Dock = DockStyle.Left;
}
this.Controls.Add(lbl);
lbl.BringToFront();
}
}
}
finally
{
ControlHelper.FreezeControl(this, false);
}
}
/// <summary>
/// Handles the Click event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void lbl_Click(object sender, EventArgs e)
{
Label lbl = sender as Label;
if (lbl.Tag != null)
{
var menu = (NavigationMenuItemExt)lbl.Tag;
if (menu.ShowControl == null)
{
selectItem = menu;
if (ClickItemed != null)
{
ClickItemed(this, e);
}
}
}
}
/// <summary>
/// Handles the MouseEnter event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
void lbl_MouseEnter(object sender, EventArgs e)
{
Label lbl = sender as Label;
var menu = lbl.Tag as NavigationMenuItemExt;
foreach (var item in m_lstAnchors)
{
m_lstAnchors[item.Key].Hide();
}
if (menu.ShowControl != null)
{
if (!m_lstAnchors.ContainsKey(menu))
{
m_lstAnchors[menu] = new FrmAnchor(lbl, menu.ShowControl);
}
m_lstAnchors[menu].Show(this);
m_lstAnchors[menu].Size = menu.ShowControl.Size;
}
}
/// <summary>
/// Handles the Paint event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="PaintEventArgs" /> instance containing the event data.</param>
void lbl_Paint(object sender, PaintEventArgs e)
{
Label lbl = sender as Label;
if (lbl.Tag != null)
{
var menu = (NavigationMenuItemExt)lbl.Tag;
e.Graphics.SetGDIHigh();
if (menu.ShowTip)
{
if (!string.IsNullOrEmpty(menu.TipText))
{
var rect = new Rectangle(lbl.Width - 25, lbl.Height / 2 - 10, 20, 20);
var path = rect.CreateRoundedRectanglePath(5);
e.Graphics.FillPath(new SolidBrush(tipColor), path);
e.Graphics.DrawString(menu.TipText, new Font("微软雅黑", 8f), new SolidBrush(Color.White), rect, new StringFormat() { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
}
else
{
e.Graphics.FillEllipse(new SolidBrush(tipColor), new Rectangle(lbl.Width - 20, lbl.Height / 2 - 10, 10, 10));
}
}
if (menu.Icon != null)
{
e.Graphics.DrawImage(menu.Icon, new Rectangle(1, (lbl.Height - 25) / 2, 25, 25), 0, 0, menu.Icon.Width, menu.Icon.Height, GraphicsUnit.Pixel);
}
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
namespace HZH_Controls.Controls
{
partial class UCNavigationMenuOffice
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
this.panChilds = new System.Windows.Forms.Panel();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.Dock = System.Windows.Forms.DockStyle.Top;
this.panMenu.Location = new System.Drawing.Point(0, 0);
this.panMenu.MaximumSize = new System.Drawing.Size(0, 25);
this.panMenu.MinimumSize = new System.Drawing.Size(0, 25);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(441, 25);
this.panMenu.TabIndex = 0;
//
// panChilds
//
this.panChilds.Dock = System.Windows.Forms.DockStyle.Fill;
this.panChilds.Location = new System.Drawing.Point(0, 25);
this.panChilds.Name = "panChilds";
this.panChilds.Size = new System.Drawing.Size(441, 100);
this.panChilds.TabIndex = 1;
//
// UCNavigationMenuOffice
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
this.Controls.Add(this.panChilds);
this.Controls.Add(this.panMenu);
this.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.Name = "UCNavigationMenuOffice";
this.Size = new System.Drawing.Size(441, 125);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panMenu;
private System.Windows.Forms.Panel panChilds;
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-12
//
// ***********************************************************************
// <copyright file="UCNavigationMenuOffice.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HZH_Controls.Forms;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCNavigationMenuOffice.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
public partial class UCNavigationMenuOffice : UserControl
{
/// <summary>
/// The main menu height
/// </summary>
private int mainMenuHeight = 25;
/// <summary>
/// Gets or sets the height of the main menu.
/// </summary>
/// <value>The height of the main menu.</value>
[Description("主菜单高度,大于20的值"), Category("自定义")]
public int MainMenuHeight
{
get { return mainMenuHeight; }
set
{
if (value < 20)
return;
mainMenuHeight = value;
this.panMenu.Height = value;
}
}
/// <summary>
/// The expand height
/// </summary>
private int expandHeight = 125;
/// <summary>
/// Gets or sets the height of the expand.
/// </summary>
/// <value>The height of the expand.</value>
[Description("展开后高度"), Category("自定义")]
public int ExpandHeight
{
get { return expandHeight; }
set { expandHeight = value; }
}
/// <summary>
/// The is expand
/// </summary>
private bool isExpand = true;
/// <summary>
/// Gets or sets a value indicating whether this instance is expand.
/// </summary>
/// <value><c>true</c> if this instance is expand; otherwise, <c>false</c>.</value>
[Description("是否展开"), Category("自定义")]
public bool IsExpand
{
get { return isExpand; }
set
{
isExpand = value;
if (value)
{
this.Height = expandHeight;
ResetChildControl();
}
else
{
this.Height = this.panMenu.Height;
this.panChilds.Controls.Clear();
}
}
}
/// <summary>
/// Occurs when [click itemed].
/// </summary>
[Description("点击节点事件"), Category("自定义")]
public event EventHandler ClickItemed;
/// <summary>
/// The select item
/// </summary>
private NavigationMenuItemExt selectItem = null;
/// <summary>
/// Gets the select item.
/// </summary>
/// <value>The select item.</value>
[Description("选中的节点"), Category("自定义")]
public NavigationMenuItemExt SelectItem
{
get { return selectItem; }
private set { selectItem = value; }
}
/// <summary>
/// The items
/// </summary>
NavigationMenuItemExt[] items;
/// <summary>
/// Gets or sets the items.
/// </summary>
/// <value>The items.</value>
[Description("节点列表"), Category("自定义")]
public NavigationMenuItemExt[] Items
{
get { return items; }
set
{
items = value;
ReloadMenu();
if (value != null && value.Length > 0)
{
selectItem = value[0];
ResetChildControl();
}
}
}
/// <summary>
/// The tip color
/// </summary>
private Color tipColor = Color.FromArgb(255, 87, 34);
/// <summary>
/// Gets or sets the color of the tip.
/// </summary>
/// <value>The color of the tip.</value>
[Description("角标颜色"), Category("自定义")]
public Color TipColor
{
get { return tipColor; }
set { tipColor = value; }
}
/// <summary>
/// 获取或设置控件的前景色。
/// </summary>
/// <value>The color of the fore.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
public override System.Drawing.Color ForeColor
{
get
{
return base.ForeColor;
}
set
{
base.ForeColor = value;
foreach (Control c in this.Controls)
{
c.ForeColor = value;
}
}
}
/// <summary>
/// 获取或设置控件显示的文字的字体。
/// </summary>
/// <value>The font.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// <IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
public override Font Font
{
get
{
return base.Font;
}
set
{
base.Font = value;
foreach (Control c in this.Controls)
{
c.Font = value;
}
}
}
/// <summary>
/// The m LST anchors
/// </summary>
Dictionary<NavigationMenuItemExt, FrmAnchor> m_lstAnchors = new Dictionary<NavigationMenuItemExt, FrmAnchor>();
/// <summary>
/// Initializes a new instance of the <see cref="UCNavigationMenuOffice"/> class.
/// </summary>
public UCNavigationMenuOffice()
{
InitializeComponent();
this.SizeChanged += UCNavigationMenuOffice_SizeChanged;
items = new NavigationMenuItemExt[0];
if (ControlHelper.IsDesignMode())
{
items = new NavigationMenuItemExt[4];
for (int i = 0; i < 4; i++)
{
items[i] = new NavigationMenuItemExt()
{
Text = "菜单" + (i + 1),
AnchorRight = i >= 2
};
}
}
}
/// <summary>
/// Handles the SizeChanged event of the UCNavigationMenuOffice control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void UCNavigationMenuOffice_SizeChanged(object sender, EventArgs e)
{
if (isExpand)
{
expandHeight = this.Height;
}
}
/// <summary>
/// Resets the child control.
/// </summary>
public void ResetChildControl()
{
if (isExpand)
{
if (selectItem != null)
{
try
{
ControlHelper.FreezeControl(this, true);
this.panChilds.Controls.Clear();
if (selectItem.ShowControl != null)
{
HZH_Controls.Controls.UCSplitLine_H split = new UCSplitLine_H();
split.BackColor = Color.FromArgb(50, 197, 197, 197);
split.Dock = DockStyle.Top;
this.panChilds.Controls.Add(split);
split.BringToFront();
this.panChilds.Controls.Add(selectItem.ShowControl);
selectItem.ShowControl.Dock = DockStyle.Fill;
}
}
finally
{
ControlHelper.FreezeControl(this, false);
}
}
}
}
/// <summary>
/// Reloads the menu.
/// </summary>
private void ReloadMenu()
{
try
{
ControlHelper.FreezeControl(this, true);
this.panMenu.Controls.Clear();
if (items != null && items.Length > 0)
{
foreach (var item in items)
{
var menu = (NavigationMenuItemExt)item;
Label lbl = new Label();
lbl.AutoSize = false;
lbl.TextAlign = ContentAlignment.MiddleCenter;
lbl.Width = menu.ItemWidth;
lbl.Text = menu.Text;
lbl.Font = Font;
lbl.ForeColor = ForeColor;
lbl.Paint += lbl_Paint;
lbl.MouseEnter += lbl_MouseEnter;
lbl.Tag = menu;
lbl.Click += lbl_Click;
lbl.DoubleClick += lbl_DoubleClick;
if (menu.AnchorRight)
{
lbl.Dock = DockStyle.Right;
}
else
{
lbl.Dock = DockStyle.Left;
}
this.panMenu.Controls.Add(lbl);
lbl.BringToFront();
}
}
}
finally
{
ControlHelper.FreezeControl(this, false);
}
}
/// <summary>
/// Handles the DoubleClick event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void lbl_DoubleClick(object sender, EventArgs e)
{
IsExpand = !IsExpand;
}
/// <summary>
/// Handles the Click event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
void lbl_Click(object sender, EventArgs e)
{
Label lbl = sender as Label;
if (lbl.Tag != null)
{
var menu = (NavigationMenuItemExt)lbl.Tag;
if (menu.ShowControl == null)
{
selectItem = menu;
if (ClickItemed != null)
{
ClickItemed(this, e);
}
}
else
{
if (IsExpand)
{
selectItem = menu;
ResetChildControl();
}
}
}
}
/// <summary>
/// Handles the MouseEnter event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
void lbl_MouseEnter(object sender, EventArgs e)
{
if (!IsExpand)
{
Label lbl = sender as Label;
var menu = lbl.Tag as NavigationMenuItemExt;
foreach (var item in m_lstAnchors)
{
m_lstAnchors[item.Key].Hide();
}
if (menu.ShowControl != null)
{
if (!m_lstAnchors.ContainsKey(menu))
{
m_lstAnchors[menu] = new FrmAnchor(panMenu, menu.ShowControl, isNotFocus: false);
}
m_lstAnchors[menu].BackColor = this.BackColor;
m_lstAnchors[menu].Show(this);
m_lstAnchors[menu].Size = new Size(this.panChilds.Width, expandHeight - mainMenuHeight);
}
}
}
/// <summary>
/// Handles the Paint event of the lbl control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="PaintEventArgs" /> instance containing the event data.</param>
void lbl_Paint(object sender, PaintEventArgs e)
{
Label lbl = sender as Label;
if (lbl.Tag != null)
{
var menu = (NavigationMenuItemExt)lbl.Tag;
e.Graphics.SetGDIHigh();
if (menu.ShowTip)
{
if (!string.IsNullOrEmpty(menu.TipText))
{
var rect = new Rectangle(lbl.Width - 25, lbl.Height / 2 - 10, 20, 20);
var path = rect.CreateRoundedRectanglePath(5);
e.Graphics.FillPath(new SolidBrush(tipColor), path);
e.Graphics.DrawString(menu.TipText, new Font("微软雅黑", 8f), new SolidBrush(Color.White), rect, new StringFormat() { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
}
else
{
e.Graphics.FillEllipse(new SolidBrush(tipColor), new Rectangle(lbl.Width - 20, lbl.Height / 2 - 10, 10, 10));
}
}
if (menu.Icon != null)
{
e.Graphics.DrawImage(menu.Icon, new Rectangle(1, (lbl.Height - 25) / 2, 25, 25), 0, 0, menu.Icon.Width, menu.Icon.Height, GraphicsUnit.Pixel);
}
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-09
//
// ***********************************************************************
// <copyright file="UCSplitLabel.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCSplitLabel.
/// Implements the <see cref="System.Windows.Forms.Label" />
/// </summary>
/// <seealso cref="System.Windows.Forms.Label" />
public class UCSplitLabel : Label
{
/// <summary>
/// Gets or sets the text.
/// </summary>
/// <value>The text.</value>
[Localizable(true)]
public override string Text
{
get
{
return base.Text;
}
set
{
base.Text = value;
ResetMaxSize();
}
}
/// <summary>
/// 获取或设置控件显示的文字的字体。
/// </summary>
/// <value>The font.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// <IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
[Localizable(true)]
public override Font Font
{
get
{
return base.Font;
}
set
{
base.Font = value;
ResetMaxSize();
}
}
/// <summary>
/// 获取或设置大小,该大小是 <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> 可以指定的下限。
/// </summary>
/// <value>The minimum size.</value>
[Localizable(true)]
public override Size MinimumSize
{
get
{
return base.MinimumSize;
}
set
{
base.MinimumSize = value;
ResetMaxSize();
}
}
/// <summary>
/// 获取或设置大小,该大小是 <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> 可以指定的上限。
/// </summary>
/// <value>The maximum size.</value>
[Localizable(true)]
public override Size MaximumSize
{
get
{
return base.MaximumSize;
}
set
{
base.MaximumSize = value;
ResetMaxSize();
}
}
/// <summary>
/// 获取或设置一个值,该值指示是否自动调整控件的大小以完整显示其内容。
/// </summary>
/// <value><c>true</c> if [automatic size]; otherwise, <c>false</c>.</value>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// <IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
/// </PermissionSet>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public override bool AutoSize
{
get
{
return base.AutoSize;
}
set
{
base.AutoSize = value;
}
}
/// <summary>
/// The line color
/// </summary>
private Color lineColor = LineColors.Light;
/// <summary>
/// Gets or sets the color of the line.
/// </summary>
/// <value>The color of the line.</value>
public Color LineColor
{
get { return lineColor; }
set
{
lineColor = value;
Invalidate();
}
}
/// <summary>
/// Resets the maximum size.
/// </summary>
private void ResetMaxSize()
{
using (var g = this.CreateGraphics())
{
var _width = Width;
var size = g.MeasureString(string.IsNullOrEmpty(Text) ? "A" : Text, Font);
if (MinimumSize.Height != (int)size.Height)
MinimumSize = new Size(base.MinimumSize.Width, (int)size.Height);
if (MaximumSize.Height != (int)size.Height)
MaximumSize = new Size(base.MaximumSize.Width, (int)size.Height);
this.Width = _width;
}
}
/// <summary>
/// Initializes a new instance of the <see cref="UCSplitLabel"/> class.
/// </summary>
public UCSplitLabel()
: base()
{
if (ControlHelper.IsDesignMode())
{
Text = "分割线";
Font = new Font("微软雅黑", 8f);
}
this.AutoSize = false;
Padding = new Padding(20, 0, 0, 0);
MinimumSize = new System.Drawing.Size(150, 10);
PaddingChanged += UCSplitLabel_PaddingChanged;
this.Width = 200;
}
/// <summary>
/// Handles the PaddingChanged event of the UCSplitLabel control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void UCSplitLabel_PaddingChanged(object sender, EventArgs e)
{
if (Padding.Left < 20)
{
Padding = new Padding(20, Padding.Top, Padding.Right, Padding.Bottom);
}
}
/// <summary>
/// Handles the <see cref="E:Paint" /> event.
/// </summary>
/// <param name="e">包含事件数据的 <see cref="T:System.Windows.Forms.PaintEventArgs" />。</param>
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
var g = e.Graphics;
g.SetGDIHigh();
var size = g.MeasureString(Text, Font);
g.DrawLine(new Pen(new SolidBrush(lineColor)), new PointF(1, Padding.Top + (this.Height - Padding.Top - Padding.Bottom) / 2), new PointF(Padding.Left - 2, Padding.Top + (this.Height - Padding.Top - Padding.Bottom) / 2));
g.DrawLine(new Pen(new SolidBrush(lineColor)), new PointF(Padding.Left + size.Width + 1, Padding.Top + (this.Height - Padding.Top - Padding.Bottom) / 2), new PointF(Width - Padding.Right, Padding.Top + (this.Height - Padding.Top - Padding.Bottom) / 2));
}
}
}
namespace HZH_Controls.Controls
{
partial class UCTimeLine
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// UCTimeLine
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoScroll = true;
this.Name = "UCTimeLine";
this.Padding = new System.Windows.Forms.Padding(30, 0, 0, 0);
this.Size = new System.Drawing.Size(673, 377);
this.ResumeLayout(false);
}
#endregion
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-09
//
// ***********************************************************************
// <copyright file="UCTimeLine.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCTimeLine.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
public partial class UCTimeLine : UserControl
{
/// <summary>
/// The line color
/// </summary>
private Color lineColor = TextColors.Light;
/// <summary>
/// Gets or sets the color of the line.
/// </summary>
/// <value>The color of the line.</value>
[Description("连接线颜色"), Category("自定义")]
public Color LineColor
{
get { return lineColor; }
set
{
lineColor = value;
Invalidate();
}
}
/// <summary>
/// The title font
/// </summary>
private Font titleFont = new Font("微软雅黑", 14f);
/// <summary>
/// Gets or sets the title font.
/// </summary>
/// <value>The title font.</value>
[Description("标题字体"), Category("自定义")]
public Font TitleFont
{
get { return titleFont; }
set
{
titleFont = value;
ReloadItems();
}
}
/// <summary>
/// The title forcolor
/// </summary>
private Color titleForcolor = TextColors.MoreDark;
/// <summary>
/// Gets or sets the title forcolor.
/// </summary>
/// <value>The title forcolor.</value>
[Description("标题颜色"), Category("自定义")]
public Color TitleForcolor
{
get { return titleForcolor; }
set
{
titleForcolor = value;
ReloadItems();
}
}
/// <summary>
/// The details font
/// </summary>
private Font detailsFont = new Font("微软雅黑", 10);
/// <summary>
/// Gets or sets the details font.
/// </summary>
/// <value>The details font.</value>
[Description("详情字体"), Category("自定义")]
public Font DetailsFont
{
get { return detailsFont; }
set
{
detailsFont = value;
ReloadItems();
}
}
/// <summary>
/// The details forcolor
/// </summary>
private Color detailsForcolor = TextColors.Light;
/// <summary>
/// Gets or sets the details forcolor.
/// </summary>
/// <value>The details forcolor.</value>
[Description("详情颜色"), Category("自定义")]
public Color DetailsForcolor
{
get { return detailsForcolor; }
set
{
detailsForcolor = value;
ReloadItems();
}
}
/// <summary>
/// The items
/// </summary>
TimeLineItem[] items;
/// <summary>
/// Gets or sets the items.
/// </summary>
/// <value>The items.</value>
[Description("项列表"), Category("自定义")]
public TimeLineItem[] Items
{
get { return items; }
set
{
items = value;
ReloadItems();
}
}
/// <summary>
/// Initializes a new instance of the <see cref="UCTimeLine"/> class.
/// </summary>
public UCTimeLine()
{
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.ResizeRedraw, true);
this.SetStyle(ControlStyles.Selectable, true);
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.UserPaint, true);
InitializeComponent();
items = new TimeLineItem[0];
if (ControlHelper.IsDesignMode())
{
items = new TimeLineItem[4];
for (int i = 0; i < 4; i++)
{
items[i] = new TimeLineItem()
{
Title = DateTime.Now.AddMonths(-1 * (3 - i)).ToString("yyyy年MM月"),
Details = DateTime.Now.AddMonths(-1 * (3 - i)).ToString("yyyy年MM月") + "发生了一件大事,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,然后王二麻子他爹王咔嚓出生了。"
};
}
ReloadItems();
}
}
/// <summary>
/// Reloads the items.
/// </summary>
private void ReloadItems()
{
try
{
ControlHelper.FreezeControl(this, true);
this.Controls.Clear();
if (items != null)
{
foreach (var item in items)
{
FlowLayoutPanel panelTitle = new FlowLayoutPanel();
panelTitle.Dock = DockStyle.Top;
panelTitle.AutoScroll = false;
panelTitle.Padding = new System.Windows.Forms.Padding(5);
panelTitle.Name = "title_" + Guid.NewGuid().ToString();
Label lblTitle = new Label();
lblTitle.Dock = DockStyle.Top;
lblTitle.AutoSize = true;
lblTitle.Font = titleFont;
lblTitle.ForeColor = titleForcolor;
lblTitle.Text = item.Title;
lblTitle.SizeChanged += item_SizeChanged;
panelTitle.Controls.Add(lblTitle);
this.Controls.Add(panelTitle);
panelTitle.BringToFront();
FlowLayoutPanel panelDetails = new FlowLayoutPanel();
panelDetails.Dock = DockStyle.Top;
panelDetails.AutoScroll = false;
panelDetails.Padding = new System.Windows.Forms.Padding(5);
panelDetails.Name = "details_" + Guid.NewGuid().ToString();
Label lblDetails = new Label();
lblDetails.AutoSize = true;
lblDetails.Dock = DockStyle.Top;
lblDetails.Font = detailsFont;
lblDetails.ForeColor = detailsForcolor;
lblDetails.Text = item.Details;
lblDetails.SizeChanged += item_SizeChanged;
panelDetails.Controls.Add(lblDetails);
this.Controls.Add(panelDetails);
panelDetails.BringToFront();
}
}
}
finally
{
ControlHelper.FreezeControl(this, false);
}
}
/// <summary>
/// Handles the SizeChanged event of the item control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
void item_SizeChanged(object sender, EventArgs e)
{
Label lbl = (Label)sender;
lbl.Parent.Height = lbl.Height + 10;
}
/// <summary>
/// 引发 <see cref="E:System.Windows.Forms.Control.Paint" /> 事件。
/// </summary>
/// <param name="e">包含事件数据的 <see cref="T:System.Windows.Forms.PaintEventArgs" />。</param>
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
var g = e.Graphics;
g.SetGDIHigh();
var lst = this.Controls.ToArray().Where(p => p.Name.StartsWith("title_")).ToList();
for (int i = 0; i < lst.Count; i++)
{
//画圆
g.DrawEllipse(new Pen(new SolidBrush(lineColor)), new Rectangle(7, lst[i].Location.Y + 10, 16, 16));
//划线
if (i != lst.Count - 1)
{
g.DrawLine(new Pen(new SolidBrush(lineColor)), new Point(7 + 8, lst[i].Location.Y + 10 - 2), new Point(7 + 8, lst[i + 1].Location.Y + 10 + 16 + 2));
}
}
}
}
/// <summary>
/// Class TimeLineItem.
/// </summary>
public class TimeLineItem
{
/// <summary>
/// Gets or sets the title.
/// </summary>
/// <value>The title.</value>
public string Title { get; set; }
/// <summary>
/// Gets or sets the details.
/// </summary>
/// <value>The details.</value>
public string Details { get; set; }
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HZH_Controls.Controls
{
public class TransferEventArgs : EventArgs
{
public object[] TransferDataSource { get; set; }
/// <summary>
/// true:right false:left
/// </summary>
/// <value><c>true</c> if [to right or left]; otherwise, <c>false</c>.</value>
public bool ToRightOrLeft { get; set; }
}
public delegate void TransferEventHandler(object sender,TransferEventArgs e);
}
namespace HZH_Controls.Controls
{
partial class UCTransfer
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTransfer));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panel1 = new System.Windows.Forms.Panel();
this.ucControlBase2 = new HZH_Controls.Controls.UCControlBase();
this.dgvRight = new HZH_Controls.Controls.UCDataGridView();
this.btnLeft = new HZH_Controls.Controls.UCBtnImg();
this.btnRight = new HZH_Controls.Controls.UCBtnImg();
this.ucControlBase1 = new HZH_Controls.Controls.UCControlBase();
this.dgvLeft = new HZH_Controls.Controls.UCDataGridView();
this.tableLayoutPanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.ucControlBase2.SuspendLayout();
this.ucControlBase1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 3;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Controls.Add(this.ucControlBase2, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.ucControlBase1, 0, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(451, 397);
this.tableLayoutPanel1.TabIndex = 0;
//
// panel1
//
this.panel1.Controls.Add(this.btnLeft);
this.panel1.Controls.Add(this.btnRight);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(198, 3);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(54, 391);
this.panel1.TabIndex = 0;
//
// ucControlBase2
//
this.ucControlBase2.BackColor = System.Drawing.Color.Transparent;
this.ucControlBase2.ConerRadius = 5;
this.ucControlBase2.Controls.Add(this.dgvRight);
this.ucControlBase2.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucControlBase2.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase2.IsRadius = true;
this.ucControlBase2.IsShowRect = true;
this.ucControlBase2.Location = new System.Drawing.Point(255, 0);
this.ucControlBase2.Margin = new System.Windows.Forms.Padding(0);
this.ucControlBase2.Name = "ucControlBase2";
this.ucControlBase2.Padding = new System.Windows.Forms.Padding(1);
this.ucControlBase2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase2.RectWidth = 1;
this.ucControlBase2.Size = new System.Drawing.Size(196, 397);
this.ucControlBase2.TabIndex = 4;
//
// dgvRight
//
this.dgvRight.AutoRowsScroll = true;
this.dgvRight.BackColor = System.Drawing.Color.White;
this.dgvRight.Columns = null;
this.dgvRight.DataSource = null;
this.dgvRight.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvRight.HeadFont = new System.Drawing.Font("微软雅黑", 12F);
this.dgvRight.HeadHeight = 40;
this.dgvRight.HeadPadingLeft = 0;
this.dgvRight.HeadTextColor = System.Drawing.Color.Black;
this.dgvRight.IsCloseAutoHeight = false;
this.dgvRight.IsShowCheckBox = true;
this.dgvRight.IsShowHead = true;
this.dgvRight.Location = new System.Drawing.Point(1, 1);
this.dgvRight.Name = "dgvRight";
this.dgvRight.Page = null;
this.dgvRight.RowHeight = 40;
this.dgvRight.RowType = typeof(HZH_Controls.Controls.UCDataGridViewRow);
this.dgvRight.Size = new System.Drawing.Size(194, 395);
this.dgvRight.TabIndex = 2;
//
// btnLeft
//
this.btnLeft.Anchor = System.Windows.Forms.AnchorStyles.None;
this.btnLeft.BackColor = System.Drawing.Color.White;
this.btnLeft.BtnBackColor = System.Drawing.Color.White;
this.btnLeft.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.btnLeft.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.btnLeft.BtnText = "";
this.btnLeft.ConerRadius = 5;
this.btnLeft.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnLeft.FillColor = System.Drawing.Color.White;
this.btnLeft.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.btnLeft.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.btnLeft.Image = ((System.Drawing.Image)(resources.GetObject("btnLeft.Image")));
this.btnLeft.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btnLeft.ImageFontIcons = ((object)(resources.GetObject("btnLeft.ImageFontIcons")));
this.btnLeft.IsRadius = true;
this.btnLeft.IsShowRect = true;
this.btnLeft.IsShowTips = false;
this.btnLeft.Location = new System.Drawing.Point(5, 203);
this.btnLeft.Margin = new System.Windows.Forms.Padding(0);
this.btnLeft.Name = "btnLeft";
this.btnLeft.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.btnLeft.RectWidth = 1;
this.btnLeft.Size = new System.Drawing.Size(44, 31);
this.btnLeft.TabIndex = 0;
this.btnLeft.TabStop = false;
this.btnLeft.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btnLeft.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.btnLeft.TipsText = "";
this.btnLeft.BtnClick += new System.EventHandler(this.btnLeft_BtnClick);
//
// btnRight
//
this.btnRight.Anchor = System.Windows.Forms.AnchorStyles.None;
this.btnRight.BackColor = System.Drawing.Color.White;
this.btnRight.BtnBackColor = System.Drawing.Color.White;
this.btnRight.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.btnRight.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.btnRight.BtnText = "";
this.btnRight.ConerRadius = 5;
this.btnRight.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRight.FillColor = System.Drawing.Color.White;
this.btnRight.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.btnRight.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.btnRight.Image = ((System.Drawing.Image)(resources.GetObject("btnRight.Image")));
this.btnRight.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btnRight.ImageFontIcons = ((object)(resources.GetObject("btnRight.ImageFontIcons")));
this.btnRight.IsRadius = true;
this.btnRight.IsShowRect = true;
this.btnRight.IsShowTips = false;
this.btnRight.Location = new System.Drawing.Point(5, 157);
this.btnRight.Margin = new System.Windows.Forms.Padding(0);
this.btnRight.Name = "btnRight";
this.btnRight.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.btnRight.RectWidth = 1;
this.btnRight.Size = new System.Drawing.Size(44, 31);
this.btnRight.TabIndex = 0;
this.btnRight.TabStop = false;
this.btnRight.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btnRight.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.btnRight.TipsText = "";
this.btnRight.BtnClick += new System.EventHandler(this.btnRight_BtnClick);
//
// ucControlBase1
//
this.ucControlBase1.BackColor = System.Drawing.Color.Transparent;
this.ucControlBase1.ConerRadius = 5;
this.ucControlBase1.Controls.Add(this.dgvLeft);
this.ucControlBase1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucControlBase1.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase1.IsRadius = true;
this.ucControlBase1.IsShowRect = true;
this.ucControlBase1.Location = new System.Drawing.Point(0, 0);
this.ucControlBase1.Margin = new System.Windows.Forms.Padding(0);
this.ucControlBase1.Name = "ucControlBase1";
this.ucControlBase1.Padding = new System.Windows.Forms.Padding(1);
this.ucControlBase1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase1.RectWidth = 1;
this.ucControlBase1.Size = new System.Drawing.Size(195, 397);
this.ucControlBase1.TabIndex = 3;
//
// dgvLeft
//
this.dgvLeft.AutoRowsScroll = true;
this.dgvLeft.BackColor = System.Drawing.Color.White;
this.dgvLeft.Columns = null;
this.dgvLeft.DataSource = null;
this.dgvLeft.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvLeft.HeadFont = new System.Drawing.Font("微软雅黑", 12F);
this.dgvLeft.HeadHeight = 40;
this.dgvLeft.HeadPadingLeft = 0;
this.dgvLeft.HeadTextColor = System.Drawing.Color.Black;
this.dgvLeft.IsCloseAutoHeight = false;
this.dgvLeft.IsShowCheckBox = true;
this.dgvLeft.IsShowHead = true;
this.dgvLeft.Location = new System.Drawing.Point(1, 1);
this.dgvLeft.Name = "dgvLeft";
this.dgvLeft.Page = null;
this.dgvLeft.RowHeight = 40;
this.dgvLeft.RowType = typeof(HZH_Controls.Controls.UCDataGridViewRow);
this.dgvLeft.Size = new System.Drawing.Size(193, 395);
this.dgvLeft.TabIndex = 2;
//
// UCTransfer
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "UCTransfer";
this.Size = new System.Drawing.Size(451, 397);
this.tableLayoutPanel1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.ucControlBase2.ResumeLayout(false);
this.ucControlBase1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Panel panel1;
private UCBtnImg btnLeft;
private UCBtnImg btnRight;
private UCControlBase ucControlBase1;
private UCDataGridView dgvLeft;
private UCControlBase ucControlBase2;
private UCDataGridView dgvRight;
}
}
// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-10-10
//
// ***********************************************************************
// <copyright file="UCTransfer.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
// </copyright>
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCTransfer.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
[DefaultEvent("Transfered")]
public partial class UCTransfer : UserControl
{
/// <summary>
/// 移动数据事件
/// </summary>
[Description("移动数据事件"), Category("自定义")]
public event TransferEventHandler Transfered;
/// <summary>
/// The left columns
/// </summary>
private DataGridViewColumnEntity[] leftColumns;
/// <summary>
/// Gets or sets the left columns.
/// </summary>
/// <value>The left columns.</value>
[Description("左侧列表列"), Category("自定义")]
public DataGridViewColumnEntity[] LeftColumns
{
get { return leftColumns; }
set
{
leftColumns = value;
this.dgvLeft.Columns = leftColumns.ToList();
}
}
/// <summary>
/// The right columns
/// </summary>
private DataGridViewColumnEntity[] rightColumns;
/// <summary>
/// Gets or sets the right columns.
/// </summary>
/// <value>The right columns.</value>
[Description("右侧列表列"), Category("自定义")]
public DataGridViewColumnEntity[] RightColumns
{
get { return rightColumns; }
set
{
rightColumns = value;
this.dgvRight.Columns = leftColumns.ToList();
}
}
/// <summary>
/// The left data source
/// </summary>
private object[] leftDataSource;
/// <summary>
/// 左右列表必须设置相同类型的数据源列表,如果为空必须为长度为0的数组
/// </summary>
/// <value>The left data source.</value>
[Description("左侧列表数据源"), Category("自定义"), Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public object[] LeftDataSource
{
get { return leftDataSource; }
set
{
leftDataSource = value;
dgvLeft.DataSource = value;
}
}
/// <summary>
/// The right data source
/// </summary>
private object[] rightDataSource;
/// <summary>
/// 左右列表必须设置相同类型的数据源列表,如果为空必须为长度为0的数组
/// </summary>
/// <value>The left data source.</value>
[Description("右侧列表数据源"), Category("自定义"), Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public object[] RightDataSource
{
get { return rightDataSource; }
set
{
rightDataSource = value;
dgvRight.DataSource = value;
}
}
/// <summary>
/// Initializes a new instance of the <see cref="UCTransfer"/> class.
/// </summary>
public UCTransfer()
{
InitializeComponent();
dgvLeft.IsCloseAutoHeight = true;
dgvRight.IsCloseAutoHeight = true;
LeftColumns = new DataGridViewColumnEntity[0];
RightColumns = new DataGridViewColumnEntity[0];
LeftDataSource = new object[0];
RightDataSource = new object[0];
}
/// <summary>
/// Handles the BtnClick event of the btnRight control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
/// <exception cref="System.Exception">
/// 左右数据源列表不能为空
/// or
/// 左右数据源列表类型不一致,无法进行操作
/// </exception>
private void btnRight_BtnClick(object sender, EventArgs e)
{
if (LeftDataSource == null || RightDataSource == null)
{
throw new Exception("左右数据源列表不能为空");
}
if (LeftDataSource.GetType() != RightDataSource.GetType())
{
throw new Exception("左右数据源列表类型不一致,无法进行操作");
}
if (dgvLeft.SelectRows == null || dgvLeft.SelectRows.Count <= 0)
return;
List<object> lst = new List<object>();
dgvLeft.SelectRows.ForEach(p =>
{
lst.Add(p.DataSource);
p.IsChecked = false;
});
var lstRight = RightDataSource.ToList();
lstRight.AddRange(lst);
var lstLeft = LeftDataSource.ToList();
lstLeft.RemoveAll(p => lst.Contains(p));
RightDataSource = lstRight.ToArray();
LeftDataSource = lstLeft.ToArray();
if (Transfered != null)
{
Transfered(this, new TransferEventArgs() { TransferDataSource = lst.ToArray(), ToRightOrLeft = true });
}
}
/// <summary>
/// Handles the BtnClick event of the btnLeft control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
/// <exception cref="System.Exception">
/// 左右数据源列表不能为空
/// or
/// 左右数据源列表类型不一致,无法进行操作
/// </exception>
private void btnLeft_BtnClick(object sender, EventArgs e)
{
if (LeftDataSource == null || RightDataSource == null)
{
throw new Exception("左右数据源列表不能为空");
}
if (LeftDataSource.GetType() != RightDataSource.GetType())
{
throw new Exception("左右数据源列表类型不一致,无法进行操作");
}
if (dgvRight.SelectRows == null || dgvRight.SelectRows.Count <= 0)
return;
List<object> lst = new List<object>();
dgvRight.SelectRows.ForEach(p =>
{
lst.Add(p.DataSource);
p.IsChecked = false;
});
var lstLeft = LeftDataSource.ToList();
lstLeft.AddRange(lst);
var lstRight = RightDataSource.ToList();
lstRight.RemoveAll(p => lst.Contains(p));
RightDataSource = lstRight.ToArray();
LeftDataSource = lstLeft.ToArray();
if (Transfered != null)
{
Transfered(this, new TransferEventArgs() { TransferDataSource = lst.ToArray(), ToRightOrLeft = false });
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnLeft.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr0AAA69AUf7kK0AAAB5SURBVFhH7dXBDYAgDAVQlnEBx3IldqHQLZxGKSkkmtQT
GIz/JYT0X34vBAcA8HkhhJWI9ny8RoWVd1VLYoyH3BqbeVf3Epmf8q5Q/r9yYZW8Ui5ygZciLWtv28qH
wBIVlqimWiLfl0/HyodIKW3MvOjYWDkATMS5E+hGfXDhMAVvAAAAAElFTkSuQmCC
</value>
</data>
<data name="btnLeft.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr0AAA69AUf7kK0AAAB5SURBVFhH7dXBDYAgDAVQlnEBx3IldqHQLZxGKSkkmtQT
GIz/JYT0X34vBAcA8HkhhJWI9ny8RoWVd1VLYoyH3BqbeVf3Epmf8q5Q/r9yYZW8Ui5ygZciLWtv28qH
wBIVlqimWiLfl0/HyodIKW3MvOjYWDkATMS5E+hGfXDhMAVvAAAAAElFTkSuQmCC
</value>
</data>
<data name="btnRight.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr0AAA69AUf7kK0AAACJSURBVFhH7ZXNCcAgDEZdpgt0rK7UGbqCf1s4TWuKgSLG
U0IRvgcefJenh6gDAIAlyDlvIYRS19nUi+TVSSkdMcab1jcmeRMoMIpJ3gQcgsEhmBq4OEYT0bToVfHe
7zVU2k0LvQkzr0ofof3Mq4L4L3H+dPqI5NXhT6ePSN4Eio1GSvIAgEVw7gENgIbqKKEIVQAAAABJRU5E
rkJggg==
</value>
</data>
<data name="btnRight.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr0AAA69AUf7kK0AAACJSURBVFhH7ZXNCcAgDEZdpgt0rK7UGbqCf1s4TWuKgSLG
U0IRvgcefJenh6gDAIAlyDlvIYRS19nUi+TVSSkdMcab1jcmeRMoMIpJ3gQcgsEhmBq4OEYT0bToVfHe
7zVU2k0LvQkzr0ofof3Mq4L4L3H+dPqI5NXhT6ePSN4Eio1GSvIAgEVw7gENgIbqKKEIVQAAAABJRU5E
rkJggg==
</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
...@@ -103,6 +103,20 @@ namespace HZH_Controls.Controls ...@@ -103,6 +103,20 @@ namespace HZH_Controls.Controls
set { errorTipsForeColor = value; } set { errorTipsForeColor = value; }
} }
private int autoCloseErrorTipsTime = 3000;
[Browsable(true), Category("自定义属性"), Description("自动关闭提示事件,当值为0时不自动关闭"), Localizable(true)]
public int AutoCloseErrorTipsTime
{
get { return autoCloseErrorTipsTime; }
set
{
if (value < 0)
return;
autoCloseErrorTipsTime = value;
}
}
#region 构造函数 English:Constructor #region 构造函数 English:Constructor
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="VerificationComponent"/> class. /// Initializes a new instance of the <see cref="VerificationComponent"/> class.
...@@ -438,11 +452,64 @@ namespace HZH_Controls.Controls ...@@ -438,11 +452,64 @@ namespace HZH_Controls.Controls
} }
else else
{ {
var tips = Forms.FrmAnchorTips.ShowTips(e.VerificationControl, e.ErrorMsg, background: errorTipsBackColor, foreColor: errorTipsForeColor, autoCloseTime: 0, blnTopMost: false); var tips = Forms.FrmAnchorTips.ShowTips(e.VerificationControl, e.ErrorMsg, background: errorTipsBackColor, foreColor: errorTipsForeColor, autoCloseTime: autoCloseErrorTipsTime, blnTopMost: false);
tips.FormClosing += tips_FormClosing;
m_controlTips[e.VerificationControl] = tips; m_controlTips[e.VerificationControl] = tips;
} }
} }
} }
void tips_FormClosing(object sender, FormClosingEventArgs e)
{
foreach (var item in m_controlTips)
{
if (item.Value == sender)
{
m_controlTips.Remove(item.Key);
break;
}
}
}
#endregion #endregion
/// <summary>
/// 关闭所有错误提示
/// </summary>
public void CloseErrorTips()
{
for (int i = 0; i < 1; )
{
try
{
foreach (var item in m_controlTips)
{
if (item.Value != null && !item.Value.IsDisposed)
{
item.Value.Close();
}
}
}
catch
{
continue;
}
i++;
}
m_controlTips.Clear();
}
/// <summary>
/// 关闭指定验证控件的提示
/// </summary>
/// <param name="verificationControl">验证控件.</param>
public void CloseErrorTips(Control verificationControl)
{
if (m_controlTips.ContainsKey(verificationControl))
{
if (m_controlTips[verificationControl] != null && !m_controlTips[verificationControl].IsDisposed)
{
m_controlTips[verificationControl].Close();
}
}
}
} }
} }
...@@ -244,7 +244,7 @@ namespace HZH_Controls.Forms ...@@ -244,7 +244,7 @@ namespace HZH_Controls.Forms
Graphics gBit = Graphics.FromImage(bit); Graphics gBit = Graphics.FromImage(bit);
gBit.SetGDIHigh(); gBit.SetGDIHigh();
gBit.FillPath(new SolidBrush(_background), path); gBit.FillPath(new SolidBrush(_background), path);
gBit.DrawString(strMsg, _font, new SolidBrush(_foreColor), rect, new StringFormat() { Alignment= StringAlignment.Center, LineAlignment= StringAlignment.Center}); gBit.DrawString(strMsg, _font, new SolidBrush(_foreColor), rect, new StringFormat() { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
gBit.Dispose(); gBit.Dispose();
#endregion #endregion
...@@ -256,7 +256,7 @@ namespace HZH_Controls.Forms ...@@ -256,7 +256,7 @@ namespace HZH_Controls.Forms
/// <summary> /// <summary>
/// Shows the tips. /// Shows the tips.
/// </summary> /// </summary>
/// <param name="parentControl">The parent control.</param> /// <param name="anchorControl">The parent control.</param>
/// <param name="strMsg">The string MSG.</param> /// <param name="strMsg">The string MSG.</param>
/// <param name="location">The location.</param> /// <param name="location">The location.</param>
/// <param name="background">The background.</param> /// <param name="background">The background.</param>
...@@ -267,7 +267,7 @@ namespace HZH_Controls.Forms ...@@ -267,7 +267,7 @@ namespace HZH_Controls.Forms
/// <param name="blnTopMost">是否置顶</param> /// <param name="blnTopMost">是否置顶</param>
/// <returns>FrmAnchorTips.</returns> /// <returns>FrmAnchorTips.</returns>
public static FrmAnchorTips ShowTips( public static FrmAnchorTips ShowTips(
Control parentControl, Control anchorControl,
string strMsg, string strMsg,
AnchorTipsLocation location = AnchorTipsLocation.RIGHT, AnchorTipsLocation location = AnchorTipsLocation.RIGHT,
Color? background = null, Color? background = null,
...@@ -275,22 +275,22 @@ namespace HZH_Controls.Forms ...@@ -275,22 +275,22 @@ namespace HZH_Controls.Forms
Size? deviation = null, Size? deviation = null,
int fontSize = 10, int fontSize = 10,
int autoCloseTime = 5000, int autoCloseTime = 5000,
bool blnTopMost=true) bool blnTopMost = true)
{ {
Point p; Point p;
if (parentControl is Form) if (anchorControl is Form)
{ {
p = parentControl.Location; p = anchorControl.Location;
} }
else else
{ {
p = parentControl.Parent.PointToScreen(parentControl.Location); p = anchorControl.Parent.PointToScreen(anchorControl.Location);
} }
if (deviation != null) if (deviation != null)
{ {
p = p + deviation.Value; p = p + deviation.Value;
} }
return ShowTips(new Rectangle(p, parentControl.Size), strMsg, location, background, foreColor, fontSize, autoCloseTime, parentControl.FindForm(),blnTopMost); return ShowTips(new Rectangle(p, anchorControl.Size), strMsg, location, background, foreColor, fontSize, autoCloseTime, anchorControl.Parent, blnTopMost);
} }
#endregion #endregion
...@@ -316,14 +316,47 @@ namespace HZH_Controls.Forms ...@@ -316,14 +316,47 @@ namespace HZH_Controls.Forms
Color? foreColor = null, Color? foreColor = null,
int fontSize = 10, int fontSize = 10,
int autoCloseTime = 5000, int autoCloseTime = 5000,
Form parentForm = null, Control parentControl = null,
bool blnTopMost = true) bool blnTopMost = true)
{ {
FrmAnchorTips frm = new FrmAnchorTips(rectControl, strMsg, location, background, foreColor, fontSize, autoCloseTime); FrmAnchorTips frm = new FrmAnchorTips(rectControl, strMsg, location, background, foreColor, fontSize, autoCloseTime);
frm.TopMost = blnTopMost; frm.TopMost = blnTopMost;
frm.Show(parentForm); frm.Show(parentControl);
//if (parentControl != null)
//{
// parentControl.VisibleChanged += (a, b) =>
// {
// try
// {
// Control c = a as Control;
// if (CheckControlClose(c))
// {
// frm.Close();
// }
// }
// catch (Exception ex)
// {
// }
// };
//}
return frm; return frm;
} }
private static bool CheckControlClose(Control c)
{
if (c.IsDisposed || !c.Visible)
return true;
else if (c.Parent != null)
return CheckControlClose(c.Parent);
else
{
if (c is Form)
return false;
else
return true;
}
}
#endregion #endregion
#region Override #region Override
......
...@@ -487,25 +487,10 @@ namespace HZH_Controls.Forms ...@@ -487,25 +487,10 @@ namespace HZH_Controls.Forms
/// </summary> /// </summary>
public enum TipsState public enum TipsState
{ {
/// <summary> Default = -12542209,
/// The default Success = -9977286,
/// </summary> Info = -7299687,
Default = -1, Warning = -693140,
/// <summary>
/// The success
/// </summary>
Success = -6566849,
/// <summary>
/// The information
/// </summary>
Info = -12477983,
/// <summary>
/// The warning
/// </summary>
Warning = -357816,
/// <summary>
/// The error
/// </summary>
Error = -1097849 Error = -1097849
} }
} }
...@@ -46,6 +46,12 @@ ...@@ -46,6 +46,12 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Colors\BasisColors.cs" />
<Compile Include="Colors\ColorEnums.cs" />
<Compile Include="Colors\BorderColors.cs" />
<Compile Include="Colors\ColorExt.cs" />
<Compile Include="Colors\GradientColors.cs" />
<Compile Include="Colors\StatusColors.cs" />
<Compile Include="Controls\Charts\AuxiliaryLable.cs" /> <Compile Include="Controls\Charts\AuxiliaryLable.cs" />
<Compile Include="Controls\Charts\AuxiliaryLine.cs" /> <Compile Include="Controls\Charts\AuxiliaryLine.cs" />
<Compile Include="Controls\Charts\BarChart\BarChartItem.cs" /> <Compile Include="Controls\Charts\BarChart\BarChartItem.cs" />
...@@ -76,6 +82,27 @@ ...@@ -76,6 +82,27 @@
<Compile Include="Controls\GraphicalOverlay\GraphicalOverlayComponent.designer.cs"> <Compile Include="Controls\GraphicalOverlay\GraphicalOverlayComponent.designer.cs">
<DependentUpon>GraphicalOverlayComponent.cs</DependentUpon> <DependentUpon>GraphicalOverlayComponent.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Controls\NavigationMenu\NavigationMenuItem.cs" />
<Compile Include="Controls\NavigationMenu\NavigationMenuItemBase.cs" />
<Compile Include="Controls\NavigationMenu\NavigationMenuItemExt.cs" />
<Compile Include="Controls\NavigationMenu\UCNavigationMenu.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\NavigationMenu\UCNavigationMenu.Designer.cs">
<DependentUpon>UCNavigationMenu.cs</DependentUpon>
</Compile>
<Compile Include="Controls\NavigationMenu\UCNavigationMenuExt.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\NavigationMenu\UCNavigationMenuExt.Designer.cs">
<DependentUpon>UCNavigationMenuExt.cs</DependentUpon>
</Compile>
<Compile Include="Controls\NavigationMenu\UCNavigationMenuOffice.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\NavigationMenu\UCNavigationMenuOffice.Designer.cs">
<DependentUpon>UCNavigationMenuOffice.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Navigation\CrumbNavigationClickEventArgs.cs" /> <Compile Include="Controls\Navigation\CrumbNavigationClickEventArgs.cs" />
<Compile Include="Controls\Navigation\CrumbNavigationItem.cs" /> <Compile Include="Controls\Navigation\CrumbNavigationItem.cs" />
<Compile Include="Controls\Sampling\UCSampling.cs"> <Compile Include="Controls\Sampling\UCSampling.cs">
...@@ -91,6 +118,22 @@ ...@@ -91,6 +118,22 @@
<Compile Include="Controls\Shadow\ShadowComponent.cs"> <Compile Include="Controls\Shadow\ShadowComponent.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
</Compile> </Compile>
<Compile Include="Controls\SplitLabel\UCSplitLabel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\TimeLine\UCTimeLine.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\TimeLine\UCTimeLine.Designer.cs">
<DependentUpon>UCTimeLine.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Transfer\TransferEventArgs.cs" />
<Compile Include="Controls\Transfer\UCTransfer.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Transfer\UCTransfer.Designer.cs">
<DependentUpon>UCTransfer.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Verification\VerificationAttribute.cs" /> <Compile Include="Controls\Verification\VerificationAttribute.cs" />
<Compile Include="Controls\Verification\VerificationComponent.cs"> <Compile Include="Controls\Verification\VerificationComponent.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
...@@ -331,6 +374,9 @@ ...@@ -331,6 +374,9 @@
<SubType>Component</SubType> <SubType>Component</SubType>
</Compile> </Compile>
<Compile Include="Helpers\WindowsHook.cs" /> <Compile Include="Helpers\WindowsHook.cs" />
<Compile Include="Colors\LineColors.cs" />
<Compile Include="Colors\TableColors.cs" />
<Compile Include="Colors\TextColors.cs" />
<Compile Include="UIEditor\FrmSelectImage.cs"> <Compile Include="UIEditor\FrmSelectImage.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
...@@ -686,6 +732,15 @@ ...@@ -686,6 +732,15 @@
<EmbeddedResource Include="Controls\Menu\UCMenuParentItem.resx"> <EmbeddedResource Include="Controls\Menu\UCMenuParentItem.resx">
<DependentUpon>UCMenuParentItem.cs</DependentUpon> <DependentUpon>UCMenuParentItem.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Controls\NavigationMenu\UCNavigationMenu.resx">
<DependentUpon>UCNavigationMenu.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\NavigationMenu\UCNavigationMenuExt.resx">
<DependentUpon>UCNavigationMenuExt.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\NavigationMenu\UCNavigationMenuOffice.resx">
<DependentUpon>UCNavigationMenuOffice.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Navigation\UCCrumbNavigation.resx"> <EmbeddedResource Include="Controls\Navigation\UCCrumbNavigation.resx">
<DependentUpon>UCCrumbNavigation.cs</DependentUpon> <DependentUpon>UCCrumbNavigation.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
...@@ -731,6 +786,12 @@ ...@@ -731,6 +786,12 @@
<EmbeddedResource Include="Controls\Text\UCTextBoxEx.resx"> <EmbeddedResource Include="Controls\Text\UCTextBoxEx.resx">
<DependentUpon>UCTextBoxEx.cs</DependentUpon> <DependentUpon>UCTextBoxEx.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Controls\TimeLine\UCTimeLine.resx">
<DependentUpon>UCTimeLine.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Transfer\UCTransfer.resx">
<DependentUpon>UCTransfer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\UCControlBase.resx"> <EmbeddedResource Include="Controls\UCControlBase.resx">
<DependentUpon>UCControlBase.cs</DependentUpon> <DependentUpon>UCControlBase.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<package > <package >
<metadata> <metadata>
<id>$id$</id> <id>$id$</id>
<version>1.0.6</version> <version>1.0.7</version>
<title>HZHControls</title> <title>HZHControls</title>
<authors>HuangZhengHui</authors> <authors>HuangZhengHui</authors>
<owners>HuangZhengHui</owners> <owners>HuangZhengHui</owners>
......
...@@ -63,6 +63,13 @@ namespace Test ...@@ -63,6 +63,13 @@ namespace Test
tnControl.Nodes.Add("表单验证"); tnControl.Nodes.Add("表单验证");
tnControl.Nodes.Add("图片采样控件"); tnControl.Nodes.Add("图片采样控件");
tnControl.Nodes.Add("倒影"); tnControl.Nodes.Add("倒影");
tnControl.Nodes.Add("内置颜色");
tnControl.Nodes.Add("导航菜单");
tnControl.Nodes.Add("扩展导航菜单");
tnControl.Nodes.Add("类Office导航菜单");
tnControl.Nodes.Add("分割线标签");
tnControl.Nodes.Add("时间轴");
tnControl.Nodes.Add("穿梭框");
this.tvMenu.Nodes.Add(tnControl); this.tvMenu.Nodes.Add(tnControl);
TreeNode tnCharts = new TreeNode(" 图表"); TreeNode tnCharts = new TreeNode(" 图表");
...@@ -97,6 +104,7 @@ namespace Test ...@@ -97,6 +104,7 @@ namespace Test
{ {
panControl.Controls.Clear(); panControl.Controls.Clear();
string strName = e.Node.Text.Trim(); string strName = e.Node.Text.Trim();
this.Title = "控件DEMO--" + strName;
switch (strName) switch (strName)
{ {
#region 窗体 English:forms #region 窗体 English:forms
...@@ -253,11 +261,32 @@ namespace Test ...@@ -253,11 +261,32 @@ namespace Test
AddControl(new UC.UCTestVerification() { Dock = DockStyle.Fill }); AddControl(new UC.UCTestVerification() { Dock = DockStyle.Fill });
break; break;
case "图片采样控件": case "图片采样控件":
AddControl(new UC.UCTestSampling() ); AddControl(new UC.UCTestSampling());
break; break;
case "倒影": case "倒影":
AddControl(new UC.UCTestShadow()); AddControl(new UC.UCTestShadow());
break; break;
case "内置颜色":
AddControl(new UC.UCTestColors());
break;
case "导航菜单":
AddControl(new UC.UCTestNavigationMenu());
break;
case "扩展导航菜单":
AddControl(new UC.UCTestNavigationMenuExt());
break;
case "类Office导航菜单":
AddControl(new UC.UCTestNavigationMenuOffice());
break;
case "分割线标签":
AddControl(new UC.UCTestSplitLabel());
break;
case "时间轴":
AddControl(new UC.UCTestTimeLine() { Dock = DockStyle.Fill });
break;
case "穿梭框":
AddControl(new UC.UCTestTransfer());
break;
#endregion #endregion
#region 图表 English:Chart #region 图表 English:Chart
......
...@@ -19,6 +19,12 @@ namespace Test ...@@ -19,6 +19,12 @@ namespace Test
Application.ThreadException += Application_ThreadException; Application.ThreadException += Application_ThreadException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
Application.Run(new FrmMain()); Application.Run(new FrmMain());
Application.ApplicationExit += Application_ApplicationExit;
}
static void Application_ApplicationExit(object sender, EventArgs e)
{
Console.WriteLine("程序退出成功");
} }
......
...@@ -104,6 +104,12 @@ ...@@ -104,6 +104,12 @@
<Compile Include="UC\UCTestBlower.Designer.cs"> <Compile Include="UC\UCTestBlower.Designer.cs">
<DependentUpon>UCTestBlower.cs</DependentUpon> <DependentUpon>UCTestBlower.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="UC\UCTestColors.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestColors.Designer.cs">
<DependentUpon>UCTestColors.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestConduit.cs"> <Compile Include="UC\UCTestConduit.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
...@@ -206,6 +212,30 @@ ...@@ -206,6 +212,30 @@
<Compile Include="UC\UCTestMenu.Designer.cs"> <Compile Include="UC\UCTestMenu.Designer.cs">
<DependentUpon>UCTestMenu.cs</DependentUpon> <DependentUpon>UCTestMenu.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="UC\UCTestNavigationMenu.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestNavigationMenu.Designer.cs">
<DependentUpon>UCTestNavigationMenu.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestNavigationMenuExt.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestNavigationMenuExt.Designer.cs">
<DependentUpon>UCTestNavigationMenuExt.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestNavigationMenuOffice.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestNavigationMenuOffice.Designer.cs">
<DependentUpon>UCTestNavigationMenuOffice.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestNavigationMenuOfficeItem.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestNavigationMenuOfficeItem.Designer.cs">
<DependentUpon>UCTestNavigationMenuOfficeItem.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestPage.cs"> <Compile Include="UC\UCTestPage.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
...@@ -266,6 +296,12 @@ ...@@ -266,6 +296,12 @@
<Compile Include="UC\UCTestSignalLamp.Designer.cs"> <Compile Include="UC\UCTestSignalLamp.Designer.cs">
<DependentUpon>UCTestSignalLamp.cs</DependentUpon> <DependentUpon>UCTestSignalLamp.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="UC\UCTestSplitLabel.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestSplitLabel.Designer.cs">
<DependentUpon>UCTestSplitLabel.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestStep.cs"> <Compile Include="UC\UCTestStep.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
...@@ -284,6 +320,12 @@ ...@@ -284,6 +320,12 @@
<Compile Include="UC\UCTestThermometer.Designer.cs"> <Compile Include="UC\UCTestThermometer.Designer.cs">
<DependentUpon>UCTestThermometer.cs</DependentUpon> <DependentUpon>UCTestThermometer.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="UC\UCTestTimeLine.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestTimeLine.Designer.cs">
<DependentUpon>UCTestTimeLine.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestTips.cs"> <Compile Include="UC\UCTestTips.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
...@@ -296,6 +338,12 @@ ...@@ -296,6 +338,12 @@
<Compile Include="UC\UCTestTrackbar.Designer.cs"> <Compile Include="UC\UCTestTrackbar.Designer.cs">
<DependentUpon>UCTestTrackbar.cs</DependentUpon> <DependentUpon>UCTestTrackbar.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="UC\UCTestTransfer.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestTransfer.Designer.cs">
<DependentUpon>UCTestTransfer.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestTreeGridTable.cs"> <Compile Include="UC\UCTestTreeGridTable.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
...@@ -371,6 +419,9 @@ ...@@ -371,6 +419,9 @@
<EmbeddedResource Include="UC\UCTestBtns.resx"> <EmbeddedResource Include="UC\UCTestBtns.resx">
<DependentUpon>UCTestBtns.cs</DependentUpon> <DependentUpon>UCTestBtns.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UC\UCTestColors.resx">
<DependentUpon>UCTestColors.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestConduit.resx"> <EmbeddedResource Include="UC\UCTestConduit.resx">
<DependentUpon>UCTestConduit.cs</DependentUpon> <DependentUpon>UCTestConduit.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
...@@ -419,6 +470,18 @@ ...@@ -419,6 +470,18 @@
<EmbeddedResource Include="UC\UCTestNavigation.resx"> <EmbeddedResource Include="UC\UCTestNavigation.resx">
<DependentUpon>UCTestNavigation.cs</DependentUpon> <DependentUpon>UCTestNavigation.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UC\UCTestNavigationMenu.resx">
<DependentUpon>UCTestNavigationMenu.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestNavigationMenuExt.resx">
<DependentUpon>UCTestNavigationMenuExt.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestNavigationMenuOffice.resx">
<DependentUpon>UCTestNavigationMenuOffice.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestNavigationMenuOfficeItem.resx">
<DependentUpon>UCTestNavigationMenuOfficeItem.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestPage.resx"> <EmbeddedResource Include="UC\UCTestPage.resx">
<DependentUpon>UCTestPage.cs</DependentUpon> <DependentUpon>UCTestPage.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
...@@ -449,6 +512,9 @@ ...@@ -449,6 +512,9 @@
<EmbeddedResource Include="UC\UCTestSignalLamp.resx"> <EmbeddedResource Include="UC\UCTestSignalLamp.resx">
<DependentUpon>UCTestSignalLamp.cs</DependentUpon> <DependentUpon>UCTestSignalLamp.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UC\UCTestSplitLabel.resx">
<DependentUpon>UCTestSplitLabel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestStep.resx"> <EmbeddedResource Include="UC\UCTestStep.resx">
<DependentUpon>UCTestStep.cs</DependentUpon> <DependentUpon>UCTestStep.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
...@@ -458,12 +524,18 @@ ...@@ -458,12 +524,18 @@
<EmbeddedResource Include="UC\UCTestThermometer.resx"> <EmbeddedResource Include="UC\UCTestThermometer.resx">
<DependentUpon>UCTestThermometer.cs</DependentUpon> <DependentUpon>UCTestThermometer.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UC\UCTestTimeLine.resx">
<DependentUpon>UCTestTimeLine.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestTips.resx"> <EmbeddedResource Include="UC\UCTestTips.resx">
<DependentUpon>UCTestTips.cs</DependentUpon> <DependentUpon>UCTestTips.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UC\UCTestTrackbar.resx"> <EmbeddedResource Include="UC\UCTestTrackbar.resx">
<DependentUpon>UCTestTrackbar.cs</DependentUpon> <DependentUpon>UCTestTrackbar.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UC\UCTestTransfer.resx">
<DependentUpon>UCTestTransfer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestTreeGridTable.resx"> <EmbeddedResource Include="UC\UCTestTreeGridTable.resx">
<DependentUpon>UCTestTreeGridTable.cs</DependentUpon> <DependentUpon>UCTestTreeGridTable.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
......
namespace Test.UC
{
partial class UCTestColors
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.ucControlBase16 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase31 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase11 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase6 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase32 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase33 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase34 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase35 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase27 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase28 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase29 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase30 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase22 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase23 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase24 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase25 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase17 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase19 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase20 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase12 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase13 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase14 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase15 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase7 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase8 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase9 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase10 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase5 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase3 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase4 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase2 = new HZH_Controls.Controls.UCControlBase();
this.ucControlBase1 = new HZH_Controls.Controls.UCControlBase();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox7.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.ucControlBase5);
this.groupBox1.Controls.Add(this.ucControlBase3);
this.groupBox1.Controls.Add(this.ucControlBase4);
this.groupBox1.Controls.Add(this.ucControlBase2);
this.groupBox1.Controls.Add(this.ucControlBase1);
this.groupBox1.Location = new System.Drawing.Point(19, 19);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(891, 144);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Status Color";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.ucControlBase7);
this.groupBox2.Controls.Add(this.ucControlBase8);
this.groupBox2.Controls.Add(this.ucControlBase9);
this.groupBox2.Controls.Add(this.ucControlBase10);
this.groupBox2.Location = new System.Drawing.Point(19, 169);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(891, 144);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Text Color";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.ucControlBase12);
this.groupBox3.Controls.Add(this.ucControlBase13);
this.groupBox3.Controls.Add(this.ucControlBase14);
this.groupBox3.Controls.Add(this.ucControlBase15);
this.groupBox3.Location = new System.Drawing.Point(19, 319);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(891, 144);
this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Line Color";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.ucControlBase17);
this.groupBox4.Controls.Add(this.ucControlBase19);
this.groupBox4.Controls.Add(this.ucControlBase20);
this.groupBox4.Location = new System.Drawing.Point(19, 469);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(891, 144);
this.groupBox4.TabIndex = 0;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Basis Color";
//
// groupBox5
//
this.groupBox5.Controls.Add(this.ucControlBase22);
this.groupBox5.Controls.Add(this.ucControlBase23);
this.groupBox5.Controls.Add(this.ucControlBase24);
this.groupBox5.Controls.Add(this.ucControlBase25);
this.groupBox5.Location = new System.Drawing.Point(19, 619);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(891, 144);
this.groupBox5.TabIndex = 0;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "Table Color";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.ucControlBase27);
this.groupBox6.Controls.Add(this.ucControlBase28);
this.groupBox6.Controls.Add(this.ucControlBase29);
this.groupBox6.Controls.Add(this.ucControlBase30);
this.groupBox6.Location = new System.Drawing.Point(19, 769);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(891, 144);
this.groupBox6.TabIndex = 0;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "Border Color";
//
// groupBox7
//
this.groupBox7.Controls.Add(this.ucControlBase16);
this.groupBox7.Controls.Add(this.ucControlBase31);
this.groupBox7.Controls.Add(this.ucControlBase11);
this.groupBox7.Controls.Add(this.ucControlBase6);
this.groupBox7.Controls.Add(this.ucControlBase32);
this.groupBox7.Controls.Add(this.ucControlBase33);
this.groupBox7.Controls.Add(this.ucControlBase34);
this.groupBox7.Controls.Add(this.ucControlBase35);
this.groupBox7.Location = new System.Drawing.Point(19, 919);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(891, 144);
this.groupBox7.TabIndex = 0;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "Gradien Color";
//
// ucControlBase16
//
this.ucControlBase16.BackColor = System.Drawing.Color.White;
this.ucControlBase16.ConerRadius = 10;
this.ucControlBase16.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase16.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase16.IsRadius = true;
this.ucControlBase16.IsShowRect = false;
this.ucControlBase16.Location = new System.Drawing.Point(777, 30);
this.ucControlBase16.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase16.Name = "ucControlBase16";
this.ucControlBase16.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase16.RectWidth = 1;
this.ucControlBase16.Size = new System.Drawing.Size(100, 100);
this.ucControlBase16.TabIndex = 0;
//
// ucControlBase31
//
this.ucControlBase31.BackColor = System.Drawing.Color.White;
this.ucControlBase31.ConerRadius = 10;
this.ucControlBase31.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase31.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase31.IsRadius = true;
this.ucControlBase31.IsShowRect = false;
this.ucControlBase31.Location = new System.Drawing.Point(453, 30);
this.ucControlBase31.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase31.Name = "ucControlBase31";
this.ucControlBase31.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase31.RectWidth = 1;
this.ucControlBase31.Size = new System.Drawing.Size(100, 100);
this.ucControlBase31.TabIndex = 0;
//
// ucControlBase11
//
this.ucControlBase11.BackColor = System.Drawing.Color.White;
this.ucControlBase11.ConerRadius = 10;
this.ucControlBase11.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase11.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase11.IsRadius = true;
this.ucControlBase11.IsShowRect = false;
this.ucControlBase11.Location = new System.Drawing.Point(561, 30);
this.ucControlBase11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase11.Name = "ucControlBase11";
this.ucControlBase11.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase11.RectWidth = 1;
this.ucControlBase11.Size = new System.Drawing.Size(100, 100);
this.ucControlBase11.TabIndex = 0;
//
// ucControlBase6
//
this.ucControlBase6.BackColor = System.Drawing.Color.White;
this.ucControlBase6.ConerRadius = 10;
this.ucControlBase6.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase6.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase6.IsRadius = true;
this.ucControlBase6.IsShowRect = false;
this.ucControlBase6.Location = new System.Drawing.Point(669, 30);
this.ucControlBase6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase6.Name = "ucControlBase6";
this.ucControlBase6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase6.RectWidth = 1;
this.ucControlBase6.Size = new System.Drawing.Size(100, 100);
this.ucControlBase6.TabIndex = 0;
//
// ucControlBase32
//
this.ucControlBase32.BackColor = System.Drawing.Color.White;
this.ucControlBase32.ConerRadius = 10;
this.ucControlBase32.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase32.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase32.IsRadius = true;
this.ucControlBase32.IsShowRect = false;
this.ucControlBase32.Location = new System.Drawing.Point(237, 30);
this.ucControlBase32.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase32.Name = "ucControlBase32";
this.ucControlBase32.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase32.RectWidth = 1;
this.ucControlBase32.Size = new System.Drawing.Size(100, 100);
this.ucControlBase32.TabIndex = 0;
//
// ucControlBase33
//
this.ucControlBase33.BackColor = System.Drawing.Color.White;
this.ucControlBase33.ConerRadius = 10;
this.ucControlBase33.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase33.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase33.IsRadius = true;
this.ucControlBase33.IsShowRect = false;
this.ucControlBase33.Location = new System.Drawing.Point(345, 30);
this.ucControlBase33.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase33.Name = "ucControlBase33";
this.ucControlBase33.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase33.RectWidth = 1;
this.ucControlBase33.Size = new System.Drawing.Size(100, 100);
this.ucControlBase33.TabIndex = 0;
//
// ucControlBase34
//
this.ucControlBase34.BackColor = System.Drawing.Color.White;
this.ucControlBase34.ConerRadius = 10;
this.ucControlBase34.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase34.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase34.IsRadius = true;
this.ucControlBase34.IsShowRect = false;
this.ucControlBase34.Location = new System.Drawing.Point(129, 30);
this.ucControlBase34.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase34.Name = "ucControlBase34";
this.ucControlBase34.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase34.RectWidth = 1;
this.ucControlBase34.Size = new System.Drawing.Size(100, 100);
this.ucControlBase34.TabIndex = 0;
//
// ucControlBase35
//
this.ucControlBase35.BackColor = System.Drawing.Color.White;
this.ucControlBase35.ConerRadius = 10;
this.ucControlBase35.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase35.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase35.IsRadius = true;
this.ucControlBase35.IsShowRect = false;
this.ucControlBase35.Location = new System.Drawing.Point(21, 30);
this.ucControlBase35.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase35.Name = "ucControlBase35";
this.ucControlBase35.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase35.RectWidth = 1;
this.ucControlBase35.Size = new System.Drawing.Size(100, 100);
this.ucControlBase35.TabIndex = 0;
//
// ucControlBase27
//
this.ucControlBase27.BackColor = System.Drawing.Color.White;
this.ucControlBase27.ConerRadius = 10;
this.ucControlBase27.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase27.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase27.IsRadius = true;
this.ucControlBase27.IsShowRect = false;
this.ucControlBase27.Location = new System.Drawing.Point(237, 30);
this.ucControlBase27.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase27.Name = "ucControlBase27";
this.ucControlBase27.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase27.RectWidth = 1;
this.ucControlBase27.Size = new System.Drawing.Size(100, 100);
this.ucControlBase27.TabIndex = 0;
//
// ucControlBase28
//
this.ucControlBase28.BackColor = System.Drawing.Color.White;
this.ucControlBase28.ConerRadius = 10;
this.ucControlBase28.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase28.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase28.IsRadius = true;
this.ucControlBase28.IsShowRect = false;
this.ucControlBase28.Location = new System.Drawing.Point(345, 30);
this.ucControlBase28.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase28.Name = "ucControlBase28";
this.ucControlBase28.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase28.RectWidth = 1;
this.ucControlBase28.Size = new System.Drawing.Size(100, 100);
this.ucControlBase28.TabIndex = 0;
//
// ucControlBase29
//
this.ucControlBase29.BackColor = System.Drawing.Color.White;
this.ucControlBase29.ConerRadius = 10;
this.ucControlBase29.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase29.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase29.IsRadius = true;
this.ucControlBase29.IsShowRect = false;
this.ucControlBase29.Location = new System.Drawing.Point(129, 30);
this.ucControlBase29.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase29.Name = "ucControlBase29";
this.ucControlBase29.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase29.RectWidth = 1;
this.ucControlBase29.Size = new System.Drawing.Size(100, 100);
this.ucControlBase29.TabIndex = 0;
//
// ucControlBase30
//
this.ucControlBase30.BackColor = System.Drawing.Color.White;
this.ucControlBase30.ConerRadius = 10;
this.ucControlBase30.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase30.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase30.IsRadius = true;
this.ucControlBase30.IsShowRect = false;
this.ucControlBase30.Location = new System.Drawing.Point(21, 30);
this.ucControlBase30.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase30.Name = "ucControlBase30";
this.ucControlBase30.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase30.RectWidth = 1;
this.ucControlBase30.Size = new System.Drawing.Size(100, 100);
this.ucControlBase30.TabIndex = 0;
//
// ucControlBase22
//
this.ucControlBase22.BackColor = System.Drawing.Color.White;
this.ucControlBase22.ConerRadius = 10;
this.ucControlBase22.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase22.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase22.IsRadius = true;
this.ucControlBase22.IsShowRect = false;
this.ucControlBase22.Location = new System.Drawing.Point(237, 30);
this.ucControlBase22.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase22.Name = "ucControlBase22";
this.ucControlBase22.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase22.RectWidth = 1;
this.ucControlBase22.Size = new System.Drawing.Size(100, 100);
this.ucControlBase22.TabIndex = 0;
//
// ucControlBase23
//
this.ucControlBase23.BackColor = System.Drawing.Color.White;
this.ucControlBase23.ConerRadius = 10;
this.ucControlBase23.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase23.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase23.IsRadius = true;
this.ucControlBase23.IsShowRect = false;
this.ucControlBase23.Location = new System.Drawing.Point(345, 30);
this.ucControlBase23.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase23.Name = "ucControlBase23";
this.ucControlBase23.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase23.RectWidth = 1;
this.ucControlBase23.Size = new System.Drawing.Size(100, 100);
this.ucControlBase23.TabIndex = 0;
//
// ucControlBase24
//
this.ucControlBase24.BackColor = System.Drawing.Color.White;
this.ucControlBase24.ConerRadius = 10;
this.ucControlBase24.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase24.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase24.IsRadius = true;
this.ucControlBase24.IsShowRect = false;
this.ucControlBase24.Location = new System.Drawing.Point(129, 30);
this.ucControlBase24.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase24.Name = "ucControlBase24";
this.ucControlBase24.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase24.RectWidth = 1;
this.ucControlBase24.Size = new System.Drawing.Size(100, 100);
this.ucControlBase24.TabIndex = 0;
//
// ucControlBase25
//
this.ucControlBase25.BackColor = System.Drawing.Color.White;
this.ucControlBase25.ConerRadius = 10;
this.ucControlBase25.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase25.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase25.IsRadius = true;
this.ucControlBase25.IsShowRect = false;
this.ucControlBase25.Location = new System.Drawing.Point(21, 30);
this.ucControlBase25.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase25.Name = "ucControlBase25";
this.ucControlBase25.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase25.RectWidth = 1;
this.ucControlBase25.Size = new System.Drawing.Size(100, 100);
this.ucControlBase25.TabIndex = 0;
//
// ucControlBase17
//
this.ucControlBase17.BackColor = System.Drawing.Color.White;
this.ucControlBase17.ConerRadius = 10;
this.ucControlBase17.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase17.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase17.IsRadius = true;
this.ucControlBase17.IsShowRect = false;
this.ucControlBase17.Location = new System.Drawing.Point(237, 30);
this.ucControlBase17.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase17.Name = "ucControlBase17";
this.ucControlBase17.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase17.RectWidth = 1;
this.ucControlBase17.Size = new System.Drawing.Size(100, 100);
this.ucControlBase17.TabIndex = 0;
//
// ucControlBase19
//
this.ucControlBase19.BackColor = System.Drawing.Color.White;
this.ucControlBase19.ConerRadius = 10;
this.ucControlBase19.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase19.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase19.IsRadius = true;
this.ucControlBase19.IsShowRect = false;
this.ucControlBase19.Location = new System.Drawing.Point(129, 30);
this.ucControlBase19.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase19.Name = "ucControlBase19";
this.ucControlBase19.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase19.RectWidth = 1;
this.ucControlBase19.Size = new System.Drawing.Size(100, 100);
this.ucControlBase19.TabIndex = 0;
//
// ucControlBase20
//
this.ucControlBase20.BackColor = System.Drawing.Color.White;
this.ucControlBase20.ConerRadius = 10;
this.ucControlBase20.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase20.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase20.IsRadius = true;
this.ucControlBase20.IsShowRect = false;
this.ucControlBase20.Location = new System.Drawing.Point(21, 30);
this.ucControlBase20.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase20.Name = "ucControlBase20";
this.ucControlBase20.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase20.RectWidth = 1;
this.ucControlBase20.Size = new System.Drawing.Size(100, 100);
this.ucControlBase20.TabIndex = 0;
//
// ucControlBase12
//
this.ucControlBase12.BackColor = System.Drawing.Color.White;
this.ucControlBase12.ConerRadius = 10;
this.ucControlBase12.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase12.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase12.IsRadius = true;
this.ucControlBase12.IsShowRect = false;
this.ucControlBase12.Location = new System.Drawing.Point(237, 30);
this.ucControlBase12.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase12.Name = "ucControlBase12";
this.ucControlBase12.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase12.RectWidth = 1;
this.ucControlBase12.Size = new System.Drawing.Size(100, 100);
this.ucControlBase12.TabIndex = 0;
//
// ucControlBase13
//
this.ucControlBase13.BackColor = System.Drawing.Color.White;
this.ucControlBase13.ConerRadius = 10;
this.ucControlBase13.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase13.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase13.IsRadius = true;
this.ucControlBase13.IsShowRect = false;
this.ucControlBase13.Location = new System.Drawing.Point(345, 30);
this.ucControlBase13.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase13.Name = "ucControlBase13";
this.ucControlBase13.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase13.RectWidth = 1;
this.ucControlBase13.Size = new System.Drawing.Size(100, 100);
this.ucControlBase13.TabIndex = 0;
//
// ucControlBase14
//
this.ucControlBase14.BackColor = System.Drawing.Color.White;
this.ucControlBase14.ConerRadius = 10;
this.ucControlBase14.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase14.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase14.IsRadius = true;
this.ucControlBase14.IsShowRect = false;
this.ucControlBase14.Location = new System.Drawing.Point(129, 30);
this.ucControlBase14.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase14.Name = "ucControlBase14";
this.ucControlBase14.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase14.RectWidth = 1;
this.ucControlBase14.Size = new System.Drawing.Size(100, 100);
this.ucControlBase14.TabIndex = 0;
//
// ucControlBase15
//
this.ucControlBase15.BackColor = System.Drawing.Color.White;
this.ucControlBase15.ConerRadius = 10;
this.ucControlBase15.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase15.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase15.IsRadius = true;
this.ucControlBase15.IsShowRect = false;
this.ucControlBase15.Location = new System.Drawing.Point(21, 30);
this.ucControlBase15.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase15.Name = "ucControlBase15";
this.ucControlBase15.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase15.RectWidth = 1;
this.ucControlBase15.Size = new System.Drawing.Size(100, 100);
this.ucControlBase15.TabIndex = 0;
//
// ucControlBase7
//
this.ucControlBase7.BackColor = System.Drawing.Color.White;
this.ucControlBase7.ConerRadius = 10;
this.ucControlBase7.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase7.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase7.IsRadius = true;
this.ucControlBase7.IsShowRect = false;
this.ucControlBase7.Location = new System.Drawing.Point(237, 30);
this.ucControlBase7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase7.Name = "ucControlBase7";
this.ucControlBase7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase7.RectWidth = 1;
this.ucControlBase7.Size = new System.Drawing.Size(100, 100);
this.ucControlBase7.TabIndex = 0;
//
// ucControlBase8
//
this.ucControlBase8.BackColor = System.Drawing.Color.White;
this.ucControlBase8.ConerRadius = 10;
this.ucControlBase8.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase8.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase8.IsRadius = true;
this.ucControlBase8.IsShowRect = false;
this.ucControlBase8.Location = new System.Drawing.Point(345, 30);
this.ucControlBase8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase8.Name = "ucControlBase8";
this.ucControlBase8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase8.RectWidth = 1;
this.ucControlBase8.Size = new System.Drawing.Size(100, 100);
this.ucControlBase8.TabIndex = 0;
//
// ucControlBase9
//
this.ucControlBase9.BackColor = System.Drawing.Color.White;
this.ucControlBase9.ConerRadius = 10;
this.ucControlBase9.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase9.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase9.IsRadius = true;
this.ucControlBase9.IsShowRect = false;
this.ucControlBase9.Location = new System.Drawing.Point(129, 30);
this.ucControlBase9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase9.Name = "ucControlBase9";
this.ucControlBase9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase9.RectWidth = 1;
this.ucControlBase9.Size = new System.Drawing.Size(100, 100);
this.ucControlBase9.TabIndex = 0;
//
// ucControlBase10
//
this.ucControlBase10.BackColor = System.Drawing.Color.White;
this.ucControlBase10.ConerRadius = 10;
this.ucControlBase10.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase10.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase10.IsRadius = true;
this.ucControlBase10.IsShowRect = false;
this.ucControlBase10.Location = new System.Drawing.Point(21, 30);
this.ucControlBase10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase10.Name = "ucControlBase10";
this.ucControlBase10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase10.RectWidth = 1;
this.ucControlBase10.Size = new System.Drawing.Size(100, 100);
this.ucControlBase10.TabIndex = 0;
//
// ucControlBase5
//
this.ucControlBase5.BackColor = System.Drawing.Color.White;
this.ucControlBase5.ConerRadius = 10;
this.ucControlBase5.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase5.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase5.IsRadius = true;
this.ucControlBase5.IsShowRect = false;
this.ucControlBase5.Location = new System.Drawing.Point(453, 30);
this.ucControlBase5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase5.Name = "ucControlBase5";
this.ucControlBase5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase5.RectWidth = 1;
this.ucControlBase5.Size = new System.Drawing.Size(100, 100);
this.ucControlBase5.TabIndex = 0;
//
// ucControlBase3
//
this.ucControlBase3.BackColor = System.Drawing.Color.White;
this.ucControlBase3.ConerRadius = 10;
this.ucControlBase3.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase3.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase3.IsRadius = true;
this.ucControlBase3.IsShowRect = false;
this.ucControlBase3.Location = new System.Drawing.Point(237, 30);
this.ucControlBase3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase3.Name = "ucControlBase3";
this.ucControlBase3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase3.RectWidth = 1;
this.ucControlBase3.Size = new System.Drawing.Size(100, 100);
this.ucControlBase3.TabIndex = 0;
//
// ucControlBase4
//
this.ucControlBase4.BackColor = System.Drawing.Color.White;
this.ucControlBase4.ConerRadius = 10;
this.ucControlBase4.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase4.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase4.IsRadius = true;
this.ucControlBase4.IsShowRect = false;
this.ucControlBase4.Location = new System.Drawing.Point(345, 30);
this.ucControlBase4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase4.Name = "ucControlBase4";
this.ucControlBase4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase4.RectWidth = 1;
this.ucControlBase4.Size = new System.Drawing.Size(100, 100);
this.ucControlBase4.TabIndex = 0;
//
// ucControlBase2
//
this.ucControlBase2.BackColor = System.Drawing.Color.White;
this.ucControlBase2.ConerRadius = 10;
this.ucControlBase2.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase2.IsRadius = true;
this.ucControlBase2.IsShowRect = false;
this.ucControlBase2.Location = new System.Drawing.Point(129, 30);
this.ucControlBase2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase2.Name = "ucControlBase2";
this.ucControlBase2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase2.RectWidth = 1;
this.ucControlBase2.Size = new System.Drawing.Size(100, 100);
this.ucControlBase2.TabIndex = 0;
//
// ucControlBase1
//
this.ucControlBase1.BackColor = System.Drawing.Color.White;
this.ucControlBase1.ConerRadius = 10;
this.ucControlBase1.FillColor = System.Drawing.Color.Transparent;
this.ucControlBase1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase1.IsRadius = true;
this.ucControlBase1.IsShowRect = false;
this.ucControlBase1.Location = new System.Drawing.Point(21, 30);
this.ucControlBase1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase1.Name = "ucControlBase1";
this.ucControlBase1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase1.RectWidth = 1;
this.ucControlBase1.Size = new System.Drawing.Size(100, 100);
this.ucControlBase1.TabIndex = 0;
//
// UCTestColors
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.groupBox7);
this.Controls.Add(this.groupBox6);
this.Controls.Add(this.groupBox5);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "UCTestColors";
this.Size = new System.Drawing.Size(1145, 1079);
this.Load += new System.EventHandler(this.UCTestColors_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.groupBox5.ResumeLayout(false);
this.groupBox6.ResumeLayout(false);
this.groupBox7.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private HZH_Controls.Controls.UCControlBase ucControlBase1;
private HZH_Controls.Controls.UCControlBase ucControlBase5;
private HZH_Controls.Controls.UCControlBase ucControlBase3;
private HZH_Controls.Controls.UCControlBase ucControlBase4;
private HZH_Controls.Controls.UCControlBase ucControlBase2;
private System.Windows.Forms.GroupBox groupBox2;
private HZH_Controls.Controls.UCControlBase ucControlBase7;
private HZH_Controls.Controls.UCControlBase ucControlBase8;
private HZH_Controls.Controls.UCControlBase ucControlBase9;
private HZH_Controls.Controls.UCControlBase ucControlBase10;
private System.Windows.Forms.GroupBox groupBox3;
private HZH_Controls.Controls.UCControlBase ucControlBase12;
private HZH_Controls.Controls.UCControlBase ucControlBase13;
private HZH_Controls.Controls.UCControlBase ucControlBase14;
private HZH_Controls.Controls.UCControlBase ucControlBase15;
private System.Windows.Forms.GroupBox groupBox4;
private HZH_Controls.Controls.UCControlBase ucControlBase17;
private HZH_Controls.Controls.UCControlBase ucControlBase19;
private HZH_Controls.Controls.UCControlBase ucControlBase20;
private System.Windows.Forms.GroupBox groupBox5;
private HZH_Controls.Controls.UCControlBase ucControlBase22;
private HZH_Controls.Controls.UCControlBase ucControlBase23;
private HZH_Controls.Controls.UCControlBase ucControlBase24;
private HZH_Controls.Controls.UCControlBase ucControlBase25;
private System.Windows.Forms.GroupBox groupBox6;
private HZH_Controls.Controls.UCControlBase ucControlBase27;
private HZH_Controls.Controls.UCControlBase ucControlBase28;
private HZH_Controls.Controls.UCControlBase ucControlBase29;
private HZH_Controls.Controls.UCControlBase ucControlBase30;
private System.Windows.Forms.GroupBox groupBox7;
private HZH_Controls.Controls.UCControlBase ucControlBase31;
private HZH_Controls.Controls.UCControlBase ucControlBase32;
private HZH_Controls.Controls.UCControlBase ucControlBase33;
private HZH_Controls.Controls.UCControlBase ucControlBase34;
private HZH_Controls.Controls.UCControlBase ucControlBase35;
private HZH_Controls.Controls.UCControlBase ucControlBase16;
private HZH_Controls.Controls.UCControlBase ucControlBase11;
private HZH_Controls.Controls.UCControlBase ucControlBase6;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace Test.UC
{
[ToolboxItem(false)]
public partial class UCTestColors : UserControl
{
public UCTestColors()
{
InitializeComponent();
}
private void UCTestColors_Load(object sender, EventArgs e)
{
for (int i = 0; i < groupBox1.Controls.Count; i++)
{
groupBox1.Controls[i].BackColor = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.StatusColorsTypes)(i+1)))[0];
}
for (int i = 0; i < groupBox2.Controls.Count; i++)
{
groupBox2.Controls[i].BackColor = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.TextColorsTypes)(i+1)))[0];
}
for (int i = 0; i < groupBox3.Controls.Count; i++)
{
groupBox3.Controls[i].BackColor = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.LineColorsTypes)(i+1)))[0];
}
for (int i = 0; i < groupBox4.Controls.Count; i++)
{
groupBox4.Controls[i].BackColor = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.BasisColorsTypes)(i+1)))[0];
}
for (int i = 0; i < groupBox5.Controls.Count; i++)
{
groupBox5.Controls[i].BackColor = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.TableColorsTypes)(i+1)))[0];
}
for (int i = 0; i < groupBox6.Controls.Count; i++)
{
groupBox6.Controls[i].BackColor = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.BorderColorsTypes)(i+1)))[0];
}
for (int i = 0; i < groupBox7.Controls.Count; i++)
{
groupBox7.Controls[i].Paint += UCTestColors_Paint;
}
}
void UCTestColors_Paint(object sender, PaintEventArgs e)
{
Control c = sender as Control;
int i = groupBox7.Controls.IndexOf(c);
Color[] cs = HZH_Controls.ColorExt.GetInternalColor(((HZH_Controls.GradientColorsTypes)(i+1)));
HZH_Controls.ControlHelper.SetGDIHigh(e.Graphics);
LinearGradientBrush lgb = new LinearGradientBrush(c.ClientRectangle, cs[0], cs[1], 20f);
e.Graphics.FillRectangle(lgb, c.ClientRectangle);
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
namespace Test.UC
{
partial class UCTestNavigationMenu
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem1 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem2 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem3 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem4 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem5 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem6 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem7 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem8 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem9 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem10 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem11 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem12 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem13 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem14 = new HZH_Controls.Controls.NavigationMenuItem();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTestNavigationMenu));
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem15 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem16 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem17 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem18 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem19 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem20 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem21 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem22 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem23 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem24 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem25 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem26 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem27 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem28 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem29 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem30 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem31 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem32 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem33 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem34 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem35 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem36 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem37 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem38 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem39 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem40 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem41 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem42 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem43 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem44 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem45 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem46 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem47 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem48 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem49 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem50 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem51 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem52 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem53 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem54 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem55 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem56 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem57 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem58 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem59 = new HZH_Controls.Controls.NavigationMenuItem();
HZH_Controls.Controls.NavigationMenuItem navigationMenuItem60 = new HZH_Controls.Controls.NavigationMenuItem();
this.ucNavigationMenu3 = new HZH_Controls.Controls.UCNavigationMenu();
this.ucNavigationMenu2 = new HZH_Controls.Controls.UCNavigationMenu();
this.ucNavigationMenu1 = new HZH_Controls.Controls.UCNavigationMenu();
this.ucNavigationMenu4 = new HZH_Controls.Controls.UCNavigationMenu();
this.SuspendLayout();
//
// ucNavigationMenu3
//
this.ucNavigationMenu3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucNavigationMenu3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(159)))), ((int)(((byte)(255)))));
this.ucNavigationMenu3.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenu3.ForeColor = System.Drawing.Color.White;
navigationMenuItem1.AnchorRight = false;
navigationMenuItem1.DataSource = null;
navigationMenuItem1.HasSplitLintAtTop = false;
navigationMenuItem1.Icon = null;
navigationMenuItem2.AnchorRight = false;
navigationMenuItem2.DataSource = null;
navigationMenuItem2.HasSplitLintAtTop = false;
navigationMenuItem2.Icon = null;
navigationMenuItem3.AnchorRight = false;
navigationMenuItem3.DataSource = null;
navigationMenuItem3.HasSplitLintAtTop = false;
navigationMenuItem3.Icon = null;
navigationMenuItem3.Items = null;
navigationMenuItem3.ItemWidth = 100;
navigationMenuItem3.ShowTip = false;
navigationMenuItem3.Text = "1";
navigationMenuItem3.TipText = null;
navigationMenuItem4.AnchorRight = false;
navigationMenuItem4.DataSource = null;
navigationMenuItem4.HasSplitLintAtTop = false;
navigationMenuItem4.Icon = null;
navigationMenuItem5.AnchorRight = false;
navigationMenuItem5.DataSource = null;
navigationMenuItem5.HasSplitLintAtTop = false;
navigationMenuItem5.Icon = null;
navigationMenuItem5.Items = null;
navigationMenuItem5.ItemWidth = 100;
navigationMenuItem5.ShowTip = false;
navigationMenuItem5.Text = "1";
navigationMenuItem5.TipText = null;
navigationMenuItem6.AnchorRight = false;
navigationMenuItem6.DataSource = null;
navigationMenuItem6.HasSplitLintAtTop = false;
navigationMenuItem6.Icon = null;
navigationMenuItem6.Items = null;
navigationMenuItem6.ItemWidth = 100;
navigationMenuItem6.ShowTip = false;
navigationMenuItem6.Text = "2";
navigationMenuItem6.TipText = null;
navigationMenuItem7.AnchorRight = false;
navigationMenuItem7.DataSource = null;
navigationMenuItem7.HasSplitLintAtTop = false;
navigationMenuItem7.Icon = null;
navigationMenuItem7.Items = null;
navigationMenuItem7.ItemWidth = 100;
navigationMenuItem7.ShowTip = false;
navigationMenuItem7.Text = "3";
navigationMenuItem7.TipText = null;
navigationMenuItem4.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem5,
navigationMenuItem6,
navigationMenuItem7};
navigationMenuItem4.ItemWidth = 100;
navigationMenuItem4.ShowTip = false;
navigationMenuItem4.Text = "2";
navigationMenuItem4.TipText = null;
navigationMenuItem8.AnchorRight = false;
navigationMenuItem8.DataSource = null;
navigationMenuItem8.HasSplitLintAtTop = false;
navigationMenuItem8.Icon = null;
navigationMenuItem8.Items = null;
navigationMenuItem8.ItemWidth = 100;
navigationMenuItem8.ShowTip = false;
navigationMenuItem8.Text = "3";
navigationMenuItem8.TipText = null;
navigationMenuItem2.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem3,
navigationMenuItem4,
navigationMenuItem8};
navigationMenuItem2.ItemWidth = 100;
navigationMenuItem2.ShowTip = false;
navigationMenuItem2.Text = "子菜单1";
navigationMenuItem2.TipText = null;
navigationMenuItem9.AnchorRight = false;
navigationMenuItem9.DataSource = null;
navigationMenuItem9.HasSplitLintAtTop = false;
navigationMenuItem9.Icon = null;
navigationMenuItem9.Items = null;
navigationMenuItem9.ItemWidth = 100;
navigationMenuItem9.ShowTip = false;
navigationMenuItem9.Text = "子菜单2";
navigationMenuItem9.TipText = null;
navigationMenuItem10.AnchorRight = false;
navigationMenuItem10.DataSource = null;
navigationMenuItem10.HasSplitLintAtTop = true;
navigationMenuItem10.Icon = null;
navigationMenuItem10.Items = null;
navigationMenuItem10.ItemWidth = 100;
navigationMenuItem10.ShowTip = false;
navigationMenuItem10.Text = "子菜单3";
navigationMenuItem10.TipText = null;
navigationMenuItem1.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem2,
navigationMenuItem9,
navigationMenuItem10};
navigationMenuItem1.ItemWidth = 100;
navigationMenuItem1.ShowTip = true;
navigationMenuItem1.Text = "菜单1";
navigationMenuItem1.TipText = null;
navigationMenuItem11.AnchorRight = false;
navigationMenuItem11.DataSource = null;
navigationMenuItem11.HasSplitLintAtTop = false;
navigationMenuItem11.Icon = null;
navigationMenuItem12.AnchorRight = false;
navigationMenuItem12.DataSource = null;
navigationMenuItem12.HasSplitLintAtTop = false;
navigationMenuItem12.Icon = null;
navigationMenuItem12.Items = null;
navigationMenuItem12.ItemWidth = 100;
navigationMenuItem12.ShowTip = false;
navigationMenuItem12.Text = "1";
navigationMenuItem12.TipText = null;
navigationMenuItem13.AnchorRight = false;
navigationMenuItem13.DataSource = null;
navigationMenuItem13.HasSplitLintAtTop = false;
navigationMenuItem13.Icon = null;
navigationMenuItem13.Items = null;
navigationMenuItem13.ItemWidth = 100;
navigationMenuItem13.ShowTip = false;
navigationMenuItem13.Text = "2";
navigationMenuItem13.TipText = null;
navigationMenuItem11.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem12,
navigationMenuItem13};
navigationMenuItem11.ItemWidth = 100;
navigationMenuItem11.ShowTip = true;
navigationMenuItem11.Text = "菜单2";
navigationMenuItem11.TipText = "4";
navigationMenuItem14.AnchorRight = true;
navigationMenuItem14.DataSource = null;
navigationMenuItem14.HasSplitLintAtTop = false;
navigationMenuItem14.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItem14.Icon")));
navigationMenuItem14.Items = null;
navigationMenuItem14.ItemWidth = 100;
navigationMenuItem14.ShowTip = false;
navigationMenuItem14.Text = "菜单3";
navigationMenuItem14.TipText = null;
navigationMenuItem15.AnchorRight = true;
navigationMenuItem15.DataSource = null;
navigationMenuItem15.HasSplitLintAtTop = false;
navigationMenuItem15.Icon = null;
navigationMenuItem15.Items = null;
navigationMenuItem15.ItemWidth = 100;
navigationMenuItem15.ShowTip = false;
navigationMenuItem15.Text = "菜单4";
navigationMenuItem15.TipText = null;
this.ucNavigationMenu3.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem1,
navigationMenuItem11,
navigationMenuItem14,
navigationMenuItem15};
this.ucNavigationMenu3.Location = new System.Drawing.Point(0, 231);
this.ucNavigationMenu3.Name = "ucNavigationMenu3";
this.ucNavigationMenu3.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenu3.Size = new System.Drawing.Size(893, 60);
this.ucNavigationMenu3.TabIndex = 0;
this.ucNavigationMenu3.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
this.ucNavigationMenu3.ClickItemed += new System.EventHandler(this.ucNavigationMenu1_ClickItemed);
//
// ucNavigationMenu2
//
this.ucNavigationMenu2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucNavigationMenu2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
this.ucNavigationMenu2.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenu2.ForeColor = System.Drawing.Color.White;
navigationMenuItem16.AnchorRight = false;
navigationMenuItem16.DataSource = null;
navigationMenuItem16.HasSplitLintAtTop = false;
navigationMenuItem16.Icon = null;
navigationMenuItem17.AnchorRight = false;
navigationMenuItem17.DataSource = null;
navigationMenuItem17.HasSplitLintAtTop = false;
navigationMenuItem17.Icon = null;
navigationMenuItem18.AnchorRight = false;
navigationMenuItem18.DataSource = null;
navigationMenuItem18.HasSplitLintAtTop = false;
navigationMenuItem18.Icon = null;
navigationMenuItem18.Items = null;
navigationMenuItem18.ItemWidth = 100;
navigationMenuItem18.ShowTip = false;
navigationMenuItem18.Text = "1";
navigationMenuItem18.TipText = null;
navigationMenuItem19.AnchorRight = false;
navigationMenuItem19.DataSource = null;
navigationMenuItem19.HasSplitLintAtTop = false;
navigationMenuItem19.Icon = null;
navigationMenuItem20.AnchorRight = false;
navigationMenuItem20.DataSource = null;
navigationMenuItem20.HasSplitLintAtTop = false;
navigationMenuItem20.Icon = null;
navigationMenuItem20.Items = null;
navigationMenuItem20.ItemWidth = 100;
navigationMenuItem20.ShowTip = false;
navigationMenuItem20.Text = "1";
navigationMenuItem20.TipText = null;
navigationMenuItem21.AnchorRight = false;
navigationMenuItem21.DataSource = null;
navigationMenuItem21.HasSplitLintAtTop = false;
navigationMenuItem21.Icon = null;
navigationMenuItem21.Items = null;
navigationMenuItem21.ItemWidth = 100;
navigationMenuItem21.ShowTip = false;
navigationMenuItem21.Text = "2";
navigationMenuItem21.TipText = null;
navigationMenuItem22.AnchorRight = false;
navigationMenuItem22.DataSource = null;
navigationMenuItem22.HasSplitLintAtTop = false;
navigationMenuItem22.Icon = null;
navigationMenuItem22.Items = null;
navigationMenuItem22.ItemWidth = 100;
navigationMenuItem22.ShowTip = false;
navigationMenuItem22.Text = "3";
navigationMenuItem22.TipText = null;
navigationMenuItem19.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem20,
navigationMenuItem21,
navigationMenuItem22};
navigationMenuItem19.ItemWidth = 100;
navigationMenuItem19.ShowTip = false;
navigationMenuItem19.Text = "2";
navigationMenuItem19.TipText = null;
navigationMenuItem23.AnchorRight = false;
navigationMenuItem23.DataSource = null;
navigationMenuItem23.HasSplitLintAtTop = false;
navigationMenuItem23.Icon = null;
navigationMenuItem23.Items = null;
navigationMenuItem23.ItemWidth = 100;
navigationMenuItem23.ShowTip = false;
navigationMenuItem23.Text = "3";
navigationMenuItem23.TipText = null;
navigationMenuItem17.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem18,
navigationMenuItem19,
navigationMenuItem23};
navigationMenuItem17.ItemWidth = 100;
navigationMenuItem17.ShowTip = false;
navigationMenuItem17.Text = "子菜单1";
navigationMenuItem17.TipText = null;
navigationMenuItem24.AnchorRight = false;
navigationMenuItem24.DataSource = null;
navigationMenuItem24.HasSplitLintAtTop = false;
navigationMenuItem24.Icon = null;
navigationMenuItem24.Items = null;
navigationMenuItem24.ItemWidth = 100;
navigationMenuItem24.ShowTip = false;
navigationMenuItem24.Text = "子菜单2";
navigationMenuItem24.TipText = null;
navigationMenuItem25.AnchorRight = false;
navigationMenuItem25.DataSource = null;
navigationMenuItem25.HasSplitLintAtTop = true;
navigationMenuItem25.Icon = null;
navigationMenuItem25.Items = null;
navigationMenuItem25.ItemWidth = 100;
navigationMenuItem25.ShowTip = false;
navigationMenuItem25.Text = "子菜单3";
navigationMenuItem25.TipText = null;
navigationMenuItem16.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem17,
navigationMenuItem24,
navigationMenuItem25};
navigationMenuItem16.ItemWidth = 100;
navigationMenuItem16.ShowTip = true;
navigationMenuItem16.Text = "菜单1";
navigationMenuItem16.TipText = null;
navigationMenuItem26.AnchorRight = false;
navigationMenuItem26.DataSource = null;
navigationMenuItem26.HasSplitLintAtTop = false;
navigationMenuItem26.Icon = null;
navigationMenuItem27.AnchorRight = false;
navigationMenuItem27.DataSource = null;
navigationMenuItem27.HasSplitLintAtTop = false;
navigationMenuItem27.Icon = null;
navigationMenuItem27.Items = null;
navigationMenuItem27.ItemWidth = 100;
navigationMenuItem27.ShowTip = false;
navigationMenuItem27.Text = "1";
navigationMenuItem27.TipText = null;
navigationMenuItem28.AnchorRight = false;
navigationMenuItem28.DataSource = null;
navigationMenuItem28.HasSplitLintAtTop = false;
navigationMenuItem28.Icon = null;
navigationMenuItem28.Items = null;
navigationMenuItem28.ItemWidth = 100;
navigationMenuItem28.ShowTip = false;
navigationMenuItem28.Text = "2";
navigationMenuItem28.TipText = null;
navigationMenuItem26.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem27,
navigationMenuItem28};
navigationMenuItem26.ItemWidth = 100;
navigationMenuItem26.ShowTip = true;
navigationMenuItem26.Text = "菜单2";
navigationMenuItem26.TipText = "4";
navigationMenuItem29.AnchorRight = true;
navigationMenuItem29.DataSource = null;
navigationMenuItem29.HasSplitLintAtTop = false;
navigationMenuItem29.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItem29.Icon")));
navigationMenuItem29.Items = null;
navigationMenuItem29.ItemWidth = 100;
navigationMenuItem29.ShowTip = false;
navigationMenuItem29.Text = "菜单3";
navigationMenuItem29.TipText = null;
navigationMenuItem30.AnchorRight = true;
navigationMenuItem30.DataSource = null;
navigationMenuItem30.HasSplitLintAtTop = false;
navigationMenuItem30.Icon = null;
navigationMenuItem30.Items = null;
navigationMenuItem30.ItemWidth = 100;
navigationMenuItem30.ShowTip = false;
navigationMenuItem30.Text = "菜单4";
navigationMenuItem30.TipText = null;
this.ucNavigationMenu2.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem16,
navigationMenuItem26,
navigationMenuItem29,
navigationMenuItem30};
this.ucNavigationMenu2.Location = new System.Drawing.Point(0, 111);
this.ucNavigationMenu2.Name = "ucNavigationMenu2";
this.ucNavigationMenu2.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenu2.Size = new System.Drawing.Size(893, 60);
this.ucNavigationMenu2.TabIndex = 0;
this.ucNavigationMenu2.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
this.ucNavigationMenu2.ClickItemed += new System.EventHandler(this.ucNavigationMenu1_ClickItemed);
//
// ucNavigationMenu1
//
this.ucNavigationMenu1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucNavigationMenu1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
this.ucNavigationMenu1.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenu1.ForeColor = System.Drawing.Color.White;
navigationMenuItem31.AnchorRight = false;
navigationMenuItem31.DataSource = null;
navigationMenuItem31.HasSplitLintAtTop = false;
navigationMenuItem31.Icon = null;
navigationMenuItem32.AnchorRight = false;
navigationMenuItem32.DataSource = null;
navigationMenuItem32.HasSplitLintAtTop = false;
navigationMenuItem32.Icon = null;
navigationMenuItem33.AnchorRight = false;
navigationMenuItem33.DataSource = null;
navigationMenuItem33.HasSplitLintAtTop = false;
navigationMenuItem33.Icon = null;
navigationMenuItem33.Items = null;
navigationMenuItem33.ItemWidth = 100;
navigationMenuItem33.ShowTip = false;
navigationMenuItem33.Text = "1";
navigationMenuItem33.TipText = null;
navigationMenuItem34.AnchorRight = false;
navigationMenuItem34.DataSource = null;
navigationMenuItem34.HasSplitLintAtTop = false;
navigationMenuItem34.Icon = null;
navigationMenuItem35.AnchorRight = false;
navigationMenuItem35.DataSource = null;
navigationMenuItem35.HasSplitLintAtTop = false;
navigationMenuItem35.Icon = null;
navigationMenuItem35.Items = null;
navigationMenuItem35.ItemWidth = 100;
navigationMenuItem35.ShowTip = false;
navigationMenuItem35.Text = "1";
navigationMenuItem35.TipText = null;
navigationMenuItem36.AnchorRight = false;
navigationMenuItem36.DataSource = null;
navigationMenuItem36.HasSplitLintAtTop = false;
navigationMenuItem36.Icon = null;
navigationMenuItem36.Items = null;
navigationMenuItem36.ItemWidth = 100;
navigationMenuItem36.ShowTip = false;
navigationMenuItem36.Text = "2";
navigationMenuItem36.TipText = null;
navigationMenuItem37.AnchorRight = false;
navigationMenuItem37.DataSource = null;
navigationMenuItem37.HasSplitLintAtTop = false;
navigationMenuItem37.Icon = null;
navigationMenuItem37.Items = null;
navigationMenuItem37.ItemWidth = 100;
navigationMenuItem37.ShowTip = false;
navigationMenuItem37.Text = "3";
navigationMenuItem37.TipText = null;
navigationMenuItem34.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem35,
navigationMenuItem36,
navigationMenuItem37};
navigationMenuItem34.ItemWidth = 100;
navigationMenuItem34.ShowTip = false;
navigationMenuItem34.Text = "2";
navigationMenuItem34.TipText = null;
navigationMenuItem38.AnchorRight = false;
navigationMenuItem38.DataSource = null;
navigationMenuItem38.HasSplitLintAtTop = false;
navigationMenuItem38.Icon = null;
navigationMenuItem38.Items = null;
navigationMenuItem38.ItemWidth = 100;
navigationMenuItem38.ShowTip = false;
navigationMenuItem38.Text = "3";
navigationMenuItem38.TipText = null;
navigationMenuItem32.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem33,
navigationMenuItem34,
navigationMenuItem38};
navigationMenuItem32.ItemWidth = 100;
navigationMenuItem32.ShowTip = false;
navigationMenuItem32.Text = "子菜单1";
navigationMenuItem32.TipText = null;
navigationMenuItem39.AnchorRight = false;
navigationMenuItem39.DataSource = null;
navigationMenuItem39.HasSplitLintAtTop = false;
navigationMenuItem39.Icon = null;
navigationMenuItem39.Items = null;
navigationMenuItem39.ItemWidth = 100;
navigationMenuItem39.ShowTip = false;
navigationMenuItem39.Text = "子菜单2";
navigationMenuItem39.TipText = null;
navigationMenuItem40.AnchorRight = false;
navigationMenuItem40.DataSource = null;
navigationMenuItem40.HasSplitLintAtTop = true;
navigationMenuItem40.Icon = null;
navigationMenuItem40.Items = null;
navigationMenuItem40.ItemWidth = 100;
navigationMenuItem40.ShowTip = false;
navigationMenuItem40.Text = "子菜单3";
navigationMenuItem40.TipText = null;
navigationMenuItem31.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem32,
navigationMenuItem39,
navigationMenuItem40};
navigationMenuItem31.ItemWidth = 100;
navigationMenuItem31.ShowTip = true;
navigationMenuItem31.Text = "菜单1";
navigationMenuItem31.TipText = null;
navigationMenuItem41.AnchorRight = false;
navigationMenuItem41.DataSource = null;
navigationMenuItem41.HasSplitLintAtTop = false;
navigationMenuItem41.Icon = null;
navigationMenuItem42.AnchorRight = false;
navigationMenuItem42.DataSource = null;
navigationMenuItem42.HasSplitLintAtTop = false;
navigationMenuItem42.Icon = null;
navigationMenuItem42.Items = null;
navigationMenuItem42.ItemWidth = 100;
navigationMenuItem42.ShowTip = false;
navigationMenuItem42.Text = "1";
navigationMenuItem42.TipText = null;
navigationMenuItem43.AnchorRight = false;
navigationMenuItem43.DataSource = null;
navigationMenuItem43.HasSplitLintAtTop = false;
navigationMenuItem43.Icon = null;
navigationMenuItem43.Items = null;
navigationMenuItem43.ItemWidth = 100;
navigationMenuItem43.ShowTip = false;
navigationMenuItem43.Text = "2";
navigationMenuItem43.TipText = null;
navigationMenuItem41.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem42,
navigationMenuItem43};
navigationMenuItem41.ItemWidth = 100;
navigationMenuItem41.ShowTip = true;
navigationMenuItem41.Text = "菜单2";
navigationMenuItem41.TipText = "4";
navigationMenuItem44.AnchorRight = true;
navigationMenuItem44.DataSource = null;
navigationMenuItem44.HasSplitLintAtTop = false;
navigationMenuItem44.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItem44.Icon")));
navigationMenuItem44.Items = null;
navigationMenuItem44.ItemWidth = 100;
navigationMenuItem44.ShowTip = false;
navigationMenuItem44.Text = "菜单3";
navigationMenuItem44.TipText = null;
navigationMenuItem45.AnchorRight = true;
navigationMenuItem45.DataSource = null;
navigationMenuItem45.HasSplitLintAtTop = false;
navigationMenuItem45.Icon = null;
navigationMenuItem45.Items = null;
navigationMenuItem45.ItemWidth = 100;
navigationMenuItem45.ShowTip = false;
navigationMenuItem45.Text = "菜单4";
navigationMenuItem45.TipText = null;
this.ucNavigationMenu1.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem31,
navigationMenuItem41,
navigationMenuItem44,
navigationMenuItem45};
this.ucNavigationMenu1.Location = new System.Drawing.Point(0, 0);
this.ucNavigationMenu1.Name = "ucNavigationMenu1";
this.ucNavigationMenu1.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenu1.Size = new System.Drawing.Size(893, 60);
this.ucNavigationMenu1.TabIndex = 0;
this.ucNavigationMenu1.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
this.ucNavigationMenu1.ClickItemed += new System.EventHandler(this.ucNavigationMenu1_ClickItemed);
//
// ucNavigationMenu4
//
this.ucNavigationMenu4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucNavigationMenu4.BackColor = System.Drawing.Color.Gray;
this.ucNavigationMenu4.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenu4.ForeColor = System.Drawing.Color.White;
navigationMenuItem46.AnchorRight = false;
navigationMenuItem46.DataSource = null;
navigationMenuItem46.HasSplitLintAtTop = false;
navigationMenuItem46.Icon = null;
navigationMenuItem47.AnchorRight = false;
navigationMenuItem47.DataSource = null;
navigationMenuItem47.HasSplitLintAtTop = false;
navigationMenuItem47.Icon = null;
navigationMenuItem48.AnchorRight = false;
navigationMenuItem48.DataSource = null;
navigationMenuItem48.HasSplitLintAtTop = false;
navigationMenuItem48.Icon = null;
navigationMenuItem48.Items = null;
navigationMenuItem48.ItemWidth = 100;
navigationMenuItem48.ShowTip = false;
navigationMenuItem48.Text = "1";
navigationMenuItem48.TipText = null;
navigationMenuItem49.AnchorRight = false;
navigationMenuItem49.DataSource = null;
navigationMenuItem49.HasSplitLintAtTop = false;
navigationMenuItem49.Icon = null;
navigationMenuItem50.AnchorRight = false;
navigationMenuItem50.DataSource = null;
navigationMenuItem50.HasSplitLintAtTop = false;
navigationMenuItem50.Icon = null;
navigationMenuItem50.Items = null;
navigationMenuItem50.ItemWidth = 100;
navigationMenuItem50.ShowTip = false;
navigationMenuItem50.Text = "1";
navigationMenuItem50.TipText = null;
navigationMenuItem51.AnchorRight = false;
navigationMenuItem51.DataSource = null;
navigationMenuItem51.HasSplitLintAtTop = false;
navigationMenuItem51.Icon = null;
navigationMenuItem51.Items = null;
navigationMenuItem51.ItemWidth = 100;
navigationMenuItem51.ShowTip = false;
navigationMenuItem51.Text = "2";
navigationMenuItem51.TipText = null;
navigationMenuItem52.AnchorRight = false;
navigationMenuItem52.DataSource = null;
navigationMenuItem52.HasSplitLintAtTop = false;
navigationMenuItem52.Icon = null;
navigationMenuItem52.Items = null;
navigationMenuItem52.ItemWidth = 100;
navigationMenuItem52.ShowTip = false;
navigationMenuItem52.Text = "3";
navigationMenuItem52.TipText = null;
navigationMenuItem49.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem50,
navigationMenuItem51,
navigationMenuItem52};
navigationMenuItem49.ItemWidth = 100;
navigationMenuItem49.ShowTip = false;
navigationMenuItem49.Text = "2";
navigationMenuItem49.TipText = null;
navigationMenuItem53.AnchorRight = false;
navigationMenuItem53.DataSource = null;
navigationMenuItem53.HasSplitLintAtTop = false;
navigationMenuItem53.Icon = null;
navigationMenuItem53.Items = null;
navigationMenuItem53.ItemWidth = 100;
navigationMenuItem53.ShowTip = false;
navigationMenuItem53.Text = "3";
navigationMenuItem53.TipText = null;
navigationMenuItem47.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem48,
navigationMenuItem49,
navigationMenuItem53};
navigationMenuItem47.ItemWidth = 100;
navigationMenuItem47.ShowTip = false;
navigationMenuItem47.Text = "子菜单1";
navigationMenuItem47.TipText = null;
navigationMenuItem54.AnchorRight = false;
navigationMenuItem54.DataSource = null;
navigationMenuItem54.HasSplitLintAtTop = false;
navigationMenuItem54.Icon = null;
navigationMenuItem54.Items = null;
navigationMenuItem54.ItemWidth = 100;
navigationMenuItem54.ShowTip = false;
navigationMenuItem54.Text = "子菜单2";
navigationMenuItem54.TipText = null;
navigationMenuItem55.AnchorRight = false;
navigationMenuItem55.DataSource = null;
navigationMenuItem55.HasSplitLintAtTop = true;
navigationMenuItem55.Icon = null;
navigationMenuItem55.Items = null;
navigationMenuItem55.ItemWidth = 100;
navigationMenuItem55.ShowTip = false;
navigationMenuItem55.Text = "子菜单3";
navigationMenuItem55.TipText = null;
navigationMenuItem46.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem47,
navigationMenuItem54,
navigationMenuItem55};
navigationMenuItem46.ItemWidth = 100;
navigationMenuItem46.ShowTip = true;
navigationMenuItem46.Text = "菜单1";
navigationMenuItem46.TipText = null;
navigationMenuItem56.AnchorRight = false;
navigationMenuItem56.DataSource = null;
navigationMenuItem56.HasSplitLintAtTop = false;
navigationMenuItem56.Icon = null;
navigationMenuItem57.AnchorRight = false;
navigationMenuItem57.DataSource = null;
navigationMenuItem57.HasSplitLintAtTop = false;
navigationMenuItem57.Icon = null;
navigationMenuItem57.Items = null;
navigationMenuItem57.ItemWidth = 100;
navigationMenuItem57.ShowTip = false;
navigationMenuItem57.Text = "1";
navigationMenuItem57.TipText = null;
navigationMenuItem58.AnchorRight = false;
navigationMenuItem58.DataSource = null;
navigationMenuItem58.HasSplitLintAtTop = false;
navigationMenuItem58.Icon = null;
navigationMenuItem58.Items = null;
navigationMenuItem58.ItemWidth = 100;
navigationMenuItem58.ShowTip = false;
navigationMenuItem58.Text = "2";
navigationMenuItem58.TipText = null;
navigationMenuItem56.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem57,
navigationMenuItem58};
navigationMenuItem56.ItemWidth = 100;
navigationMenuItem56.ShowTip = true;
navigationMenuItem56.Text = "菜单2";
navigationMenuItem56.TipText = "4";
navigationMenuItem59.AnchorRight = true;
navigationMenuItem59.DataSource = null;
navigationMenuItem59.HasSplitLintAtTop = false;
navigationMenuItem59.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItem59.Icon")));
navigationMenuItem59.Items = null;
navigationMenuItem59.ItemWidth = 100;
navigationMenuItem59.ShowTip = false;
navigationMenuItem59.Text = "菜单3";
navigationMenuItem59.TipText = null;
navigationMenuItem60.AnchorRight = true;
navigationMenuItem60.DataSource = null;
navigationMenuItem60.HasSplitLintAtTop = false;
navigationMenuItem60.Icon = null;
navigationMenuItem60.Items = null;
navigationMenuItem60.ItemWidth = 100;
navigationMenuItem60.ShowTip = false;
navigationMenuItem60.Text = "菜单4";
navigationMenuItem60.TipText = null;
this.ucNavigationMenu4.Items = new HZH_Controls.Controls.NavigationMenuItem[] {
navigationMenuItem46,
navigationMenuItem56,
navigationMenuItem59,
navigationMenuItem60};
this.ucNavigationMenu4.Location = new System.Drawing.Point(0, 349);
this.ucNavigationMenu4.Name = "ucNavigationMenu4";
this.ucNavigationMenu4.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenu4.Size = new System.Drawing.Size(893, 60);
this.ucNavigationMenu4.TabIndex = 0;
this.ucNavigationMenu4.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
this.ucNavigationMenu4.ClickItemed += new System.EventHandler(this.ucNavigationMenu1_ClickItemed);
//
// UCTestNavigationMenu
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucNavigationMenu4);
this.Controls.Add(this.ucNavigationMenu3);
this.Controls.Add(this.ucNavigationMenu2);
this.Controls.Add(this.ucNavigationMenu1);
this.Name = "UCTestNavigationMenu";
this.Size = new System.Drawing.Size(893, 598);
this.Load += new System.EventHandler(this.UCTestNavigationMenu_Load);
this.ResumeLayout(false);
}
#endregion
private HZH_Controls.Controls.UCNavigationMenu ucNavigationMenu1;
private HZH_Controls.Controls.UCNavigationMenu ucNavigationMenu2;
private HZH_Controls.Controls.UCNavigationMenu ucNavigationMenu3;
private HZH_Controls.Controls.UCNavigationMenu ucNavigationMenu4;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Test.UC
{
[ToolboxItem(false)]
public partial class UCTestNavigationMenu : UserControl
{
public UCTestNavigationMenu()
{
InitializeComponent();
}
private void UCTestNavigationMenu_Load(object sender, EventArgs e)
{
}
private void ucNavigationMenu1_ClickItemed(object sender, EventArgs e)
{
if (ucNavigationMenu1.SelectItem != null)
{
HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this.FindForm(), "点击了:" + ucNavigationMenu1.SelectItem.Text);
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="navigationMenuItem14.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAE/SURBVDhPvVQ7TgMxFNwDBM5AzREQRRrECWipQ41Em1yA5A4RoqBOuT+tttiWLg1KQ0tHk4rM
mDHYL9by0SojjbR+M/Ps9XqdHQxt2x5VVTUGb8uyfCT5zBo12X6Huq6vwBeEP1KkRo/s/UBgZRv0cKVY
Gpj1ORHqJTOKx4BwFxjXwfOPZFZtPoHiCHwNTEQUwkd5ordpmlOMZyDhdWZHrhlRFMVZIJIL1tlE43fw
xJkFjB+kObKHJCdOQhHcSKI2hnmmoUPXdceY7M1kJpLdSpZGrCQlAf+l8XNLlpKTDbnRN5L3wBVbf9QQ
BfvKNMwlR4DGvyfyit+vnPgoZAdOZXHI8/wCtU3g+aL9KNGxwequJTmgdo4tuEd96z2G8bEhzMH+E/cO
tgeE4X49D5iGuxw8MOtw15fHoBfs/5FlOwpHvjJPjZU3AAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItem29.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAE/SURBVDhPvVQ7TgMxFNwDBM5AzREQRRrECWipQ41Em1yA5A4RoqBOuT+tttiWLg1KQ0tHk4rM
mDHYL9by0SojjbR+M/Ps9XqdHQxt2x5VVTUGb8uyfCT5zBo12X6Huq6vwBeEP1KkRo/s/UBgZRv0cKVY
Gpj1ORHqJTOKx4BwFxjXwfOPZFZtPoHiCHwNTEQUwkd5ordpmlOMZyDhdWZHrhlRFMVZIJIL1tlE43fw
xJkFjB+kObKHJCdOQhHcSKI2hnmmoUPXdceY7M1kJpLdSpZGrCQlAf+l8XNLlpKTDbnRN5L3wBVbf9QQ
BfvKNMwlR4DGvyfyit+vnPgoZAdOZXHI8/wCtU3g+aL9KNGxwequJTmgdo4tuEd96z2G8bEhzMH+E/cO
tgeE4X49D5iGuxw8MOtw15fHoBfs/5FlOwpHvjJPjZU3AAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItem44.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAE/SURBVDhPvVQ7TgMxFNwDBM5AzREQRRrECWipQ41Em1yA5A4RoqBOuT+tttiWLg1KQ0tHk4rM
mDHYL9by0SojjbR+M/Ps9XqdHQxt2x5VVTUGb8uyfCT5zBo12X6Huq6vwBeEP1KkRo/s/UBgZRv0cKVY
Gpj1ORHqJTOKx4BwFxjXwfOPZFZtPoHiCHwNTEQUwkd5ordpmlOMZyDhdWZHrhlRFMVZIJIL1tlE43fw
xJkFjB+kObKHJCdOQhHcSKI2hnmmoUPXdceY7M1kJpLdSpZGrCQlAf+l8XNLlpKTDbnRN5L3wBVbf9QQ
BfvKNMwlR4DGvyfyit+vnPgoZAdOZXHI8/wCtU3g+aL9KNGxwequJTmgdo4tuEd96z2G8bEhzMH+E/cO
tgeE4X49D5iGuxw8MOtw15fHoBfs/5FlOwpHvjJPjZU3AAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItem59.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAE/SURBVDhPvVQ7TgMxFNwDBM5AzREQRRrECWipQ41Em1yA5A4RoqBOuT+tttiWLg1KQ0tHk4rM
mDHYL9by0SojjbR+M/Ps9XqdHQxt2x5VVTUGb8uyfCT5zBo12X6Huq6vwBeEP1KkRo/s/UBgZRv0cKVY
Gpj1ORHqJTOKx4BwFxjXwfOPZFZtPoHiCHwNTEQUwkd5ordpmlOMZyDhdWZHrhlRFMVZIJIL1tlE43fw
xJkFjB+kObKHJCdOQhHcSKI2hnmmoUPXdceY7M1kJpLdSpZGrCQlAf+l8XNLlpKTDbnRN5L3wBVbf9QQ
BfvKNMwlR4DGvyfyit+vnPgoZAdOZXHI8/wCtU3g+aL9KNGxwequJTmgdo4tuEd96z2G8bEhzMH+E/cO
tgeE4X49D5iGuxw8MOtw15fHoBfs/5FlOwpHvjJPjZU3AAAAAElFTkSuQmCC
</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
namespace Test.UC
{
partial class UCTestNavigationMenuExt
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt1 = new HZH_Controls.Controls.NavigationMenuItemExt();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTestNavigationMenuExt));
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt2 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt3 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt4 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt5 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt6 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt7 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt8 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt9 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt10 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt11 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt12 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt13 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt14 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt15 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt16 = new HZH_Controls.Controls.NavigationMenuItemExt();
this.ucNavigationMenuExt1 = new HZH_Controls.Controls.UCNavigationMenuExt();
this.ucNavigationMenuExt2 = new HZH_Controls.Controls.UCNavigationMenuExt();
this.ucNavigationMenuExt3 = new HZH_Controls.Controls.UCNavigationMenuExt();
this.ucNavigationMenuExt4 = new HZH_Controls.Controls.UCNavigationMenuExt();
this.SuspendLayout();
//
// ucNavigationMenuExt1
//
this.ucNavigationMenuExt1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
this.ucNavigationMenuExt1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.ucNavigationMenuExt1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
navigationMenuItemExt1.AnchorRight = false;
navigationMenuItemExt1.DataSource = null;
navigationMenuItemExt1.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItemExt1.Icon")));
navigationMenuItemExt1.ItemWidth = 100;
navigationMenuItemExt1.ShowControl = null;
navigationMenuItemExt1.ShowTip = false;
navigationMenuItemExt1.Text = "菜单1";
navigationMenuItemExt1.TipText = null;
navigationMenuItemExt2.AnchorRight = false;
navigationMenuItemExt2.DataSource = null;
navigationMenuItemExt2.Icon = null;
navigationMenuItemExt2.ItemWidth = 100;
navigationMenuItemExt2.ShowControl = null;
navigationMenuItemExt2.ShowTip = false;
navigationMenuItemExt2.Text = "菜单2";
navigationMenuItemExt2.TipText = null;
navigationMenuItemExt3.AnchorRight = true;
navigationMenuItemExt3.DataSource = null;
navigationMenuItemExt3.Icon = null;
navigationMenuItemExt3.ItemWidth = 100;
navigationMenuItemExt3.ShowControl = null;
navigationMenuItemExt3.ShowTip = true;
navigationMenuItemExt3.Text = "菜单3";
navigationMenuItemExt3.TipText = null;
navigationMenuItemExt4.AnchorRight = true;
navigationMenuItemExt4.DataSource = null;
navigationMenuItemExt4.Icon = null;
navigationMenuItemExt4.ItemWidth = 100;
navigationMenuItemExt4.ShowControl = null;
navigationMenuItemExt4.ShowTip = true;
navigationMenuItemExt4.Text = "菜单4";
navigationMenuItemExt4.TipText = "5";
this.ucNavigationMenuExt1.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt1,
navigationMenuItemExt2,
navigationMenuItemExt3,
navigationMenuItemExt4};
this.ucNavigationMenuExt1.Location = new System.Drawing.Point(0, 0);
this.ucNavigationMenuExt1.Name = "ucNavigationMenuExt1";
this.ucNavigationMenuExt1.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenuExt1.Size = new System.Drawing.Size(639, 60);
this.ucNavigationMenuExt1.TabIndex = 0;
this.ucNavigationMenuExt1.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// ucNavigationMenuExt2
//
this.ucNavigationMenuExt2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
this.ucNavigationMenuExt2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.ucNavigationMenuExt2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
navigationMenuItemExt5.AnchorRight = false;
navigationMenuItemExt5.DataSource = null;
navigationMenuItemExt5.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItemExt5.Icon")));
navigationMenuItemExt5.ItemWidth = 100;
navigationMenuItemExt5.ShowControl = null;
navigationMenuItemExt5.ShowTip = false;
navigationMenuItemExt5.Text = "菜单1";
navigationMenuItemExt5.TipText = null;
navigationMenuItemExt6.AnchorRight = false;
navigationMenuItemExt6.DataSource = null;
navigationMenuItemExt6.Icon = null;
navigationMenuItemExt6.ItemWidth = 100;
navigationMenuItemExt6.ShowControl = null;
navigationMenuItemExt6.ShowTip = false;
navigationMenuItemExt6.Text = "菜单2";
navigationMenuItemExt6.TipText = null;
navigationMenuItemExt7.AnchorRight = true;
navigationMenuItemExt7.DataSource = null;
navigationMenuItemExt7.Icon = null;
navigationMenuItemExt7.ItemWidth = 100;
navigationMenuItemExt7.ShowControl = null;
navigationMenuItemExt7.ShowTip = true;
navigationMenuItemExt7.Text = "菜单3";
navigationMenuItemExt7.TipText = null;
navigationMenuItemExt8.AnchorRight = true;
navigationMenuItemExt8.DataSource = null;
navigationMenuItemExt8.Icon = null;
navigationMenuItemExt8.ItemWidth = 100;
navigationMenuItemExt8.ShowControl = null;
navigationMenuItemExt8.ShowTip = true;
navigationMenuItemExt8.Text = "菜单4";
navigationMenuItemExt8.TipText = "6";
this.ucNavigationMenuExt2.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt5,
navigationMenuItemExt6,
navigationMenuItemExt7,
navigationMenuItemExt8};
this.ucNavigationMenuExt2.Location = new System.Drawing.Point(0, 143);
this.ucNavigationMenuExt2.Name = "ucNavigationMenuExt2";
this.ucNavigationMenuExt2.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenuExt2.Size = new System.Drawing.Size(639, 60);
this.ucNavigationMenuExt2.TabIndex = 0;
this.ucNavigationMenuExt2.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// ucNavigationMenuExt3
//
this.ucNavigationMenuExt3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(159)))), ((int)(((byte)(255)))));
this.ucNavigationMenuExt3.Font = new System.Drawing.Font("微软雅黑", 11F);
this.ucNavigationMenuExt3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
navigationMenuItemExt9.AnchorRight = false;
navigationMenuItemExt9.DataSource = null;
navigationMenuItemExt9.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItemExt9.Icon")));
navigationMenuItemExt9.ItemWidth = 100;
navigationMenuItemExt9.ShowControl = null;
navigationMenuItemExt9.ShowTip = false;
navigationMenuItemExt9.Text = "菜单1";
navigationMenuItemExt9.TipText = null;
navigationMenuItemExt10.AnchorRight = false;
navigationMenuItemExt10.DataSource = null;
navigationMenuItemExt10.Icon = null;
navigationMenuItemExt10.ItemWidth = 100;
navigationMenuItemExt10.ShowControl = null;
navigationMenuItemExt10.ShowTip = false;
navigationMenuItemExt10.Text = "菜单2";
navigationMenuItemExt10.TipText = null;
navigationMenuItemExt11.AnchorRight = true;
navigationMenuItemExt11.DataSource = null;
navigationMenuItemExt11.Icon = null;
navigationMenuItemExt11.ItemWidth = 100;
navigationMenuItemExt11.ShowControl = null;
navigationMenuItemExt11.ShowTip = true;
navigationMenuItemExt11.Text = "菜单3";
navigationMenuItemExt11.TipText = null;
navigationMenuItemExt12.AnchorRight = true;
navigationMenuItemExt12.DataSource = null;
navigationMenuItemExt12.Icon = null;
navigationMenuItemExt12.ItemWidth = 100;
navigationMenuItemExt12.ShowControl = null;
navigationMenuItemExt12.ShowTip = true;
navigationMenuItemExt12.Text = "菜单4";
navigationMenuItemExt12.TipText = "爱";
this.ucNavigationMenuExt3.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt9,
navigationMenuItemExt10,
navigationMenuItemExt11,
navigationMenuItemExt12};
this.ucNavigationMenuExt3.Location = new System.Drawing.Point(0, 282);
this.ucNavigationMenuExt3.Name = "ucNavigationMenuExt3";
this.ucNavigationMenuExt3.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenuExt3.Size = new System.Drawing.Size(639, 60);
this.ucNavigationMenuExt3.TabIndex = 0;
this.ucNavigationMenuExt3.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// ucNavigationMenuExt4
//
this.ucNavigationMenuExt4.BackColor = System.Drawing.Color.Gray;
this.ucNavigationMenuExt4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.ucNavigationMenuExt4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
navigationMenuItemExt13.AnchorRight = false;
navigationMenuItemExt13.DataSource = null;
navigationMenuItemExt13.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItemExt13.Icon")));
navigationMenuItemExt13.ItemWidth = 100;
navigationMenuItemExt13.ShowControl = null;
navigationMenuItemExt13.ShowTip = false;
navigationMenuItemExt13.Text = "菜单1";
navigationMenuItemExt13.TipText = null;
navigationMenuItemExt14.AnchorRight = false;
navigationMenuItemExt14.DataSource = null;
navigationMenuItemExt14.Icon = null;
navigationMenuItemExt14.ItemWidth = 100;
navigationMenuItemExt14.ShowControl = null;
navigationMenuItemExt14.ShowTip = false;
navigationMenuItemExt14.Text = "菜单2";
navigationMenuItemExt14.TipText = null;
navigationMenuItemExt15.AnchorRight = true;
navigationMenuItemExt15.DataSource = null;
navigationMenuItemExt15.Icon = null;
navigationMenuItemExt15.ItemWidth = 100;
navigationMenuItemExt15.ShowControl = null;
navigationMenuItemExt15.ShowTip = true;
navigationMenuItemExt15.Text = "菜单3";
navigationMenuItemExt15.TipText = null;
navigationMenuItemExt16.AnchorRight = true;
navigationMenuItemExt16.DataSource = null;
navigationMenuItemExt16.Icon = null;
navigationMenuItemExt16.ItemWidth = 100;
navigationMenuItemExt16.ShowControl = null;
navigationMenuItemExt16.ShowTip = true;
navigationMenuItemExt16.Text = "菜单4";
navigationMenuItemExt16.TipText = "你";
this.ucNavigationMenuExt4.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt13,
navigationMenuItemExt14,
navigationMenuItemExt15,
navigationMenuItemExt16};
this.ucNavigationMenuExt4.Location = new System.Drawing.Point(0, 407);
this.ucNavigationMenuExt4.Name = "ucNavigationMenuExt4";
this.ucNavigationMenuExt4.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucNavigationMenuExt4.Size = new System.Drawing.Size(639, 60);
this.ucNavigationMenuExt4.TabIndex = 0;
this.ucNavigationMenuExt4.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// UCTestNavigationMenuExt
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucNavigationMenuExt4);
this.Controls.Add(this.ucNavigationMenuExt3);
this.Controls.Add(this.ucNavigationMenuExt2);
this.Controls.Add(this.ucNavigationMenuExt1);
this.Name = "UCTestNavigationMenuExt";
this.Size = new System.Drawing.Size(639, 506);
this.Load += new System.EventHandler(this.UCTestNavigationMenuExt_Load);
this.ResumeLayout(false);
}
#endregion
private HZH_Controls.Controls.UCNavigationMenuExt ucNavigationMenuExt1;
private HZH_Controls.Controls.UCNavigationMenuExt ucNavigationMenuExt2;
private HZH_Controls.Controls.UCNavigationMenuExt ucNavigationMenuExt3;
private HZH_Controls.Controls.UCNavigationMenuExt ucNavigationMenuExt4;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HZH_Controls.Controls;
namespace Test.UC
{
public partial class UCTestNavigationMenuExt : UserControl
{
public UCTestNavigationMenuExt()
{
InitializeComponent();
}
private void UCTestNavigationMenuExt_Load(object sender, EventArgs e)
{
foreach (var item in this.ucNavigationMenuExt1.Items)
{
Control panel1 = CreatePanel(this.ucNavigationMenuExt1.BackColor);
item.ShowControl = panel1;
}
this.ucNavigationMenuExt1.Items[0].ShowControl = null;
foreach (var item in this.ucNavigationMenuExt2.Items)
{
Control panel2 = CreatePanel(this.ucNavigationMenuExt2.BackColor);
item.ShowControl = panel2;
}
foreach (var item in this.ucNavigationMenuExt3.Items)
{
Control panel3 = CreatePanel(this.ucNavigationMenuExt3.BackColor);
item.ShowControl = panel3;
}
foreach (var item in this.ucNavigationMenuExt4.Items)
{
Control panel4 = CreatePanel(this.ucNavigationMenuExt4.BackColor);
item.ShowControl = panel4;
}
}
private Control CreatePanel(Color color)
{
UCControlBase c = new UCControlBase();
c.IsRadius = true;
c.ConerRadius = 5;
c.IsShowRect = true;
c.FillColor = color;
c.BackColor = Color.Transparent;
c.Size = new Size(130, 180);
Label lbl = new Label();
lbl.AutoSize = false;
lbl.Dock = DockStyle.Fill;
lbl.TextAlign = ContentAlignment.MiddleCenter;
lbl.Text = "这是一个自定义的弹出内容,你可以根据自己需求进行扩展\r\n"+Guid.NewGuid().ToString();
lbl.ForeColor = Color.White;
c.Controls.Add(lbl);
return c;
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="navigationMenuItemExt1.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAEGSURBVDhP7ZGxagJBFEX3A9JYBjtLgx9gIYRAsLKK/kSqFIKCyKbMD1jYpE8nyZJA2NmdnW0C
FpI/MKS3t8t58kxlsbOL3R64zHt35l12Z4Kakzjn2mmaXmhbHWPMo7X2B/XUqoYEivjKX0LnaheHoRHD
T9r+B6Im/it64xoudbsYSZIsGLQScgwUH2/I3jdreDjoA4N3DO6OgfRL+i31jR7xJ4qiBiGf6IureFa7
PAQN0UpE4FJtf/i9KwJeCBqjkPqedcLq8jxv6bFiMHjNoInjuKt9iB6k5nX71Gv2B9KXQgOnhPRYP9CG
+la3/ZFAeWVC9tQztcsjgeg9y7KOWjVnIwj+AISOvF76iy4mAAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItemExt5.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAEGSURBVDhP7ZGxagJBFEX3A9JYBjtLgx9gIYRAsLKK/kSqFIKCyKbMD1jYpE8nyZJA2NmdnW0C
FpI/MKS3t8t58kxlsbOL3R64zHt35l12Z4Kakzjn2mmaXmhbHWPMo7X2B/XUqoYEivjKX0LnaheHoRHD
T9r+B6Im/it64xoudbsYSZIsGLQScgwUH2/I3jdreDjoA4N3DO6OgfRL+i31jR7xJ4qiBiGf6IureFa7
PAQN0UpE4FJtf/i9KwJeCBqjkPqedcLq8jxv6bFiMHjNoInjuKt9iB6k5nX71Gv2B9KXQgOnhPRYP9CG
+la3/ZFAeWVC9tQztcsjgeg9y7KOWjVnIwj+AISOvF76iy4mAAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItemExt9.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAEGSURBVDhP7ZGxagJBFEX3A9JYBjtLgx9gIYRAsLKK/kSqFIKCyKbMD1jYpE8nyZJA2NmdnW0C
FpI/MKS3t8t58kxlsbOL3R64zHt35l12Z4Kakzjn2mmaXmhbHWPMo7X2B/XUqoYEivjKX0LnaheHoRHD
T9r+B6Im/it64xoudbsYSZIsGLQScgwUH2/I3jdreDjoA4N3DO6OgfRL+i31jR7xJ4qiBiGf6IureFa7
PAQN0UpE4FJtf/i9KwJeCBqjkPqedcLq8jxv6bFiMHjNoInjuKt9iB6k5nX71Gv2B9KXQgOnhPRYP9CG
+la3/ZFAeWVC9tQztcsjgeg9y7KOWjVnIwj+AISOvF76iy4mAAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItemExt13.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAEGSURBVDhP7ZGxagJBFEX3A9JYBjtLgx9gIYRAsLKK/kSqFIKCyKbMD1jYpE8nyZJA2NmdnW0C
FpI/MKS3t8t58kxlsbOL3R64zHt35l12Z4Kakzjn2mmaXmhbHWPMo7X2B/XUqoYEivjKX0LnaheHoRHD
T9r+B6Im/it64xoudbsYSZIsGLQScgwUH2/I3jdreDjoA4N3DO6OgfRL+i31jR7xJ4qiBiGf6IureFa7
PAQN0UpE4FJtf/i9KwJeCBqjkPqedcLq8jxv6bFiMHjNoInjuKt9iB6k5nX71Gv2B9KXQgOnhPRYP9CG
+la3/ZFAeWVC9tQztcsjgeg9y7KOWjVnIwj+AISOvF76iy4mAAAAAElFTkSuQmCC
</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
namespace Test.UC
{
partial class UCTestNavigationMenuOffice
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt1 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt2 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt3 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt4 = new HZH_Controls.Controls.NavigationMenuItemExt();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTestNavigationMenuOffice));
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt5 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt6 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt7 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt8 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt9 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt10 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt11 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt12 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt13 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt14 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt15 = new HZH_Controls.Controls.NavigationMenuItemExt();
HZH_Controls.Controls.NavigationMenuItemExt navigationMenuItemExt16 = new HZH_Controls.Controls.NavigationMenuItemExt();
this.ucNavigationMenuOffice1 = new HZH_Controls.Controls.UCNavigationMenuOffice();
this.ucNavigationMenuOffice2 = new HZH_Controls.Controls.UCNavigationMenuOffice();
this.ucNavigationMenuOffice3 = new HZH_Controls.Controls.UCNavigationMenuOffice();
this.ucNavigationMenuOffice4 = new HZH_Controls.Controls.UCNavigationMenuOffice();
this.SuspendLayout();
//
// ucNavigationMenuOffice1
//
this.ucNavigationMenuOffice1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
this.ucNavigationMenuOffice1.ExpandHeight = 125;
this.ucNavigationMenuOffice1.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenuOffice1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.ucNavigationMenuOffice1.IsExpand = true;
navigationMenuItemExt1.AnchorRight = false;
navigationMenuItemExt1.DataSource = null;
navigationMenuItemExt1.Icon = null;
navigationMenuItemExt1.ItemWidth = 100;
navigationMenuItemExt1.ShowControl = null;
navigationMenuItemExt1.ShowTip = true;
navigationMenuItemExt1.Text = "菜单1";
navigationMenuItemExt1.TipText = null;
navigationMenuItemExt2.AnchorRight = false;
navigationMenuItemExt2.DataSource = null;
navigationMenuItemExt2.Icon = null;
navigationMenuItemExt2.ItemWidth = 100;
navigationMenuItemExt2.ShowControl = null;
navigationMenuItemExt2.ShowTip = false;
navigationMenuItemExt2.Text = "菜单2";
navigationMenuItemExt2.TipText = null;
navigationMenuItemExt3.AnchorRight = true;
navigationMenuItemExt3.DataSource = null;
navigationMenuItemExt3.Icon = null;
navigationMenuItemExt3.ItemWidth = 100;
navigationMenuItemExt3.ShowControl = null;
navigationMenuItemExt3.ShowTip = true;
navigationMenuItemExt3.Text = "菜单3";
navigationMenuItemExt3.TipText = "1";
navigationMenuItemExt4.AnchorRight = true;
navigationMenuItemExt4.DataSource = null;
navigationMenuItemExt4.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItemExt4.Icon")));
navigationMenuItemExt4.ItemWidth = 100;
navigationMenuItemExt4.ShowControl = null;
navigationMenuItemExt4.ShowTip = false;
navigationMenuItemExt4.Text = "菜单4";
navigationMenuItemExt4.TipText = null;
this.ucNavigationMenuOffice1.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt1,
navigationMenuItemExt2,
navigationMenuItemExt3,
navigationMenuItemExt4};
this.ucNavigationMenuOffice1.Location = new System.Drawing.Point(0, 0);
this.ucNavigationMenuOffice1.MainMenuHeight = 25;
this.ucNavigationMenuOffice1.Name = "ucNavigationMenuOffice1";
this.ucNavigationMenuOffice1.Size = new System.Drawing.Size(783, 125);
this.ucNavigationMenuOffice1.TabIndex = 0;
this.ucNavigationMenuOffice1.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// ucNavigationMenuOffice2
//
this.ucNavigationMenuOffice2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
this.ucNavigationMenuOffice2.ExpandHeight = 125;
this.ucNavigationMenuOffice2.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenuOffice2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.ucNavigationMenuOffice2.IsExpand = true;
navigationMenuItemExt5.AnchorRight = false;
navigationMenuItemExt5.DataSource = null;
navigationMenuItemExt5.Icon = ((System.Drawing.Image)(resources.GetObject("navigationMenuItemExt5.Icon")));
navigationMenuItemExt5.ItemWidth = 100;
navigationMenuItemExt5.ShowControl = null;
navigationMenuItemExt5.ShowTip = false;
navigationMenuItemExt5.Text = "菜单1";
navigationMenuItemExt5.TipText = null;
navigationMenuItemExt6.AnchorRight = false;
navigationMenuItemExt6.DataSource = null;
navigationMenuItemExt6.Icon = null;
navigationMenuItemExt6.ItemWidth = 100;
navigationMenuItemExt6.ShowControl = null;
navigationMenuItemExt6.ShowTip = false;
navigationMenuItemExt6.Text = "菜单2";
navigationMenuItemExt6.TipText = null;
navigationMenuItemExt7.AnchorRight = true;
navigationMenuItemExt7.DataSource = null;
navigationMenuItemExt7.Icon = null;
navigationMenuItemExt7.ItemWidth = 100;
navigationMenuItemExt7.ShowControl = null;
navigationMenuItemExt7.ShowTip = true;
navigationMenuItemExt7.Text = "菜单3";
navigationMenuItemExt7.TipText = null;
navigationMenuItemExt8.AnchorRight = true;
navigationMenuItemExt8.DataSource = null;
navigationMenuItemExt8.Icon = null;
navigationMenuItemExt8.ItemWidth = 100;
navigationMenuItemExt8.ShowControl = null;
navigationMenuItemExt8.ShowTip = true;
navigationMenuItemExt8.Text = "菜单4";
navigationMenuItemExt8.TipText = "5";
this.ucNavigationMenuOffice2.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt5,
navigationMenuItemExt6,
navigationMenuItemExt7,
navigationMenuItemExt8};
this.ucNavigationMenuOffice2.Location = new System.Drawing.Point(0, 187);
this.ucNavigationMenuOffice2.MainMenuHeight = 25;
this.ucNavigationMenuOffice2.Name = "ucNavigationMenuOffice2";
this.ucNavigationMenuOffice2.Size = new System.Drawing.Size(783, 125);
this.ucNavigationMenuOffice2.TabIndex = 0;
this.ucNavigationMenuOffice2.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// ucNavigationMenuOffice3
//
this.ucNavigationMenuOffice3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(159)))), ((int)(((byte)(255)))));
this.ucNavigationMenuOffice3.ExpandHeight = 125;
this.ucNavigationMenuOffice3.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenuOffice3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.ucNavigationMenuOffice3.IsExpand = true;
navigationMenuItemExt9.AnchorRight = false;
navigationMenuItemExt9.DataSource = null;
navigationMenuItemExt9.Icon = null;
navigationMenuItemExt9.ItemWidth = 100;
navigationMenuItemExt9.ShowControl = null;
navigationMenuItemExt9.ShowTip = true;
navigationMenuItemExt9.Text = "菜单1";
navigationMenuItemExt9.TipText = null;
navigationMenuItemExt10.AnchorRight = false;
navigationMenuItemExt10.DataSource = null;
navigationMenuItemExt10.Icon = null;
navigationMenuItemExt10.ItemWidth = 100;
navigationMenuItemExt10.ShowControl = null;
navigationMenuItemExt10.ShowTip = true;
navigationMenuItemExt10.Text = "菜单2";
navigationMenuItemExt10.TipText = null;
navigationMenuItemExt11.AnchorRight = true;
navigationMenuItemExt11.DataSource = null;
navigationMenuItemExt11.Icon = null;
navigationMenuItemExt11.ItemWidth = 100;
navigationMenuItemExt11.ShowControl = null;
navigationMenuItemExt11.ShowTip = true;
navigationMenuItemExt11.Text = "菜单3";
navigationMenuItemExt11.TipText = null;
navigationMenuItemExt12.AnchorRight = true;
navigationMenuItemExt12.DataSource = null;
navigationMenuItemExt12.Icon = null;
navigationMenuItemExt12.ItemWidth = 100;
navigationMenuItemExt12.ShowControl = null;
navigationMenuItemExt12.ShowTip = true;
navigationMenuItemExt12.Text = "菜单4";
navigationMenuItemExt12.TipText = null;
this.ucNavigationMenuOffice3.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt9,
navigationMenuItemExt10,
navigationMenuItemExt11,
navigationMenuItemExt12};
this.ucNavigationMenuOffice3.Location = new System.Drawing.Point(0, 382);
this.ucNavigationMenuOffice3.MainMenuHeight = 25;
this.ucNavigationMenuOffice3.Name = "ucNavigationMenuOffice3";
this.ucNavigationMenuOffice3.Size = new System.Drawing.Size(783, 125);
this.ucNavigationMenuOffice3.TabIndex = 0;
this.ucNavigationMenuOffice3.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// ucNavigationMenuOffice4
//
this.ucNavigationMenuOffice4.BackColor = System.Drawing.Color.Gray;
this.ucNavigationMenuOffice4.ExpandHeight = 125;
this.ucNavigationMenuOffice4.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucNavigationMenuOffice4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.ucNavigationMenuOffice4.IsExpand = true;
navigationMenuItemExt13.AnchorRight = false;
navigationMenuItemExt13.DataSource = null;
navigationMenuItemExt13.Icon = null;
navigationMenuItemExt13.ItemWidth = 100;
navigationMenuItemExt13.ShowControl = null;
navigationMenuItemExt13.ShowTip = false;
navigationMenuItemExt13.Text = "菜单1";
navigationMenuItemExt13.TipText = null;
navigationMenuItemExt14.AnchorRight = false;
navigationMenuItemExt14.DataSource = null;
navigationMenuItemExt14.Icon = null;
navigationMenuItemExt14.ItemWidth = 100;
navigationMenuItemExt14.ShowControl = null;
navigationMenuItemExt14.ShowTip = false;
navigationMenuItemExt14.Text = "菜单2";
navigationMenuItemExt14.TipText = null;
navigationMenuItemExt15.AnchorRight = true;
navigationMenuItemExt15.DataSource = null;
navigationMenuItemExt15.Icon = null;
navigationMenuItemExt15.ItemWidth = 100;
navigationMenuItemExt15.ShowControl = null;
navigationMenuItemExt15.ShowTip = false;
navigationMenuItemExt15.Text = "菜单3";
navigationMenuItemExt15.TipText = null;
navigationMenuItemExt16.AnchorRight = true;
navigationMenuItemExt16.DataSource = null;
navigationMenuItemExt16.Icon = null;
navigationMenuItemExt16.ItemWidth = 100;
navigationMenuItemExt16.ShowControl = null;
navigationMenuItemExt16.ShowTip = false;
navigationMenuItemExt16.Text = "菜单4";
navigationMenuItemExt16.TipText = null;
this.ucNavigationMenuOffice4.Items = new HZH_Controls.Controls.NavigationMenuItemExt[] {
navigationMenuItemExt13,
navigationMenuItemExt14,
navigationMenuItemExt15,
navigationMenuItemExt16};
this.ucNavigationMenuOffice4.Location = new System.Drawing.Point(0, 561);
this.ucNavigationMenuOffice4.MainMenuHeight = 25;
this.ucNavigationMenuOffice4.Name = "ucNavigationMenuOffice4";
this.ucNavigationMenuOffice4.Size = new System.Drawing.Size(783, 125);
this.ucNavigationMenuOffice4.TabIndex = 0;
this.ucNavigationMenuOffice4.TipColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
//
// UCTestNavigationMenuOffice
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucNavigationMenuOffice4);
this.Controls.Add(this.ucNavigationMenuOffice3);
this.Controls.Add(this.ucNavigationMenuOffice2);
this.Controls.Add(this.ucNavigationMenuOffice1);
this.Name = "UCTestNavigationMenuOffice";
this.Size = new System.Drawing.Size(783, 723);
this.Load += new System.EventHandler(this.UCTestNavigationMenuOffice_Load);
this.ResumeLayout(false);
}
#endregion
private HZH_Controls.Controls.UCNavigationMenuOffice ucNavigationMenuOffice1;
private HZH_Controls.Controls.UCNavigationMenuOffice ucNavigationMenuOffice2;
private HZH_Controls.Controls.UCNavigationMenuOffice ucNavigationMenuOffice3;
private HZH_Controls.Controls.UCNavigationMenuOffice ucNavigationMenuOffice4;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HZH_Controls.Controls;
namespace Test.UC
{
public partial class UCTestNavigationMenuOffice : UserControl
{
public UCTestNavigationMenuOffice()
{
InitializeComponent();
}
private void UCTestNavigationMenuOffice_Load(object sender, EventArgs e)
{
foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice1.Items)
{
Control panel1 =new UCTestNavigationMenuOfficeItem( item.Text);
item.ShowControl = panel1;
}
this.ucNavigationMenuOffice1.ResetChildControl();
foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice2.Items)
{
Control panel1 = new UCTestNavigationMenuOfficeItem(item.Text);
item.ShowControl = panel1;
}
this.ucNavigationMenuOffice2.ResetChildControl();
foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice3.Items)
{
Control panel1 = new UCTestNavigationMenuOfficeItem(item.Text);
item.ShowControl = panel1;
}
this.ucNavigationMenuOffice3.ResetChildControl();
foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice4.Items)
{
Control panel1 = new UCTestNavigationMenuOfficeItem(item.Text);
item.ShowControl = panel1;
}
this.ucNavigationMenuOffice4.ResetChildControl();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="navigationMenuItemExt4.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAEGSURBVDhP7ZGxagJBFEX3A9JYBjtLgx9gIYRAsLKK/kSqFIKCyKbMD1jYpE8nyZJA2NmdnW0C
FpI/MKS3t8t58kxlsbOL3R64zHt35l12Z4Kakzjn2mmaXmhbHWPMo7X2B/XUqoYEivjKX0LnaheHoRHD
T9r+B6Im/it64xoudbsYSZIsGLQScgwUH2/I3jdreDjoA4N3DO6OgfRL+i31jR7xJ4qiBiGf6IureFa7
PAQN0UpE4FJtf/i9KwJeCBqjkPqedcLq8jxv6bFiMHjNoInjuKt9iB6k5nX71Gv2B9KXQgOnhPRYP9CG
+la3/ZFAeWVC9tQztcsjgeg9y7KOWjVnIwj+AISOvF76iy4mAAAAAElFTkSuQmCC
</value>
</data>
<data name="navigationMenuItemExt5.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAEGSURBVDhP7ZGxagJBFEX3A9JYBjtLgx9gIYRAsLKK/kSqFIKCyKbMD1jYpE8nyZJA2NmdnW0C
FpI/MKS3t8t58kxlsbOL3R64zHt35l12Z4Kakzjn2mmaXmhbHWPMo7X2B/XUqoYEivjKX0LnaheHoRHD
T9r+B6Im/it64xoudbsYSZIsGLQScgwUH2/I3jdreDjoA4N3DO6OgfRL+i31jR7xJ4qiBiGf6IureFa7
PAQN0UpE4FJtf/i9KwJeCBqjkPqedcLq8jxv6bFiMHjNoInjuKt9iB6k5nX71Gv2B9KXQgOnhPRYP9CG
+la3/ZFAeWVC9tQztcsjgeg9y7KOWjVnIwj+AISOvF76iy4mAAAAAElFTkSuQmCC
</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
namespace Test.UC
{
partial class UCTestNavigationMenuOfficeItem
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTestNavigationMenuOfficeItem));
this.ucBtnImg1 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg2 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg3 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg4 = new HZH_Controls.Controls.UCBtnImg();
this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V();
this.ucBtnImg5 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg6 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg7 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg8 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg9 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg10 = new HZH_Controls.Controls.UCBtnImg();
this.ucSplitLine_V2 = new HZH_Controls.Controls.UCSplitLine_V();
this.ucBtnImg11 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg12 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg13 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg14 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg15 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg16 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg17 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnImg18 = new HZH_Controls.Controls.UCBtnImg();
this.ucSplitLine_V3 = new HZH_Controls.Controls.UCSplitLine_V();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// ucBtnImg1
//
this.ucBtnImg1.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg1.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg1.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg1.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg1.BtnText = "";
this.ucBtnImg1.ConerRadius = 5;
this.ucBtnImg1.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg1.FillColor = System.Drawing.Color.White;
this.ucBtnImg1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg1.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg1.Image")));
this.ucBtnImg1.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg1.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg1.ImageFontIcons")));
this.ucBtnImg1.IsRadius = true;
this.ucBtnImg1.IsShowRect = true;
this.ucBtnImg1.IsShowTips = false;
this.ucBtnImg1.Location = new System.Drawing.Point(13, 11);
this.ucBtnImg1.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg1.Name = "ucBtnImg1";
this.ucBtnImg1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg1.RectWidth = 1;
this.ucBtnImg1.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg1.TabIndex = 0;
this.ucBtnImg1.TabStop = false;
this.ucBtnImg1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg1.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg1.TipsText = "";
//
// ucBtnImg2
//
this.ucBtnImg2.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg2.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg2.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg2.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg2.BtnText = "";
this.ucBtnImg2.ConerRadius = 5;
this.ucBtnImg2.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg2.FillColor = System.Drawing.Color.White;
this.ucBtnImg2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg2.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg2.Image")));
this.ucBtnImg2.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg2.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg2.ImageFontIcons")));
this.ucBtnImg2.IsRadius = true;
this.ucBtnImg2.IsShowRect = true;
this.ucBtnImg2.IsShowTips = false;
this.ucBtnImg2.Location = new System.Drawing.Point(13, 54);
this.ucBtnImg2.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg2.Name = "ucBtnImg2";
this.ucBtnImg2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg2.RectWidth = 1;
this.ucBtnImg2.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg2.TabIndex = 0;
this.ucBtnImg2.TabStop = false;
this.ucBtnImg2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg2.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg2.TipsText = "";
//
// ucBtnImg3
//
this.ucBtnImg3.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg3.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg3.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg3.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg3.BtnText = "";
this.ucBtnImg3.ConerRadius = 5;
this.ucBtnImg3.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg3.FillColor = System.Drawing.Color.White;
this.ucBtnImg3.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg3.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg3.Image")));
this.ucBtnImg3.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg3.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg3.ImageFontIcons")));
this.ucBtnImg3.IsRadius = true;
this.ucBtnImg3.IsShowRect = true;
this.ucBtnImg3.IsShowTips = false;
this.ucBtnImg3.Location = new System.Drawing.Point(71, 11);
this.ucBtnImg3.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg3.Name = "ucBtnImg3";
this.ucBtnImg3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg3.RectWidth = 1;
this.ucBtnImg3.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg3.TabIndex = 0;
this.ucBtnImg3.TabStop = false;
this.ucBtnImg3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg3.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg3.TipsText = "";
//
// ucBtnImg4
//
this.ucBtnImg4.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg4.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg4.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg4.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg4.BtnText = "";
this.ucBtnImg4.ConerRadius = 5;
this.ucBtnImg4.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg4.FillColor = System.Drawing.Color.White;
this.ucBtnImg4.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg4.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg4.Image")));
this.ucBtnImg4.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg4.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg4.ImageFontIcons")));
this.ucBtnImg4.IsRadius = true;
this.ucBtnImg4.IsShowRect = true;
this.ucBtnImg4.IsShowTips = false;
this.ucBtnImg4.Location = new System.Drawing.Point(71, 54);
this.ucBtnImg4.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg4.Name = "ucBtnImg4";
this.ucBtnImg4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg4.RectWidth = 1;
this.ucBtnImg4.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg4.TabIndex = 0;
this.ucBtnImg4.TabStop = false;
this.ucBtnImg4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg4.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg4.TipsText = "";
//
// ucSplitLine_V1
//
this.ucSplitLine_V1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(232)))));
this.ucSplitLine_V1.Location = new System.Drawing.Point(128, 11);
this.ucSplitLine_V1.Name = "ucSplitLine_V1";
this.ucSplitLine_V1.Size = new System.Drawing.Size(1, 76);
this.ucSplitLine_V1.TabIndex = 1;
this.ucSplitLine_V1.TabStop = false;
//
// ucBtnImg5
//
this.ucBtnImg5.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg5.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg5.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg5.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg5.BtnText = "";
this.ucBtnImg5.ConerRadius = 5;
this.ucBtnImg5.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg5.FillColor = System.Drawing.Color.White;
this.ucBtnImg5.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg5.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg5.Image")));
this.ucBtnImg5.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg5.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg5.ImageFontIcons")));
this.ucBtnImg5.IsRadius = true;
this.ucBtnImg5.IsShowRect = true;
this.ucBtnImg5.IsShowTips = false;
this.ucBtnImg5.Location = new System.Drawing.Point(143, 11);
this.ucBtnImg5.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg5.Name = "ucBtnImg5";
this.ucBtnImg5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg5.RectWidth = 1;
this.ucBtnImg5.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg5.TabIndex = 0;
this.ucBtnImg5.TabStop = false;
this.ucBtnImg5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg5.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg5.TipsText = "";
//
// ucBtnImg6
//
this.ucBtnImg6.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg6.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg6.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg6.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg6.BtnText = "";
this.ucBtnImg6.ConerRadius = 5;
this.ucBtnImg6.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg6.FillColor = System.Drawing.Color.White;
this.ucBtnImg6.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg6.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg6.Image")));
this.ucBtnImg6.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg6.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg6.ImageFontIcons")));
this.ucBtnImg6.IsRadius = true;
this.ucBtnImg6.IsShowRect = true;
this.ucBtnImg6.IsShowTips = false;
this.ucBtnImg6.Location = new System.Drawing.Point(203, 11);
this.ucBtnImg6.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg6.Name = "ucBtnImg6";
this.ucBtnImg6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg6.RectWidth = 1;
this.ucBtnImg6.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg6.TabIndex = 0;
this.ucBtnImg6.TabStop = false;
this.ucBtnImg6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg6.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg6.TipsText = "";
//
// ucBtnImg7
//
this.ucBtnImg7.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg7.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg7.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg7.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg7.BtnText = "";
this.ucBtnImg7.ConerRadius = 5;
this.ucBtnImg7.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg7.FillColor = System.Drawing.Color.White;
this.ucBtnImg7.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg7.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg7.Image")));
this.ucBtnImg7.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg7.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg7.ImageFontIcons")));
this.ucBtnImg7.IsRadius = true;
this.ucBtnImg7.IsShowRect = true;
this.ucBtnImg7.IsShowTips = false;
this.ucBtnImg7.Location = new System.Drawing.Point(263, 11);
this.ucBtnImg7.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg7.Name = "ucBtnImg7";
this.ucBtnImg7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg7.RectWidth = 1;
this.ucBtnImg7.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg7.TabIndex = 0;
this.ucBtnImg7.TabStop = false;
this.ucBtnImg7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg7.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg7.TipsText = "";
//
// ucBtnImg8
//
this.ucBtnImg8.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg8.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg8.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg8.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg8.BtnText = "";
this.ucBtnImg8.ConerRadius = 5;
this.ucBtnImg8.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg8.FillColor = System.Drawing.Color.White;
this.ucBtnImg8.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg8.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg8.Image")));
this.ucBtnImg8.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg8.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg8.ImageFontIcons")));
this.ucBtnImg8.IsRadius = true;
this.ucBtnImg8.IsShowRect = true;
this.ucBtnImg8.IsShowTips = false;
this.ucBtnImg8.Location = new System.Drawing.Point(143, 55);
this.ucBtnImg8.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg8.Name = "ucBtnImg8";
this.ucBtnImg8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg8.RectWidth = 1;
this.ucBtnImg8.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg8.TabIndex = 0;
this.ucBtnImg8.TabStop = false;
this.ucBtnImg8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg8.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg8.TipsText = "";
//
// ucBtnImg9
//
this.ucBtnImg9.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg9.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg9.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg9.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg9.BtnText = "";
this.ucBtnImg9.ConerRadius = 5;
this.ucBtnImg9.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg9.FillColor = System.Drawing.Color.White;
this.ucBtnImg9.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg9.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg9.Image")));
this.ucBtnImg9.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg9.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg9.ImageFontIcons")));
this.ucBtnImg9.IsRadius = true;
this.ucBtnImg9.IsShowRect = true;
this.ucBtnImg9.IsShowTips = false;
this.ucBtnImg9.Location = new System.Drawing.Point(203, 54);
this.ucBtnImg9.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg9.Name = "ucBtnImg9";
this.ucBtnImg9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg9.RectWidth = 1;
this.ucBtnImg9.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg9.TabIndex = 0;
this.ucBtnImg9.TabStop = false;
this.ucBtnImg9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg9.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg9.TipsText = "";
//
// ucBtnImg10
//
this.ucBtnImg10.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg10.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg10.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg10.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg10.BtnText = "";
this.ucBtnImg10.ConerRadius = 5;
this.ucBtnImg10.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg10.FillColor = System.Drawing.Color.White;
this.ucBtnImg10.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg10.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg10.Image")));
this.ucBtnImg10.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg10.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg10.ImageFontIcons")));
this.ucBtnImg10.IsRadius = true;
this.ucBtnImg10.IsShowRect = true;
this.ucBtnImg10.IsShowTips = false;
this.ucBtnImg10.Location = new System.Drawing.Point(263, 55);
this.ucBtnImg10.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg10.Name = "ucBtnImg10";
this.ucBtnImg10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnImg10.RectWidth = 1;
this.ucBtnImg10.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg10.TabIndex = 0;
this.ucBtnImg10.TabStop = false;
this.ucBtnImg10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg10.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg10.TipsText = "";
//
// ucSplitLine_V2
//
this.ucSplitLine_V2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(232)))));
this.ucSplitLine_V2.Location = new System.Drawing.Point(325, 10);
this.ucSplitLine_V2.Name = "ucSplitLine_V2";
this.ucSplitLine_V2.Size = new System.Drawing.Size(1, 76);
this.ucSplitLine_V2.TabIndex = 2;
this.ucSplitLine_V2.TabStop = false;
//
// ucBtnImg11
//
this.ucBtnImg11.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg11.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg11.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg11.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg11.BtnText = "";
this.ucBtnImg11.ConerRadius = 5;
this.ucBtnImg11.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg11.FillColor = System.Drawing.Color.White;
this.ucBtnImg11.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg11.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg11.Image")));
this.ucBtnImg11.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg11.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg11.ImageFontIcons")));
this.ucBtnImg11.IsRadius = true;
this.ucBtnImg11.IsShowRect = true;
this.ucBtnImg11.IsShowTips = false;
this.ucBtnImg11.Location = new System.Drawing.Point(341, 11);
this.ucBtnImg11.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg11.Name = "ucBtnImg11";
this.ucBtnImg11.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg11.RectWidth = 1;
this.ucBtnImg11.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg11.TabIndex = 0;
this.ucBtnImg11.TabStop = false;
this.ucBtnImg11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg11.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg11.TipsText = "";
//
// ucBtnImg12
//
this.ucBtnImg12.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg12.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg12.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg12.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg12.BtnText = "";
this.ucBtnImg12.ConerRadius = 5;
this.ucBtnImg12.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg12.FillColor = System.Drawing.Color.White;
this.ucBtnImg12.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg12.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg12.Image")));
this.ucBtnImg12.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg12.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg12.ImageFontIcons")));
this.ucBtnImg12.IsRadius = true;
this.ucBtnImg12.IsShowRect = true;
this.ucBtnImg12.IsShowTips = false;
this.ucBtnImg12.Location = new System.Drawing.Point(400, 11);
this.ucBtnImg12.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg12.Name = "ucBtnImg12";
this.ucBtnImg12.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg12.RectWidth = 1;
this.ucBtnImg12.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg12.TabIndex = 0;
this.ucBtnImg12.TabStop = false;
this.ucBtnImg12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg12.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg12.TipsText = "";
//
// ucBtnImg13
//
this.ucBtnImg13.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg13.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg13.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg13.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg13.BtnText = "";
this.ucBtnImg13.ConerRadius = 5;
this.ucBtnImg13.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg13.FillColor = System.Drawing.Color.White;
this.ucBtnImg13.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg13.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg13.Image")));
this.ucBtnImg13.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg13.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg13.ImageFontIcons")));
this.ucBtnImg13.IsRadius = true;
this.ucBtnImg13.IsShowRect = true;
this.ucBtnImg13.IsShowTips = false;
this.ucBtnImg13.Location = new System.Drawing.Point(461, 11);
this.ucBtnImg13.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg13.Name = "ucBtnImg13";
this.ucBtnImg13.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg13.RectWidth = 1;
this.ucBtnImg13.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg13.TabIndex = 0;
this.ucBtnImg13.TabStop = false;
this.ucBtnImg13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg13.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg13.TipsText = "";
//
// ucBtnImg14
//
this.ucBtnImg14.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg14.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg14.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg14.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg14.BtnText = "";
this.ucBtnImg14.ConerRadius = 5;
this.ucBtnImg14.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg14.FillColor = System.Drawing.Color.White;
this.ucBtnImg14.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg14.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg14.Image")));
this.ucBtnImg14.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg14.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg14.ImageFontIcons")));
this.ucBtnImg14.IsRadius = true;
this.ucBtnImg14.IsShowRect = true;
this.ucBtnImg14.IsShowTips = false;
this.ucBtnImg14.Location = new System.Drawing.Point(523, 11);
this.ucBtnImg14.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg14.Name = "ucBtnImg14";
this.ucBtnImg14.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg14.RectWidth = 1;
this.ucBtnImg14.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg14.TabIndex = 0;
this.ucBtnImg14.TabStop = false;
this.ucBtnImg14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg14.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg14.TipsText = "";
//
// ucBtnImg15
//
this.ucBtnImg15.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg15.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg15.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg15.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg15.BtnText = "";
this.ucBtnImg15.ConerRadius = 5;
this.ucBtnImg15.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg15.FillColor = System.Drawing.Color.White;
this.ucBtnImg15.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg15.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg15.Image")));
this.ucBtnImg15.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg15.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg15.ImageFontIcons")));
this.ucBtnImg15.IsRadius = true;
this.ucBtnImg15.IsShowRect = true;
this.ucBtnImg15.IsShowTips = false;
this.ucBtnImg15.Location = new System.Drawing.Point(341, 54);
this.ucBtnImg15.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg15.Name = "ucBtnImg15";
this.ucBtnImg15.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg15.RectWidth = 1;
this.ucBtnImg15.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg15.TabIndex = 0;
this.ucBtnImg15.TabStop = false;
this.ucBtnImg15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg15.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg15.TipsText = "";
//
// ucBtnImg16
//
this.ucBtnImg16.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg16.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg16.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg16.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg16.BtnText = "";
this.ucBtnImg16.ConerRadius = 5;
this.ucBtnImg16.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg16.FillColor = System.Drawing.Color.White;
this.ucBtnImg16.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg16.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg16.Image")));
this.ucBtnImg16.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg16.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg16.ImageFontIcons")));
this.ucBtnImg16.IsRadius = true;
this.ucBtnImg16.IsShowRect = true;
this.ucBtnImg16.IsShowTips = false;
this.ucBtnImg16.Location = new System.Drawing.Point(400, 54);
this.ucBtnImg16.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg16.Name = "ucBtnImg16";
this.ucBtnImg16.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg16.RectWidth = 1;
this.ucBtnImg16.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg16.TabIndex = 0;
this.ucBtnImg16.TabStop = false;
this.ucBtnImg16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg16.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg16.TipsText = "";
//
// ucBtnImg17
//
this.ucBtnImg17.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg17.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg17.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg17.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg17.BtnText = "";
this.ucBtnImg17.ConerRadius = 5;
this.ucBtnImg17.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg17.FillColor = System.Drawing.Color.White;
this.ucBtnImg17.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg17.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg17.Image")));
this.ucBtnImg17.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg17.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg17.ImageFontIcons")));
this.ucBtnImg17.IsRadius = true;
this.ucBtnImg17.IsShowRect = true;
this.ucBtnImg17.IsShowTips = false;
this.ucBtnImg17.Location = new System.Drawing.Point(461, 54);
this.ucBtnImg17.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg17.Name = "ucBtnImg17";
this.ucBtnImg17.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg17.RectWidth = 1;
this.ucBtnImg17.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg17.TabIndex = 0;
this.ucBtnImg17.TabStop = false;
this.ucBtnImg17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg17.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg17.TipsText = "";
//
// ucBtnImg18
//
this.ucBtnImg18.BackColor = System.Drawing.Color.Transparent;
this.ucBtnImg18.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnImg18.BtnFont = new System.Drawing.Font("微软雅黑", 17F);
this.ucBtnImg18.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg18.BtnText = "";
this.ucBtnImg18.ConerRadius = 5;
this.ucBtnImg18.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg18.FillColor = System.Drawing.Color.White;
this.ucBtnImg18.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg18.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg18.Image")));
this.ucBtnImg18.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg18.ImageFontIcons = ((object)(resources.GetObject("ucBtnImg18.ImageFontIcons")));
this.ucBtnImg18.IsRadius = true;
this.ucBtnImg18.IsShowRect = true;
this.ucBtnImg18.IsShowTips = false;
this.ucBtnImg18.Location = new System.Drawing.Point(523, 54);
this.ucBtnImg18.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg18.Name = "ucBtnImg18";
this.ucBtnImg18.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(197)))), ((int)(((byte)(233)))));
this.ucBtnImg18.RectWidth = 1;
this.ucBtnImg18.Size = new System.Drawing.Size(47, 32);
this.ucBtnImg18.TabIndex = 0;
this.ucBtnImg18.TabStop = false;
this.ucBtnImg18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.ucBtnImg18.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(30)))), ((int)(((byte)(99)))));
this.ucBtnImg18.TipsText = "";
//
// ucSplitLine_V3
//
this.ucSplitLine_V3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(232)))));
this.ucSplitLine_V3.Location = new System.Drawing.Point(582, 11);
this.ucSplitLine_V3.Name = "ucSplitLine_V3";
this.ucSplitLine_V3.Size = new System.Drawing.Size(1, 76);
this.ucSplitLine_V3.TabIndex = 2;
this.ucSplitLine_V3.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(589, 44);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.TabIndex = 3;
this.label1.Text = "测试";
//
// UCTestNavigationMenuOfficeItem
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.Transparent;
this.Controls.Add(this.label1);
this.Controls.Add(this.ucSplitLine_V3);
this.Controls.Add(this.ucSplitLine_V2);
this.Controls.Add(this.ucSplitLine_V1);
this.Controls.Add(this.ucBtnImg4);
this.Controls.Add(this.ucBtnImg3);
this.Controls.Add(this.ucBtnImg2);
this.Controls.Add(this.ucBtnImg10);
this.Controls.Add(this.ucBtnImg9);
this.Controls.Add(this.ucBtnImg8);
this.Controls.Add(this.ucBtnImg7);
this.Controls.Add(this.ucBtnImg6);
this.Controls.Add(this.ucBtnImg18);
this.Controls.Add(this.ucBtnImg14);
this.Controls.Add(this.ucBtnImg17);
this.Controls.Add(this.ucBtnImg13);
this.Controls.Add(this.ucBtnImg16);
this.Controls.Add(this.ucBtnImg12);
this.Controls.Add(this.ucBtnImg15);
this.Controls.Add(this.ucBtnImg11);
this.Controls.Add(this.ucBtnImg5);
this.Controls.Add(this.ucBtnImg1);
this.Name = "UCTestNavigationMenuOfficeItem";
this.Size = new System.Drawing.Size(791, 100);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private HZH_Controls.Controls.UCBtnImg ucBtnImg1;
private HZH_Controls.Controls.UCBtnImg ucBtnImg2;
private HZH_Controls.Controls.UCBtnImg ucBtnImg3;
private HZH_Controls.Controls.UCBtnImg ucBtnImg4;
private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V1;
private HZH_Controls.Controls.UCBtnImg ucBtnImg5;
private HZH_Controls.Controls.UCBtnImg ucBtnImg6;
private HZH_Controls.Controls.UCBtnImg ucBtnImg7;
private HZH_Controls.Controls.UCBtnImg ucBtnImg8;
private HZH_Controls.Controls.UCBtnImg ucBtnImg9;
private HZH_Controls.Controls.UCBtnImg ucBtnImg10;
private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V2;
private HZH_Controls.Controls.UCBtnImg ucBtnImg11;
private HZH_Controls.Controls.UCBtnImg ucBtnImg12;
private HZH_Controls.Controls.UCBtnImg ucBtnImg13;
private HZH_Controls.Controls.UCBtnImg ucBtnImg14;
private HZH_Controls.Controls.UCBtnImg ucBtnImg15;
private HZH_Controls.Controls.UCBtnImg ucBtnImg16;
private HZH_Controls.Controls.UCBtnImg ucBtnImg17;
private HZH_Controls.Controls.UCBtnImg ucBtnImg18;
private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V3;
private System.Windows.Forms.Label label1;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Test.UC
{
public partial class UCTestNavigationMenuOfficeItem : UserControl
{
public UCTestNavigationMenuOfficeItem(string str)
{
InitializeComponent();
label1.Text = str;
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="ucBtnImg1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg1.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg2.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg3.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg4.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAFtSURBVFhH7ZXRbcMgEIb93gW6QKW+GqfPnSAPVUF5yAbZ
oCt0hcyQJbpFl4Fyx51rHC6HAg9V5V/6FfuA4zMcZNj0Z+Xtbu/tdPHWfDXbmQ9KW6fwPr0GNwXvpu8e
xlzWnCm9LiBOg3Z7Ct2tYJ8fGIRCuhggOGMo1KS0Df8RANrB/m18pFBRDFDTF6UBYKKYNPXhYpUrPesb
nyksSwNYJlxaKtquAHxES5aSdwX4bbv2LYBuNeAPL0/ridlxouJlwwD0qquiBs5Xk0MhCl8HAHOfeL1T
WJa2BdGn9JtuOPzPoBjUCHWdxQAIIWxTJkxUAFgnihN/ki8cT235aegC4N145CSa15MgLK5WWj0KyyoC
FPZdMkxGw1AMQK+6BIB5Geucj+2xAk0AHIdnCssqA+SFdsv4tYsj2QcgJoTBaSk1j0cahmIAbGu9B+4R
g9Orrg0gApxwz+LZB5h2p9qg9HXiwunldWFu2pQ0DD8hJjBCKtesogAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg5.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg6.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg7.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg8.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg8.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr8AAA6/ATgFUyQAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg9.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr8AAA6/ATgFUyQAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg10.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr4AAA6+AepCscAAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg10.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr4AAA6+AepCscAAAAFPSURBVFhH7VbdDYIwEObdBVzAxFdafXYCH4w0PrCBG7gC
KzADS7iFyxTvrwYQCIVi1PAlF0q53n13vSuNFvwcymS7kmEnhuiMhr3sNzbZHeW1FdaomwznAToojVL4
tIm6i+TWxCnJKV6LanigcZvoojS6bBNr9AOIXUU9LDhq/Whz7MR9x4zIsnDAVLMTTL3Oqo55HqLHDDkS
ITPB+15x1JEJR5LGoCPLp6Nq2EvO+iAmpsFF7S8jW5L7HdtLF/Qu++4rmAFqTbaVkfEhAOVXq5FziKaW
2oFCRCprMTBx0Y9aMTWM+Mj7WqXERT8WAguB7yIQsA09COyOuJAED6WxBNwBhnYgKDHvjykExMQ0QBSd
l5BeCfYzov881kK9Hji9b3MFz8WpLA+L+nZwUTWLlhTnwkLAEcCnu4IDgfxzBPCMgIibRUbFN8dt+I8R
RU8B068nZ+Z/8gAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucBtnImg11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg11.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg12.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg13.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg13.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg14.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg14.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg15.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg15.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg16.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg16.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg17.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg17.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg18.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr8AAA6/ATgFUyQAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
<data name="ucBtnImg18.ImageFontIcons" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr8AAA6/ATgFUyQAAAEySURBVFhH7VXtDYIwEOW/C7iAib9MwAEcxA3cgBVYgRmc
wcjHEE4g4BB6116VlBbaA0JMeMkL5C5393q9tsGKFX+NsKivUVE9kGFZZYes2ZFrfkDROCrrd5soiNzz
wygAukDuaWFqrauA0dsSFlUiCsi9jsk8KADiziJGs3sB1ask7SKU3CjgmD9P+O34IIbSukNMuZboS02Y
1aYIPkrrDtNK2OQIiPJXNIkIKM7aAgVIEPe2t59peG+2lIoPTNI7ExrVQFL4eHh3QbY9oXA+bMfKmVL0
hdL5AVfQScgk651Y/BhaO4D7axJnswPZLyXt4a8ADRb8W98C4WvHAdknQg0hrqB9nvsEIPa3egO2VMaO
uIRsGBIwOxYXgG3tCJji4vGBECEHDrvBu2xWrFgWQfAB1kEnZKRe2KIAAAAASUVORK5CYII=
</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,7 @@ using System.Windows.Forms; ...@@ -9,6 +9,7 @@ using System.Windows.Forms;
namespace Test.UC namespace Test.UC
{ {
[ToolboxItem(false)]
public partial class UCTestSampling : UserControl public partial class UCTestSampling : UserControl
{ {
public UCTestSampling() public UCTestSampling()
......
namespace Test.UC
{
partial class UCTestSplitLabel
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.ucSplitLabel8 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel4 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel7 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel3 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel6 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel2 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel5 = new HZH_Controls.Controls.UCSplitLabel();
this.ucSplitLabel1 = new HZH_Controls.Controls.UCSplitLabel();
this.SuspendLayout();
//
// ucSplitLabel8
//
this.ucSplitLabel8.Font = new System.Drawing.Font("微软雅黑", 22F);
this.ucSplitLabel8.LineColor = System.Drawing.Color.Blue;
this.ucSplitLabel8.Location = new System.Drawing.Point(18, 305);
this.ucSplitLabel8.MaximumSize = new System.Drawing.Size(0, 42);
this.ucSplitLabel8.MinimumSize = new System.Drawing.Size(150, 42);
this.ucSplitLabel8.Name = "ucSplitLabel8";
this.ucSplitLabel8.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel8.Size = new System.Drawing.Size(465, 42);
this.ucSplitLabel8.TabIndex = 0;
this.ucSplitLabel8.Text = "22号大小";
//
// ucSplitLabel4
//
this.ucSplitLabel4.Font = new System.Drawing.Font("微软雅黑", 8F);
this.ucSplitLabel4.LineColor = System.Drawing.Color.Blue;
this.ucSplitLabel4.Location = new System.Drawing.Point(18, 145);
this.ucSplitLabel4.MaximumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel4.MinimumSize = new System.Drawing.Size(150, 15);
this.ucSplitLabel4.Name = "ucSplitLabel4";
this.ucSplitLabel4.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel4.Size = new System.Drawing.Size(465, 15);
this.ucSplitLabel4.TabIndex = 0;
this.ucSplitLabel4.Text = "颜色分隔";
//
// ucSplitLabel7
//
this.ucSplitLabel7.Font = new System.Drawing.Font("微软雅黑", 18F);
this.ucSplitLabel7.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.ucSplitLabel7.Location = new System.Drawing.Point(18, 264);
this.ucSplitLabel7.MaximumSize = new System.Drawing.Size(0, 34);
this.ucSplitLabel7.MinimumSize = new System.Drawing.Size(150, 34);
this.ucSplitLabel7.Name = "ucSplitLabel7";
this.ucSplitLabel7.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel7.Size = new System.Drawing.Size(465, 34);
this.ucSplitLabel7.TabIndex = 0;
this.ucSplitLabel7.Text = "18号大小";
//
// ucSplitLabel3
//
this.ucSplitLabel3.Font = new System.Drawing.Font("微软雅黑", 8F);
this.ucSplitLabel3.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.ucSplitLabel3.Location = new System.Drawing.Point(18, 104);
this.ucSplitLabel3.MaximumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel3.MinimumSize = new System.Drawing.Size(150, 15);
this.ucSplitLabel3.Name = "ucSplitLabel3";
this.ucSplitLabel3.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel3.Size = new System.Drawing.Size(465, 15);
this.ucSplitLabel3.TabIndex = 0;
this.ucSplitLabel3.Text = "绿色分隔";
//
// ucSplitLabel6
//
this.ucSplitLabel6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucSplitLabel6.LineColor = System.Drawing.Color.Red;
this.ucSplitLabel6.Location = new System.Drawing.Point(20, 223);
this.ucSplitLabel6.MaximumSize = new System.Drawing.Size(0, 23);
this.ucSplitLabel6.MinimumSize = new System.Drawing.Size(0, 23);
this.ucSplitLabel6.Name = "ucSplitLabel6";
this.ucSplitLabel6.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel6.Size = new System.Drawing.Size(463, 23);
this.ucSplitLabel6.TabIndex = 0;
this.ucSplitLabel6.Text = "12号大小";
//
// ucSplitLabel2
//
this.ucSplitLabel2.Font = new System.Drawing.Font("微软雅黑", 8F);
this.ucSplitLabel2.LineColor = System.Drawing.Color.Red;
this.ucSplitLabel2.Location = new System.Drawing.Point(18, 63);
this.ucSplitLabel2.MaximumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel2.MinimumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel2.Name = "ucSplitLabel2";
this.ucSplitLabel2.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel2.Size = new System.Drawing.Size(465, 15);
this.ucSplitLabel2.TabIndex = 0;
this.ucSplitLabel2.Text = "红色分隔";
//
// ucSplitLabel5
//
this.ucSplitLabel5.Font = new System.Drawing.Font("微软雅黑", 8F);
this.ucSplitLabel5.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(238)))), ((int)(((byte)(245)))));
this.ucSplitLabel5.Location = new System.Drawing.Point(18, 182);
this.ucSplitLabel5.MaximumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel5.MinimumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel5.Name = "ucSplitLabel5";
this.ucSplitLabel5.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel5.Size = new System.Drawing.Size(465, 15);
this.ucSplitLabel5.TabIndex = 0;
this.ucSplitLabel5.Text = "默认大小";
//
// ucSplitLabel1
//
this.ucSplitLabel1.Font = new System.Drawing.Font("微软雅黑", 8F);
this.ucSplitLabel1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(238)))), ((int)(((byte)(245)))));
this.ucSplitLabel1.Location = new System.Drawing.Point(18, 22);
this.ucSplitLabel1.MaximumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel1.MinimumSize = new System.Drawing.Size(0, 15);
this.ucSplitLabel1.Name = "ucSplitLabel1";
this.ucSplitLabel1.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
this.ucSplitLabel1.Size = new System.Drawing.Size(465, 15);
this.ucSplitLabel1.TabIndex = 0;
this.ucSplitLabel1.Text = "默认颜色";
//
// UCTestSplitLabel
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucSplitLabel8);
this.Controls.Add(this.ucSplitLabel4);
this.Controls.Add(this.ucSplitLabel7);
this.Controls.Add(this.ucSplitLabel3);
this.Controls.Add(this.ucSplitLabel6);
this.Controls.Add(this.ucSplitLabel2);
this.Controls.Add(this.ucSplitLabel5);
this.Controls.Add(this.ucSplitLabel1);
this.Name = "UCTestSplitLabel";
this.Size = new System.Drawing.Size(814, 426);
this.ResumeLayout(false);
}
#endregion
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel1;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel2;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel3;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel4;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel5;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel6;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel7;
private HZH_Controls.Controls.UCSplitLabel ucSplitLabel8;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Test.UC
{
[ToolboxItem(false)]
public partial class UCTestSplitLabel : UserControl
{
public UCTestSplitLabel()
{
InitializeComponent();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
namespace Test.UC
{
partial class UCTestTimeLine
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
HZH_Controls.Controls.TimeLineItem timeLineItem5 = new HZH_Controls.Controls.TimeLineItem();
HZH_Controls.Controls.TimeLineItem timeLineItem6 = new HZH_Controls.Controls.TimeLineItem();
HZH_Controls.Controls.TimeLineItem timeLineItem7 = new HZH_Controls.Controls.TimeLineItem();
HZH_Controls.Controls.TimeLineItem timeLineItem8 = new HZH_Controls.Controls.TimeLineItem();
this.ucTimeLine1 = new HZH_Controls.Controls.UCTimeLine();
this.SuspendLayout();
//
// ucTimeLine1
//
this.ucTimeLine1.AutoScroll = true;
this.ucTimeLine1.DetailsFont = new System.Drawing.Font("微软雅黑", 10F);
this.ucTimeLine1.DetailsForcolor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(147)))), ((int)(((byte)(153)))));
this.ucTimeLine1.Dock = System.Windows.Forms.DockStyle.Fill;
timeLineItem5.Details = "2019年07月发生了一件大事,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷" +
",咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,然后王二麻子他爹王咔嚓出生了。";
timeLineItem5.Title = "2019年07月";
timeLineItem6.Details = "2019年08月发生了一件大事,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷" +
",咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,然后王二麻子他爹王咔嚓出生了。";
timeLineItem6.Title = "2019年08月";
timeLineItem7.Details = "2019年09月发生了一件大事,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷" +
",咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,然后王二麻子他爹王咔嚓出生了。";
timeLineItem7.Title = "2019年09月";
timeLineItem8.Details = "2019年10月发生了一件大事,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷" +
",咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,咔嚓一声打了一个炸雷,然后王二麻子他爹王咔嚓出生了。";
timeLineItem8.Title = "2019年10月";
this.ucTimeLine1.Items = new HZH_Controls.Controls.TimeLineItem[] {
timeLineItem5,
timeLineItem6,
timeLineItem7,
timeLineItem8};
this.ucTimeLine1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(147)))), ((int)(((byte)(153)))));
this.ucTimeLine1.Location = new System.Drawing.Point(0, 0);
this.ucTimeLine1.Name = "ucTimeLine1";
this.ucTimeLine1.Padding = new System.Windows.Forms.Padding(30, 0, 0, 0);
this.ucTimeLine1.Size = new System.Drawing.Size(768, 542);
this.ucTimeLine1.TabIndex = 0;
this.ucTimeLine1.TitleFont = new System.Drawing.Font("微软雅黑", 14F);
this.ucTimeLine1.TitleForcolor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(49)))), ((int)(((byte)(51)))));
//
// UCTestTimeLine
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucTimeLine1);
this.Name = "UCTestTimeLine";
this.Size = new System.Drawing.Size(768, 542);
this.ResumeLayout(false);
}
#endregion
private HZH_Controls.Controls.UCTimeLine ucTimeLine1;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Test.UC
{
public partial class UCTestTimeLine : UserControl
{
public UCTestTimeLine()
{
InitializeComponent();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
namespace Test.UC
{
partial class UCTestTransfer
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.ucTransfer1 = new HZH_Controls.Controls.UCTransfer();
this.SuspendLayout();
//
// ucTransfer1
//
this.ucTransfer1.BackColor = System.Drawing.Color.White;
this.ucTransfer1.LeftColumns = new HZH_Controls.Controls.DataGridViewColumnEntity[0];
this.ucTransfer1.LeftDataSource = new object[0];
this.ucTransfer1.Location = new System.Drawing.Point(22, 22);
this.ucTransfer1.Name = "ucTransfer1";
this.ucTransfer1.RightDataSource = new object[0];
this.ucTransfer1.Size = new System.Drawing.Size(451, 397);
this.ucTransfer1.TabIndex = 0;
//
// UCTestTransfer
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucTransfer1);
this.Name = "UCTestTransfer";
this.Size = new System.Drawing.Size(619, 573);
this.Load += new System.EventHandler(this.UCTestTransfer_Load);
this.ResumeLayout(false);
}
#endregion
private HZH_Controls.Controls.UCTransfer ucTransfer1;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HZH_Controls.Controls;
namespace Test.UC
{
[ToolboxItem(false)]
public partial class UCTestTransfer : UserControl
{
public UCTestTransfer()
{
InitializeComponent();
}
private void UCTestTransfer_Load(object sender, EventArgs e)
{
DataGridViewColumnEntity[] lstLeftCulumns = new DataGridViewColumnEntity[1];
lstLeftCulumns[0] = new DataGridViewColumnEntity() { DataField = "Value", HeadText = "列表一", TextAlign= ContentAlignment.MiddleLeft };
DataGridViewColumnEntity[] lstRightCulumns = new DataGridViewColumnEntity[1];
lstRightCulumns[0] = new DataGridViewColumnEntity() { DataField = "Value", HeadText = "列表二", TextAlign = ContentAlignment.MiddleLeft };
this.ucTransfer1.LeftColumns = lstLeftCulumns;
this.ucTransfer1.RightColumns = lstRightCulumns;
var lstItems = new TestModel[5];
for (int i = 0; i < 5; i++)
{
lstItems[i] = new TestModel() { Key = i, Value = "选择项" + i };
}
this.ucTransfer1.LeftDataSource = lstItems;
this.ucTransfer1.RightDataSource = new TestModel[0];
}
private class TestModel
{
public int Key { get; set; }
public string Value { get; set; }
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
...@@ -710,6 +710,25 @@ The control crops the effective work area according to the set drive to achieve ...@@ -710,6 +710,25 @@ The control crops the effective work area according to the set drive to achieve
#### 47、Shadow #### 47、Shadow
![输入图片说明](https://images.gitee.com/uploads/images/2019/0928/163958_cf233dc5_301547.png "dy.png") ![输入图片说明](https://images.gitee.com/uploads/images/2019/0928/163958_cf233dc5_301547.png "dy.png")
#### 48、NavigationMenu
![输入图片说明](https://images.gitee.com/uploads/images/2019/1009/085904_b118d7cc_301547.png "cd.png")
![输入图片说明](https://images.gitee.com/uploads/images/2019/1011/112138_8b47726f_301547.png "cd.png")
![输入图片说明](https://images.gitee.com/uploads/images/2019/1012/105648_ac1ac7d0_301547.gif "1.gif")
#### 49、SplitLabelLine
![输入图片说明](https://images.gitee.com/uploads/images/2019/1009/110329_4d443363_301547.png "fgx.png")
#### 50、TimeLine
![输入图片说明](https://images.gitee.com/uploads/images/2019/1009/150312_c4211fcc_301547.png "sjz.png")
#### 51、TransferData
![输入图片说明](https://images.gitee.com/uploads/images/2019/1010/113134_99cfa388_301547.gif "1.gif")
#### The last words #### The last words
Finally, please like to click on the stars, if there are other commonly used controls, you can leave a message. Finally, please like to click on the stars, if there are other commonly used controls, you can leave a message.
......
...@@ -709,6 +709,24 @@ HZH_Controls.Forms.FrmAnchorTips.ShowTips(button1, "测试提示信息\nBOTTOM", ...@@ -709,6 +709,24 @@ HZH_Controls.Forms.FrmAnchorTips.ShowTips(button1, "测试提示信息\nBOTTOM",
![输入图片说明](https://images.gitee.com/uploads/images/2019/0928/163958_cf233dc5_301547.png "dy.png") ![输入图片说明](https://images.gitee.com/uploads/images/2019/0928/163958_cf233dc5_301547.png "dy.png")
#### 48、导航菜单
![输入图片说明](https://images.gitee.com/uploads/images/2019/1009/085904_b118d7cc_301547.png "cd.png")
![输入图片说明](https://images.gitee.com/uploads/images/2019/1011/112138_8b47726f_301547.png "cd.png")
![输入图片说明](https://images.gitee.com/uploads/images/2019/1012/105648_ac1ac7d0_301547.gif "1.gif")
#### 49、分隔标签线
![输入图片说明](https://images.gitee.com/uploads/images/2019/1009/110329_4d443363_301547.png "fgx.png")
#### 50、时间轴
![输入图片说明](https://images.gitee.com/uploads/images/2019/1009/150312_c4211fcc_301547.png "sjz.png")
#### 51、穿梭框
![输入图片说明](https://images.gitee.com/uploads/images/2019/1010/113134_99cfa388_301547.gif "1.gif")
#### 最后的话 #### 最后的话
最后,喜欢请点下stars,如果有其他一些什么常用的控件可以在留言哦 最后,喜欢请点下stars,如果有其他一些什么常用的控件可以在留言哦
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!