UCCombox.Designer.cs 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. // ***********************************************************************
  2. // Assembly : HZH_Controls
  3. // Created : 08-08-2019
  4. //
  5. // ***********************************************************************
  6. // <copyright file="UCCombox.Designer.cs">
  7. // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
  8. // </copyright>
  9. //
  10. // Blog: https://www.cnblogs.com/bfyx
  11. // GitHub:https://github.com/kwwwvagaa/NetWinformControl
  12. // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
  13. //
  14. // If you use this code, please keep this note.
  15. // ***********************************************************************
  16. namespace HZH_Controls.Controls
  17. {
  18. /// <summary>
  19. /// Class UCCombox.
  20. /// Implements the <see cref="HZH_Controls.Controls.UCControlBase" />
  21. /// </summary>
  22. /// <seealso cref="HZH_Controls.Controls.UCControlBase" />
  23. partial class UCCombox
  24. {
  25. /// <summary>
  26. /// 必需的设计器变量。
  27. /// </summary>
  28. private System.ComponentModel.IContainer components = null;
  29. /// <summary>
  30. /// 清理所有正在使用的资源。
  31. /// </summary>
  32. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  33. protected override void Dispose(bool disposing)
  34. {
  35. if (disposing && (components != null))
  36. {
  37. components.Dispose();
  38. }
  39. base.Dispose(disposing);
  40. }
  41. #region 组件设计器生成的代码
  42. /// <summary>
  43. /// 设计器支持所需的方法 - 不要
  44. /// 使用代码编辑器修改此方法的内容。
  45. /// </summary>
  46. private void InitializeComponent()
  47. {
  48. this.panel1 = new System.Windows.Forms.Panel();
  49. this.txtInput = new HZH_Controls.Controls.TextBoxEx();
  50. this.lblInput = new System.Windows.Forms.Label();
  51. this.SuspendLayout();
  52. //
  53. // panel1
  54. //
  55. this.panel1.BackColor = System.Drawing.Color.Transparent;
  56. this.panel1.BackgroundImage = global::HZH_Controls.Properties.Resources.ComboBox;
  57. this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  58. this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
  59. this.panel1.Location = new System.Drawing.Point(136, 0);
  60. this.panel1.Name = "panel1";
  61. this.panel1.Size = new System.Drawing.Size(37, 32);
  62. this.panel1.TabIndex = 0;
  63. this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.click_MouseDown);
  64. //
  65. // txtInput
  66. //
  67. this.txtInput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  68. this.txtInput.BackColor = System.Drawing.Color.White;
  69. this.txtInput.BorderStyle = System.Windows.Forms.BorderStyle.None;
  70. this.txtInput.DecLength = 2;
  71. this.txtInput.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  72. this.txtInput.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
  73. this.txtInput.InputType = HZH_Controls.TextInputType.NotControl;
  74. this.txtInput.Location = new System.Drawing.Point(3, 4);
  75. this.txtInput.Margin = new System.Windows.Forms.Padding(3, 3, 10, 3);
  76. this.txtInput.MaxValue = new decimal(new int[] {
  77. 1000000,
  78. 0,
  79. 0,
  80. 0});
  81. this.txtInput.MinValue = new decimal(new int[] {
  82. 1000000,
  83. 0,
  84. 0,
  85. -2147483648});
  86. this.txtInput.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  87. this.txtInput.Name = "txtInput";
  88. this.txtInput.OldText = null;
  89. this.txtInput.PromptColor = System.Drawing.Color.Silver;
  90. this.txtInput.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  91. this.txtInput.PromptText = "";
  92. this.txtInput.RegexPattern = "";
  93. this.txtInput.Size = new System.Drawing.Size(133, 24);
  94. this.txtInput.TabIndex = 1;
  95. this.txtInput.TextChanged += new System.EventHandler(this.txtInput_TextChanged);
  96. //
  97. // lblInput
  98. //
  99. this.lblInput.AutoSize = true;
  100. this.lblInput.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
  101. this.lblInput.Location = new System.Drawing.Point(3, 6);
  102. this.lblInput.Name = "lblInput";
  103. this.lblInput.Size = new System.Drawing.Size(0, 20);
  104. this.lblInput.TabIndex = 2;
  105. this.lblInput.Visible = false;
  106. this.lblInput.MouseDown += new System.Windows.Forms.MouseEventHandler(this.click_MouseDown);
  107. //
  108. // UCCombox
  109. //
  110. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  111. this.BackColor = System.Drawing.Color.Transparent;
  112. this.ConerRadius = 5;
  113. this.Controls.Add(this.panel1);
  114. this.Controls.Add(this.txtInput);
  115. this.Controls.Add(this.lblInput);
  116. this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
  117. this.IsRadius = true;
  118. this.IsShowRect = true;
  119. this.Name = "UCCombox";
  120. this.Size = new System.Drawing.Size(173, 32);
  121. this.Load += new System.EventHandler(this.UCComboBox_Load);
  122. this.SizeChanged += new System.EventHandler(this.UCComboBox_SizeChanged);
  123. this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.click_MouseDown);
  124. this.ResumeLayout(false);
  125. this.PerformLayout();
  126. }
  127. #endregion
  128. /// <summary>
  129. /// The panel1
  130. /// </summary>
  131. private System.Windows.Forms.Panel panel1;
  132. /// <summary>
  133. /// The text input
  134. /// </summary>
  135. public TextBoxEx txtInput;
  136. /// <summary>
  137. /// The label input
  138. /// </summary>
  139. private System.Windows.Forms.Label lblInput;
  140. }
  141. }