mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-24 00:36:41 +08:00
148 lines
6.4 KiB
C#
148 lines
6.4 KiB
C#
// ***********************************************************************
|
||
// Assembly : HZH_Controls
|
||
// Created : 08-08-2019
|
||
//
|
||
// ***********************************************************************
|
||
// <copyright file="UCCombox.Designer.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.
|
||
// ***********************************************************************
|
||
namespace HZH_Controls.Controls
|
||
{
|
||
/// <summary>
|
||
/// Class UCCombox.
|
||
/// Implements the <see cref="HZH_Controls.Controls.UCControlBase" />
|
||
/// </summary>
|
||
/// <seealso cref="HZH_Controls.Controls.UCControlBase" />
|
||
partial class UCCombox
|
||
{
|
||
/// <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.panel1 = new System.Windows.Forms.Panel();
|
||
this.txtInput = new HZH_Controls.Controls.TextBoxEx();
|
||
this.lblInput = new System.Windows.Forms.Label();
|
||
this.SuspendLayout();
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||
this.panel1.BackgroundImage = global::HZH_Controls.Properties.Resources.ComboBox;
|
||
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||
this.panel1.Location = new System.Drawing.Point(136, 0);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Size = new System.Drawing.Size(37, 32);
|
||
this.panel1.TabIndex = 0;
|
||
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.click_MouseDown);
|
||
//
|
||
// txtInput
|
||
//
|
||
this.txtInput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.txtInput.BackColor = System.Drawing.Color.White;
|
||
this.txtInput.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||
this.txtInput.DecLength = 2;
|
||
this.txtInput.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||
this.txtInput.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||
this.txtInput.InputType = HZH_Controls.TextInputType.NotControl;
|
||
this.txtInput.Location = new System.Drawing.Point(3, 4);
|
||
this.txtInput.Margin = new System.Windows.Forms.Padding(3, 3, 10, 3);
|
||
this.txtInput.MaxValue = new decimal(new int[] {
|
||
1000000,
|
||
0,
|
||
0,
|
||
0});
|
||
this.txtInput.MinValue = new decimal(new int[] {
|
||
1000000,
|
||
0,
|
||
0,
|
||
-2147483648});
|
||
this.txtInput.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||
this.txtInput.Name = "txtInput";
|
||
this.txtInput.OldText = null;
|
||
this.txtInput.PromptColor = System.Drawing.Color.Silver;
|
||
this.txtInput.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||
this.txtInput.PromptText = "";
|
||
this.txtInput.RegexPattern = "";
|
||
this.txtInput.Size = new System.Drawing.Size(133, 24);
|
||
this.txtInput.TabIndex = 1;
|
||
this.txtInput.TextChanged += new System.EventHandler(this.txtInput_TextChanged);
|
||
//
|
||
// lblInput
|
||
//
|
||
this.lblInput.AutoSize = true;
|
||
this.lblInput.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||
this.lblInput.Location = new System.Drawing.Point(3, 6);
|
||
this.lblInput.Name = "lblInput";
|
||
this.lblInput.Size = new System.Drawing.Size(0, 20);
|
||
this.lblInput.TabIndex = 2;
|
||
this.lblInput.Visible = false;
|
||
this.lblInput.MouseDown += new System.Windows.Forms.MouseEventHandler(this.click_MouseDown);
|
||
//
|
||
// UCCombox
|
||
//
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||
this.BackColor = System.Drawing.Color.Transparent;
|
||
this.ConerRadius = 5;
|
||
this.Controls.Add(this.panel1);
|
||
this.Controls.Add(this.txtInput);
|
||
this.Controls.Add(this.lblInput);
|
||
this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||
this.IsRadius = true;
|
||
this.IsShowRect = true;
|
||
this.Name = "UCCombox";
|
||
this.Size = new System.Drawing.Size(173, 32);
|
||
this.Load += new System.EventHandler(this.UCComboBox_Load);
|
||
this.SizeChanged += new System.EventHandler(this.UCComboBox_SizeChanged);
|
||
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.click_MouseDown);
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
/// <summary>
|
||
/// The panel1
|
||
/// </summary>
|
||
private System.Windows.Forms.Panel panel1;
|
||
/// <summary>
|
||
/// The text input
|
||
/// </summary>
|
||
public TextBoxEx txtInput;
|
||
/// <summary>
|
||
/// The label input
|
||
/// </summary>
|
||
private System.Windows.Forms.Label lblInput;
|
||
}
|
||
}
|