Commit fac77462 HZH

改变一些名称

1 个父辈 4d13c9d9
......@@ -53,8 +53,13 @@ namespace HZH_Controls.Controls
/// </summary>
/// <returns></returns>
List<object> GetCurrentSource();
/// <summary>
/// 总页数
/// </summary>
int PageCount { get; set; }
/// <summary>
/// 当前页
/// </summary>
int PageIndex { get; set; }
}
}
......@@ -42,7 +42,7 @@
this.lblTitle.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10);
this.lblTitle.Size = new System.Drawing.Size(118, 50);
this.lblTitle.TabIndex = 1;
this.lblTitle.Text = "分类名称\r\n分类名称";
this.lblTitle.Text = "项目名称";
this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// ucSplitLine_H1
......
......@@ -473,8 +473,6 @@ namespace HZH_Controls.Controls
SetParent(m_HandAppWin, p.Handle);
ControlHelper.SetForegroundWindow(this.FindForm().Handle);
MoveWindow(m_HandAppWin, -111, -41, 626, 412, true);
//this.txtInput.SelectionStart = m_intSelectionStart;
//this.txtInput.SelectionLength = m_intSelectionLength;
}
else
{
......
namespace HZH_Controls.Forms
{
partial class FrmTemp1
partial class FrmBack
{
/// <summary>
/// Required designer variable.
......@@ -29,7 +29,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTemp1));
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBack));
this.panTop = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.btnBack1 = new HZH_Controls.Controls.UCBtnImg();
......
......@@ -15,7 +15,7 @@ using System.Windows.Forms;
namespace HZH_Controls.Forms
{
[Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(System.ComponentModel.Design.IDesigner))]
public partial class FrmTemp1 : FrmBase
public partial class FrmBack : FrmBase
{
private string _frmTitle = "自定义窗体";
/// <summary>
......@@ -34,7 +34,7 @@ namespace HZH_Controls.Forms
[Description("帮助按钮点击事件"), Category("自定义")]
public event EventHandler BtnHelpClick;
public FrmTemp1()
public FrmBack()
{
InitializeComponent();
}
......
......@@ -289,36 +289,7 @@ namespace HZH_Controls.Forms
protected virtual void DoEnter()
{
}
///// <summary>
///// 隐藏遮罩层
///// </summary>
//public void HideMaskDialog()
//{
// if (this._frmTransparent != null && !this._frmTransparent.IsDisposed)
// {
// this._frmTransparent.Hide();
// }
//}
///// <summary>
///// 显示遮罩层
///// </summary>
///// <param name="frm"></param>
//public void ShowMaskDialog(FrmBase frm)
//{
// if (this._frmTransparent == null || this._frmTransparent.IsDisposed)
// {
// this._frmTransparent = new FrmTransparent();
// }
// this._frmTransparent.Width = base.Width;
// this._frmTransparent.Height = base.Height;
// Point location = base.PointToScreen(new Point(0, 0));
// this._frmTransparent.Location = location;
// this._frmTransparent.frmchild = frm;
// if (!this._frmTransparent.Visible)
// {
// this._frmTransparent.ShowDialog(this);
// }
//}
/// <summary>
/// 设置重绘区域
/// </summary>
......@@ -387,23 +358,7 @@ namespace HZH_Controls.Forms
#region 事件区
/// <summary>
/// 加载时发生
/// </summary>
/// <param name="e"></param>
//protected override void OnLoad(EventArgs e)
//{
// if (this._isShowMaskDialog && base.Owner != null)
// {
// FrmBase frmBase = base.Owner as FrmBase;
// if (frmBase != null)
// {
// frmBase.ShowMaskDialog(this);
// }
// }
// base.Focus();
// base.OnLoad(e);
//}
/// <summary>
/// 关闭时发生
/// </summary>
......@@ -416,27 +371,7 @@ namespace HZH_Controls.Forms
(base.Owner as FrmTransparent).Close();
}
}
///// <summary>
///// 处理消息过滤
///// </summary>
///// <param name="sender"></param>
///// <param name="e"></param>
//private void FrmBase_HandleDestroyed(object sender, EventArgs e)
//{
//}
///// <summary>
///// 处理消息过滤
///// </summary>
///// <param name="sender"></param>
///// <param name="e"></param>
//private void FrmBase_HandleCreated(object sender, EventArgs e)
//{
// if (this._isLoseFocusClose)
// {
// m_hook.Start();
// }
//}
/// <summary>
/// 快捷键
/// </summary>
......
......@@ -122,14 +122,7 @@ namespace HZH_Controls.Forms
private void FrmDialog_VisibleChanged(object sender, EventArgs e)
{
//if (this.Visible)
//{
// ControlHelper.AnimateWindow(this.Handle, 100, ControlHelper.AW_CENTER);
//}
//else
//{
// ControlHelper.AnimateWindow(this.Handle, 100, ControlHelper.AW_CENTER | ControlHelper.AW_HIDE);
//}
}
}
}
......@@ -75,7 +75,6 @@ namespace HZH_Controls
ThreadInvokerControl(parent, delegate
{
Exception ex = obj as Exception;
// MsgHelper.ShowSimpleDilalogResult(parent, ex.Message, true, "");
});
}
}
......
......@@ -41,36 +41,26 @@
this.button8 = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox9 = new System.Windows.Forms.GroupBox();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.button9 = new System.Windows.Forms.Button();
this.groupBox10 = new System.Windows.Forms.GroupBox();
this.groupBox11 = new System.Windows.Forms.GroupBox();
this.groupBox12 = new System.Windows.Forms.GroupBox();
this.groupBox13 = new System.Windows.Forms.GroupBox();
this.ucBtnsGroup2 = new HZH_Controls.Controls.UCBtnsGroup();
this.ucBtnsGroup1 = new HZH_Controls.Controls.UCBtnsGroup();
this.ucPagerControl21 = new HZH_Controls.Controls.List.UCPagerControl2();
this.ucMenu1 = new HZH_Controls.Controls.UCMenu();
this.ucHorizontalList1 = new HZH_Controls.Controls.UCHorizontalList();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.ucDatePickerExt3 = new HZH_Controls.Controls.UCDatePickerExt();
this.ucDatePickerExt2 = new HZH_Controls.Controls.UCDatePickerExt();
this.ucDatePickerExt1 = new HZH_Controls.Controls.UCDatePickerExt();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.ucComboBox2 = new HZH_Controls.Controls.UCComboBox();
this.ucComboBox1 = new HZH_Controls.Controls.UCComboBox();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.ucListExt1 = new HZH_Controls.Controls.UCListExt();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.treeViewEx1 = new HZH_Controls.Controls.TreeViewEx();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.ucTextBoxEx4 = new HZH_Controls.Controls.UCTextBoxEx();
this.ucTextBoxEx3 = new HZH_Controls.Controls.UCTextBoxEx();
this.ucTextBoxEx2 = new HZH_Controls.Controls.UCTextBoxEx();
this.ucTextBoxEx1 = new HZH_Controls.Controls.UCTextBoxEx();
this.ucNumTextBox1 = new HZH_Controls.Controls.UCNumTextBox();
this.textBoxTransparent1 = new HZH_Controls.Controls.TextBoxTransparent();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.ucCheckBox4 = new HZH_Controls.Controls.UCCheckBox();
this.ucCheckBox3 = new HZH_Controls.Controls.UCCheckBox();
this.ucCheckBox2 = new HZH_Controls.Controls.UCCheckBox();
......@@ -79,10 +69,23 @@
this.ucRadioButton3 = new HZH_Controls.Controls.UCRadioButton();
this.ucRadioButton2 = new HZH_Controls.Controls.UCRadioButton();
this.ucRadioButton1 = new HZH_Controls.Controls.UCRadioButton();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.ucBtnImg1 = new HZH_Controls.Controls.UCBtnImg();
this.ucBtnFillet1 = new HZH_Controls.Controls.UCBtnFillet();
this.ucBtnExt2 = new HZH_Controls.Controls.UCBtnExt();
this.ucBtnExt1 = new HZH_Controls.Controls.UCBtnExt();
this.button9 = new System.Windows.Forms.Button();
this.groupBox10 = new System.Windows.Forms.GroupBox();
this.ucMenu1 = new HZH_Controls.Controls.UCMenu();
this.groupBox11 = new System.Windows.Forms.GroupBox();
this.ucPagerControl21 = new HZH_Controls.Controls.List.UCPagerControl2();
this.groupBox12 = new System.Windows.Forms.GroupBox();
this.ucBtnsGroup1 = new HZH_Controls.Controls.UCBtnsGroup();
this.groupBox13 = new System.Windows.Forms.GroupBox();
this.ucBtnsGroup2 = new HZH_Controls.Controls.UCBtnsGroup();
this.processExt1 = new HZH_Controls.Controls.ProcessExt();
this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H();
this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V();
this.groupBox1.SuspendLayout();
this.groupBox9.SuspendLayout();
this.groupBox7.SuspendLayout();
......@@ -210,6 +213,16 @@
this.groupBox9.TabStop = false;
this.groupBox9.Text = "横向列表";
//
// ucHorizontalList1
//
this.ucHorizontalList1.DataSource = null;
this.ucHorizontalList1.IsAutoSelectFirst = true;
this.ucHorizontalList1.Location = new System.Drawing.Point(6, 25);
this.ucHorizontalList1.Name = "ucHorizontalList1";
this.ucHorizontalList1.SelectedItem = null;
this.ucHorizontalList1.Size = new System.Drawing.Size(473, 53);
this.ucHorizontalList1.TabIndex = 0;
//
// groupBox7
//
this.groupBox7.Controls.Add(this.ucDatePickerExt3);
......@@ -222,197 +235,6 @@
this.groupBox7.TabStop = false;
this.groupBox7.Text = "日历";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.ucComboBox2);
this.groupBox6.Controls.Add(this.ucComboBox1);
this.groupBox6.Location = new System.Drawing.Point(25, 363);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(187, 119);
this.groupBox6.TabIndex = 6;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "下拉列表";
//
// groupBox8
//
this.groupBox8.Controls.Add(this.ucListExt1);
this.groupBox8.Location = new System.Drawing.Point(876, 30);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(240, 324);
this.groupBox8.TabIndex = 4;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "列表";
//
// groupBox5
//
this.groupBox5.Controls.Add(this.treeViewEx1);
this.groupBox5.Location = new System.Drawing.Point(625, 30);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(240, 327);
this.groupBox5.TabIndex = 4;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "树";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.ucTextBoxEx4);
this.groupBox4.Controls.Add(this.ucTextBoxEx3);
this.groupBox4.Controls.Add(this.ucTextBoxEx2);
this.groupBox4.Controls.Add(this.ucTextBoxEx1);
this.groupBox4.Controls.Add(this.ucNumTextBox1);
this.groupBox4.Controls.Add(this.textBoxTransparent1);
this.groupBox4.Location = new System.Drawing.Point(397, 30);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(209, 327);
this.groupBox4.TabIndex = 2;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "文本框";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.ucCheckBox4);
this.groupBox3.Controls.Add(this.ucCheckBox3);
this.groupBox3.Controls.Add(this.ucCheckBox2);
this.groupBox3.Controls.Add(this.ucCheckBox1);
this.groupBox3.Controls.Add(this.ucRadioButton4);
this.groupBox3.Controls.Add(this.ucRadioButton3);
this.groupBox3.Controls.Add(this.ucRadioButton2);
this.groupBox3.Controls.Add(this.ucRadioButton1);
this.groupBox3.Location = new System.Drawing.Point(232, 30);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(149, 327);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "单选/复选";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.ucBtnImg1);
this.groupBox2.Controls.Add(this.ucBtnFillet1);
this.groupBox2.Controls.Add(this.ucBtnExt2);
this.groupBox2.Controls.Add(this.ucBtnExt1);
this.groupBox2.Location = new System.Drawing.Point(25, 30);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(187, 327);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "按钮";
//
// button9
//
this.button9.Location = new System.Drawing.Point(964, 34);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(116, 23);
this.button9.TabIndex = 0;
this.button9.Text = "FrmAnchor2";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// groupBox10
//
this.groupBox10.Controls.Add(this.ucMenu1);
this.groupBox10.Location = new System.Drawing.Point(1162, 88);
this.groupBox10.Name = "groupBox10";
this.groupBox10.Size = new System.Drawing.Size(200, 490);
this.groupBox10.TabIndex = 3;
this.groupBox10.TabStop = false;
this.groupBox10.Text = "导航";
//
// groupBox11
//
this.groupBox11.Controls.Add(this.ucPagerControl21);
this.groupBox11.Location = new System.Drawing.Point(19, 584);
this.groupBox11.Name = "groupBox11";
this.groupBox11.Size = new System.Drawing.Size(715, 61);
this.groupBox11.TabIndex = 5;
this.groupBox11.TabStop = false;
this.groupBox11.Text = "分页控件";
//
// groupBox12
//
this.groupBox12.Controls.Add(this.ucBtnsGroup1);
this.groupBox12.Location = new System.Drawing.Point(749, 584);
this.groupBox12.Name = "groupBox12";
this.groupBox12.Size = new System.Drawing.Size(221, 68);
this.groupBox12.TabIndex = 6;
this.groupBox12.TabStop = false;
this.groupBox12.Text = "单选按钮组";
//
// groupBox13
//
this.groupBox13.Controls.Add(this.ucBtnsGroup2);
this.groupBox13.Location = new System.Drawing.Point(992, 584);
this.groupBox13.Name = "groupBox13";
this.groupBox13.Size = new System.Drawing.Size(367, 68);
this.groupBox13.TabIndex = 6;
this.groupBox13.TabStop = false;
this.groupBox13.Text = "多选按钮组";
//
// ucBtnsGroup2
//
this.ucBtnsGroup2.BackColor = System.Drawing.Color.White;
this.ucBtnsGroup2.DataSource = ((System.Collections.Generic.Dictionary<string, string>)(resources.GetObject("ucBtnsGroup2.DataSource")));
this.ucBtnsGroup2.IsMultiple = false;
this.ucBtnsGroup2.Location = new System.Drawing.Point(6, 14);
this.ucBtnsGroup2.MinimumSize = new System.Drawing.Size(0, 50);
this.ucBtnsGroup2.Name = "ucBtnsGroup2";
this.ucBtnsGroup2.SelectItem = ((System.Collections.Generic.List<string>)(resources.GetObject("ucBtnsGroup2.SelectItem")));
this.ucBtnsGroup2.Size = new System.Drawing.Size(355, 50);
this.ucBtnsGroup2.TabIndex = 0;
//
// ucBtnsGroup1
//
this.ucBtnsGroup1.BackColor = System.Drawing.Color.White;
this.ucBtnsGroup1.DataSource = ((System.Collections.Generic.Dictionary<string, string>)(resources.GetObject("ucBtnsGroup1.DataSource")));
this.ucBtnsGroup1.IsMultiple = false;
this.ucBtnsGroup1.Location = new System.Drawing.Point(6, 14);
this.ucBtnsGroup1.MinimumSize = new System.Drawing.Size(0, 50);
this.ucBtnsGroup1.Name = "ucBtnsGroup1";
this.ucBtnsGroup1.SelectItem = ((System.Collections.Generic.List<string>)(resources.GetObject("ucBtnsGroup1.SelectItem")));
this.ucBtnsGroup1.Size = new System.Drawing.Size(194, 50);
this.ucBtnsGroup1.TabIndex = 0;
//
// ucPagerControl21
//
this.ucPagerControl21.BackColor = System.Drawing.Color.White;
this.ucPagerControl21.DataSource = ((System.Collections.Generic.List<object>)(resources.GetObject("ucPagerControl21.DataSource")));
this.ucPagerControl21.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucPagerControl21.Location = new System.Drawing.Point(3, 17);
this.ucPagerControl21.Name = "ucPagerControl21";
this.ucPagerControl21.PageCount = 0;
this.ucPagerControl21.PageIndex = 1;
this.ucPagerControl21.PageSize = 0;
this.ucPagerControl21.Size = new System.Drawing.Size(709, 41);
this.ucPagerControl21.StartIndex = 0;
this.ucPagerControl21.TabIndex = 4;
//
// ucMenu1
//
this.ucMenu1.AutoScroll = true;
this.ucMenu1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(30)))), ((int)(((byte)(39)))));
this.ucMenu1.ChildrenItemStyles = null;
this.ucMenu1.ChildrenItemType = typeof(HZH_Controls.Controls.UCMenuChildrenItem);
this.ucMenu1.DataSource = null;
this.ucMenu1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucMenu1.IsShowFirstItem = true;
this.ucMenu1.Location = new System.Drawing.Point(3, 17);
this.ucMenu1.MenuStyle = HZH_Controls.Controls.MenuStyle.Fill;
this.ucMenu1.Name = "ucMenu1";
this.ucMenu1.ParentItemStyles = null;
this.ucMenu1.ParentItemType = typeof(HZH_Controls.Controls.UCMenuParentItem);
this.ucMenu1.Size = new System.Drawing.Size(194, 470);
this.ucMenu1.TabIndex = 0;
//
// ucHorizontalList1
//
this.ucHorizontalList1.DataSource = null;
this.ucHorizontalList1.IsAutoSelectFirst = true;
this.ucHorizontalList1.Location = new System.Drawing.Point(6, 25);
this.ucHorizontalList1.Name = "ucHorizontalList1";
this.ucHorizontalList1.SelectedItem = null;
this.ucHorizontalList1.Size = new System.Drawing.Size(473, 53);
this.ucHorizontalList1.TabIndex = 0;
//
// ucDatePickerExt3
//
this.ucDatePickerExt3.BackColor = System.Drawing.Color.Transparent;
......@@ -473,6 +295,17 @@
this.ucDatePickerExt1.TimeFontSize = 20;
this.ucDatePickerExt1.TimeType = HZH_Controls.Controls.DateTimePickerType.DateTime;
//
// groupBox6
//
this.groupBox6.Controls.Add(this.ucComboBox2);
this.groupBox6.Controls.Add(this.ucComboBox1);
this.groupBox6.Location = new System.Drawing.Point(25, 363);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(187, 119);
this.groupBox6.TabIndex = 6;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "下拉列表";
//
// ucComboBox2
//
this.ucComboBox2.BackColor = System.Drawing.Color.Transparent;
......@@ -521,6 +354,16 @@
this.ucComboBox1.TabIndex = 5;
this.ucComboBox1.TextValue = null;
//
// groupBox8
//
this.groupBox8.Controls.Add(this.ucListExt1);
this.groupBox8.Location = new System.Drawing.Point(876, 30);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(240, 324);
this.groupBox8.TabIndex = 4;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "列表";
//
// ucListExt1
//
this.ucListExt1.AutoScroll = true;
......@@ -541,6 +384,16 @@
this.ucListExt1.Title2Font = new System.Drawing.Font("微软雅黑", 14F);
this.ucListExt1.TitleFont = new System.Drawing.Font("微软雅黑", 15F);
//
// groupBox5
//
this.groupBox5.Controls.Add(this.treeViewEx1);
this.groupBox5.Location = new System.Drawing.Point(625, 30);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(240, 327);
this.groupBox5.TabIndex = 4;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "树";
//
// treeViewEx1
//
this.treeViewEx1.BackColor = System.Drawing.Color.White;
......@@ -573,6 +426,21 @@
this.treeViewEx1.TipFont = new System.Drawing.Font("Arial Unicode MS", 12F);
this.treeViewEx1.TipImage = ((System.Drawing.Image)(resources.GetObject("treeViewEx1.TipImage")));
//
// groupBox4
//
this.groupBox4.Controls.Add(this.ucTextBoxEx4);
this.groupBox4.Controls.Add(this.ucTextBoxEx3);
this.groupBox4.Controls.Add(this.ucTextBoxEx2);
this.groupBox4.Controls.Add(this.ucTextBoxEx1);
this.groupBox4.Controls.Add(this.ucNumTextBox1);
this.groupBox4.Controls.Add(this.textBoxTransparent1);
this.groupBox4.Location = new System.Drawing.Point(397, 30);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(209, 327);
this.groupBox4.TabIndex = 2;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "文本框";
//
// ucTextBoxEx4
//
this.ucTextBoxEx4.BackColor = System.Drawing.Color.Transparent;
......@@ -789,6 +657,23 @@
this.textBoxTransparent1.TabIndex = 0;
this.textBoxTransparent1.Text = "这是一个透明文本框";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.ucCheckBox4);
this.groupBox3.Controls.Add(this.ucCheckBox3);
this.groupBox3.Controls.Add(this.ucCheckBox2);
this.groupBox3.Controls.Add(this.ucCheckBox1);
this.groupBox3.Controls.Add(this.ucRadioButton4);
this.groupBox3.Controls.Add(this.ucRadioButton3);
this.groupBox3.Controls.Add(this.ucRadioButton2);
this.groupBox3.Controls.Add(this.ucRadioButton1);
this.groupBox3.Location = new System.Drawing.Point(232, 30);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(149, 327);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "单选/复选";
//
// ucCheckBox4
//
this.ucCheckBox4.BackColor = System.Drawing.Color.Transparent;
......@@ -873,6 +758,19 @@
this.ucRadioButton1.TabIndex = 0;
this.ucRadioButton1.TextValue = "单选按钮1";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.ucBtnImg1);
this.groupBox2.Controls.Add(this.ucBtnFillet1);
this.groupBox2.Controls.Add(this.ucBtnExt2);
this.groupBox2.Controls.Add(this.ucBtnExt1);
this.groupBox2.Location = new System.Drawing.Point(25, 30);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(187, 327);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "按钮";
//
// ucBtnImg1
//
this.ucBtnImg1.BackColor = System.Drawing.Color.White;
......@@ -965,11 +863,155 @@
this.ucBtnExt1.TabStop = false;
this.ucBtnExt1.TipsText = "";
//
// button9
//
this.button9.Location = new System.Drawing.Point(964, 34);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(116, 23);
this.button9.TabIndex = 0;
this.button9.Text = "FrmAnchor2";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// groupBox10
//
this.groupBox10.Controls.Add(this.ucMenu1);
this.groupBox10.Location = new System.Drawing.Point(1162, 88);
this.groupBox10.Name = "groupBox10";
this.groupBox10.Size = new System.Drawing.Size(200, 490);
this.groupBox10.TabIndex = 3;
this.groupBox10.TabStop = false;
this.groupBox10.Text = "导航";
//
// ucMenu1
//
this.ucMenu1.AutoScroll = true;
this.ucMenu1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(30)))), ((int)(((byte)(39)))));
this.ucMenu1.ChildrenItemStyles = null;
this.ucMenu1.ChildrenItemType = typeof(HZH_Controls.Controls.UCMenuChildrenItem);
this.ucMenu1.DataSource = null;
this.ucMenu1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucMenu1.IsShowFirstItem = true;
this.ucMenu1.Location = new System.Drawing.Point(3, 17);
this.ucMenu1.MenuStyle = HZH_Controls.Controls.MenuStyle.Fill;
this.ucMenu1.Name = "ucMenu1";
this.ucMenu1.ParentItemStyles = null;
this.ucMenu1.ParentItemType = typeof(HZH_Controls.Controls.UCMenuParentItem);
this.ucMenu1.Size = new System.Drawing.Size(194, 470);
this.ucMenu1.TabIndex = 0;
//
// groupBox11
//
this.groupBox11.Controls.Add(this.ucPagerControl21);
this.groupBox11.Location = new System.Drawing.Point(19, 584);
this.groupBox11.Name = "groupBox11";
this.groupBox11.Size = new System.Drawing.Size(715, 61);
this.groupBox11.TabIndex = 5;
this.groupBox11.TabStop = false;
this.groupBox11.Text = "分页控件";
//
// ucPagerControl21
//
this.ucPagerControl21.BackColor = System.Drawing.Color.White;
this.ucPagerControl21.DataSource = ((System.Collections.Generic.List<object>)(resources.GetObject("ucPagerControl21.DataSource")));
this.ucPagerControl21.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucPagerControl21.Location = new System.Drawing.Point(3, 17);
this.ucPagerControl21.Name = "ucPagerControl21";
this.ucPagerControl21.PageCount = 0;
this.ucPagerControl21.PageIndex = 1;
this.ucPagerControl21.PageSize = 0;
this.ucPagerControl21.Size = new System.Drawing.Size(709, 41);
this.ucPagerControl21.StartIndex = 0;
this.ucPagerControl21.TabIndex = 4;
//
// groupBox12
//
this.groupBox12.Controls.Add(this.ucBtnsGroup1);
this.groupBox12.Location = new System.Drawing.Point(749, 584);
this.groupBox12.Name = "groupBox12";
this.groupBox12.Size = new System.Drawing.Size(221, 68);
this.groupBox12.TabIndex = 6;
this.groupBox12.TabStop = false;
this.groupBox12.Text = "单选按钮组";
//
// ucBtnsGroup1
//
this.ucBtnsGroup1.BackColor = System.Drawing.Color.White;
this.ucBtnsGroup1.DataSource = ((System.Collections.Generic.Dictionary<string, string>)(resources.GetObject("ucBtnsGroup1.DataSource")));
this.ucBtnsGroup1.IsMultiple = false;
this.ucBtnsGroup1.Location = new System.Drawing.Point(6, 14);
this.ucBtnsGroup1.MinimumSize = new System.Drawing.Size(0, 50);
this.ucBtnsGroup1.Name = "ucBtnsGroup1";
this.ucBtnsGroup1.SelectItem = ((System.Collections.Generic.List<string>)(resources.GetObject("ucBtnsGroup1.SelectItem")));
this.ucBtnsGroup1.Size = new System.Drawing.Size(194, 50);
this.ucBtnsGroup1.TabIndex = 0;
//
// groupBox13
//
this.groupBox13.Controls.Add(this.ucBtnsGroup2);
this.groupBox13.Location = new System.Drawing.Point(992, 584);
this.groupBox13.Name = "groupBox13";
this.groupBox13.Size = new System.Drawing.Size(367, 68);
this.groupBox13.TabIndex = 6;
this.groupBox13.TabStop = false;
this.groupBox13.Text = "多选按钮组";
//
// ucBtnsGroup2
//
this.ucBtnsGroup2.BackColor = System.Drawing.Color.White;
this.ucBtnsGroup2.DataSource = ((System.Collections.Generic.Dictionary<string, string>)(resources.GetObject("ucBtnsGroup2.DataSource")));
this.ucBtnsGroup2.IsMultiple = false;
this.ucBtnsGroup2.Location = new System.Drawing.Point(6, 14);
this.ucBtnsGroup2.MinimumSize = new System.Drawing.Size(0, 50);
this.ucBtnsGroup2.Name = "ucBtnsGroup2";
this.ucBtnsGroup2.SelectItem = ((System.Collections.Generic.List<string>)(resources.GetObject("ucBtnsGroup2.SelectItem")));
this.ucBtnsGroup2.Size = new System.Drawing.Size(355, 50);
this.ucBtnsGroup2.TabIndex = 0;
//
// processExt1
//
this.processExt1.BackColor = System.Drawing.Color.White;
this.processExt1.ConerRadius = 5;
this.processExt1.FillColor = System.Drawing.Color.Transparent;
this.processExt1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.processExt1.IsRadius = true;
this.processExt1.IsShowRect = false;
this.processExt1.Location = new System.Drawing.Point(22, 657);
this.processExt1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.processExt1.MaxValue = 100;
this.processExt1.Name = "processExt1";
this.processExt1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.processExt1.RectWidth = 1;
this.processExt1.Size = new System.Drawing.Size(291, 22);
this.processExt1.TabIndex = 7;
this.processExt1.Value = 0;
//
// ucSplitLine_H1
//
this.ucSplitLine_H1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(232)))));
this.ucSplitLine_H1.Location = new System.Drawing.Point(1177, 22);
this.ucSplitLine_H1.Name = "ucSplitLine_H1";
this.ucSplitLine_H1.Size = new System.Drawing.Size(100, 1);
this.ucSplitLine_H1.TabIndex = 8;
this.ucSplitLine_H1.TabStop = false;
//
// 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(1149, 12);
this.ucSplitLine_V1.Name = "ucSplitLine_V1";
this.ucSplitLine_V1.Size = new System.Drawing.Size(1, 100);
this.ucSplitLine_V1.TabIndex = 9;
this.ucSplitLine_V1.TabStop = false;
//
// Form1
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1374, 709);
this.Controls.Add(this.ucSplitLine_V1);
this.Controls.Add(this.ucSplitLine_H1);
this.Controls.Add(this.processExt1);
this.Controls.Add(this.groupBox13);
this.Controls.Add(this.groupBox12);
this.Controls.Add(this.groupBox11);
......@@ -1060,6 +1102,9 @@
private HZH_Controls.Controls.UCBtnsGroup ucBtnsGroup1;
private System.Windows.Forms.GroupBox groupBox13;
private HZH_Controls.Controls.UCBtnsGroup ucBtnsGroup2;
private HZH_Controls.Controls.ProcessExt processExt1;
private HZH_Controls.Controls.UCSplitLine_H ucSplitLine_H1;
private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V1;
}
}
......@@ -22,10 +22,10 @@ namespace Test
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 0; i < 5; i++)
for (int i = 0; i < 3; i++)
{
TreeNode tn = new TreeNode(" 父节点" + i);
for (int j = 0; j < 5; j++)
for (int j = 0; j < 3; j++)
{
tn.Nodes.Add(" 子节点" + j);
}
......@@ -66,7 +66,7 @@ namespace Test
this.ucHorizontalList1.DataSource = lstHL;
List<MenuItemEntity> lstMenu = new List<MenuItemEntity>();
for (int i = 0; i < 20; i++)
for (int i = 0; i < 5; i++)
{
MenuItemEntity item = new MenuItemEntity()
{
......@@ -75,7 +75,7 @@ namespace Test
DataSource = "这里编写一些自定义的数据源,用于扩展"
};
item.Childrens = new List<MenuItemEntity>();
for (int j = 0; j < 20; j++)
for (int j = 0; j < 5; j++)
{
MenuItemEntity item2 = new MenuItemEntity()
{
......@@ -92,7 +92,7 @@ namespace Test
List<object> lstPage2 = new List<object>();
for (int i = 0; i < 100; i++)
for (int i = 0; i < 1000; i++)
{
lstPage2.Add(i);
}
......@@ -103,6 +103,8 @@ namespace Test
ucBtnsGroup2.IsMultiple = true;
ucBtnsGroup2.DataSource = new Dictionary<string, string>() { { "1", "河南" }, { "2", "北京" }, { "3", "湖南" }, { "4", "上海" } };
ucBtnsGroup2.SelectItem = new List<string>() { "2","3"};
this.processExt1.Value = 50;
}
private void timer1_Tick(object sender, EventArgs e)
......
......@@ -10,7 +10,7 @@ using HZH_Controls.Controls;
namespace Test
{
public partial class FrmTemp1Test : HZH_Controls.Forms.FrmTemp1
public partial class FrmTemp1Test : HZH_Controls.Forms.FrmBack
{
public FrmTemp1Test()
{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!