UCTextBoxEx.Designer.cs 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. // ***********************************************************************
  2. // Assembly : HZH_Controls
  3. // Created : 08-08-2019
  4. //
  5. // ***********************************************************************
  6. // <copyright file="UCTextBoxEx.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 UCTextBoxEx.
  20. /// Implements the <see cref="HZH_Controls.Controls.UCControlBase" />
  21. /// </summary>
  22. /// <seealso cref="HZH_Controls.Controls.UCControlBase" />
  23. partial class UCTextBoxEx
  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. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTextBoxEx));
  49. this.txtInput = new HZH_Controls.Controls.TextBoxEx();
  50. this.imageList1 = new System.Windows.Forms.ImageList();
  51. this.btnClear = new System.Windows.Forms.Panel();
  52. this.btnKeybord = new System.Windows.Forms.Panel();
  53. this.btnSearch = new System.Windows.Forms.Panel();
  54. this.SuspendLayout();
  55. //
  56. // txtInput
  57. //
  58. this.txtInput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  59. this.txtInput.BorderStyle = System.Windows.Forms.BorderStyle.None;
  60. this.txtInput.DecLength = 2;
  61. this.txtInput.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  62. this.txtInput.InputType = TextInputType.NotControl;
  63. this.txtInput.Location = new System.Drawing.Point(8, 9);
  64. this.txtInput.Margin = new System.Windows.Forms.Padding(3, 3, 10, 3);
  65. this.txtInput.MaxValue = new decimal(new int[] {
  66. 1000000,
  67. 0,
  68. 0,
  69. 0});
  70. this.txtInput.MinValue = new decimal(new int[] {
  71. 1000000,
  72. 0,
  73. 0,
  74. -2147483648});
  75. this.txtInput.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  76. this.txtInput.Name = "txtInput";
  77. this.txtInput.OldText = null;
  78. this.txtInput.PromptColor = System.Drawing.Color.Gray;
  79. this.txtInput.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  80. this.txtInput.PromptText = "";
  81. this.txtInput.RegexPattern = "";
  82. this.txtInput.Size = new System.Drawing.Size(309, 24);
  83. this.txtInput.TabIndex = 0;
  84. this.txtInput.TextChanged += new System.EventHandler(this.txtInput_TextChanged);
  85. //
  86. // imageList1
  87. //
  88. this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
  89. this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
  90. this.imageList1.Images.SetKeyName(0, "ic_cancel_black_24dp.png");
  91. this.imageList1.Images.SetKeyName(1, "ic_search_black_24dp.png");
  92. this.imageList1.Images.SetKeyName(2, "keyboard.png");
  93. //
  94. // btnClear
  95. //
  96. this.btnClear.BackgroundImage = global::HZH_Controls.Properties.Resources.input_clear;
  97. this.btnClear.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  98. this.btnClear.Cursor = System.Windows.Forms.Cursors.Default;
  99. this.btnClear.Dock = System.Windows.Forms.DockStyle.Right;
  100. this.btnClear.Location = new System.Drawing.Point(227, 5);
  101. this.btnClear.Name = "btnClear";
  102. this.btnClear.Size = new System.Drawing.Size(30, 32);
  103. this.btnClear.TabIndex = 4;
  104. this.btnClear.Visible = false;
  105. this.btnClear.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnClear_MouseDown);
  106. //
  107. // btnKeybord
  108. //
  109. this.btnKeybord.BackgroundImage = global::HZH_Controls.Properties.Resources.keyboard;
  110. this.btnKeybord.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  111. this.btnKeybord.Cursor = System.Windows.Forms.Cursors.Default;
  112. this.btnKeybord.Dock = System.Windows.Forms.DockStyle.Right;
  113. this.btnKeybord.Location = new System.Drawing.Point(257, 5);
  114. this.btnKeybord.Name = "btnKeybord";
  115. this.btnKeybord.Size = new System.Drawing.Size(30, 32);
  116. this.btnKeybord.TabIndex = 6;
  117. this.btnKeybord.Visible = false;
  118. this.btnKeybord.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnKeybord_MouseDown);
  119. //
  120. // btnSearch
  121. //
  122. this.btnSearch.BackgroundImage = global::HZH_Controls.Properties.Resources.ic_search_black_24dp;
  123. this.btnSearch.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  124. this.btnSearch.Cursor = System.Windows.Forms.Cursors.Default;
  125. this.btnSearch.Dock = System.Windows.Forms.DockStyle.Right;
  126. this.btnSearch.Location = new System.Drawing.Point(287, 5);
  127. this.btnSearch.Name = "btnSearch";
  128. this.btnSearch.Size = new System.Drawing.Size(30, 32);
  129. this.btnSearch.TabIndex = 5;
  130. this.btnSearch.Visible = false;
  131. this.btnSearch.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnSearch_MouseDown);
  132. //
  133. // UCTextBoxEx
  134. //
  135. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  136. this.BackColor = System.Drawing.Color.Transparent;
  137. this.ConerRadius = 5;
  138. this.Controls.Add(this.btnClear);
  139. this.Controls.Add(this.btnKeybord);
  140. this.Controls.Add(this.btnSearch);
  141. this.Controls.Add(this.txtInput);
  142. this.Cursor = System.Windows.Forms.Cursors.IBeam;
  143. this.IsShowRect = true;
  144. this.IsRadius = true;
  145. this.Name = "UCTextBoxEx";
  146. this.Padding = new System.Windows.Forms.Padding(5);
  147. this.Size = new System.Drawing.Size(322, 42);
  148. this.Load += new System.EventHandler(this.UCTextBoxEx_Load);
  149. this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.UCTextBoxEx_MouseDown);
  150. this.ResumeLayout(false);
  151. this.PerformLayout();
  152. }
  153. #endregion
  154. /// <summary>
  155. /// The image list1
  156. /// </summary>
  157. private System.Windows.Forms.ImageList imageList1;
  158. /// <summary>
  159. /// The text input
  160. /// </summary>
  161. public TextBoxEx txtInput;
  162. /// <summary>
  163. /// The BTN clear
  164. /// </summary>
  165. private System.Windows.Forms.Panel btnClear;
  166. /// <summary>
  167. /// The BTN search
  168. /// </summary>
  169. private System.Windows.Forms.Panel btnSearch;
  170. /// <summary>
  171. /// The BTN keybord
  172. /// </summary>
  173. private System.Windows.Forms.Panel btnKeybord;
  174. }
  175. }