UCDatePickerExt.Designer.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. // ***********************************************************************
  2. // Assembly : HZH_Controls
  3. // Created : 08-08-2019
  4. //
  5. // ***********************************************************************
  6. // <copyright file="UCDatePickerExt.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 UCDatePickerExt.
  20. /// Implements the <see cref="HZH_Controls.Controls.UCControlBase" />
  21. /// </summary>
  22. /// <seealso cref="HZH_Controls.Controls.UCControlBase" />
  23. partial class UCDatePickerExt
  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.label5 = new System.Windows.Forms.Label();
  50. this.txtMinute = new HZH_Controls.Controls.TextBoxEx();
  51. this.label4 = new System.Windows.Forms.Label();
  52. this.txtHour = new HZH_Controls.Controls.TextBoxEx();
  53. this.label3 = new System.Windows.Forms.Label();
  54. this.txtDay = new HZH_Controls.Controls.TextBoxEx();
  55. this.label2 = new System.Windows.Forms.Label();
  56. this.txtMonth = new HZH_Controls.Controls.TextBoxEx();
  57. this.label1 = new System.Windows.Forms.Label();
  58. this.txtYear = new HZH_Controls.Controls.TextBoxEx();
  59. this.panel1.SuspendLayout();
  60. this.SuspendLayout();
  61. //
  62. // panel1
  63. //
  64. this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  65. this.panel1.Controls.Add(this.label5);
  66. this.panel1.Controls.Add(this.txtMinute);
  67. this.panel1.Controls.Add(this.label4);
  68. this.panel1.Controls.Add(this.txtHour);
  69. this.panel1.Controls.Add(this.label3);
  70. this.panel1.Controls.Add(this.txtDay);
  71. this.panel1.Controls.Add(this.label2);
  72. this.panel1.Controls.Add(this.txtMonth);
  73. this.panel1.Controls.Add(this.label1);
  74. this.panel1.Controls.Add(this.txtYear);
  75. this.panel1.Location = new System.Drawing.Point(3, 6);
  76. this.panel1.MaximumSize = new System.Drawing.Size(0, 27);
  77. this.panel1.Name = "panel1";
  78. this.panel1.Size = new System.Drawing.Size(330, 27);
  79. this.panel1.TabIndex = 9;
  80. //
  81. // label5
  82. //
  83. this.label5.AutoSize = true;
  84. this.label5.Dock = System.Windows.Forms.DockStyle.Left;
  85. this.label5.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  86. this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  87. this.label5.Location = new System.Drawing.Point(301, 0);
  88. this.label5.Name = "label5";
  89. this.label5.Size = new System.Drawing.Size(32, 27);
  90. this.label5.TabIndex = 17;
  91. this.label5.Text = "分";
  92. this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  93. //
  94. // txtMinute
  95. //
  96. this.txtMinute.BorderStyle = System.Windows.Forms.BorderStyle.None;
  97. this.txtMinute.DecLength = 2;
  98. this.txtMinute.Dock = System.Windows.Forms.DockStyle.Left;
  99. this.txtMinute.Font = new System.Drawing.Font("Arial Unicode MS", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  100. this.txtMinute.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  101. this.txtMinute.InputType = HZH_Controls.TextInputType.Integer;
  102. this.txtMinute.Location = new System.Drawing.Point(272, 0);
  103. this.txtMinute.MaxValue = new decimal(new int[] {
  104. 59,
  105. 0,
  106. 0,
  107. 0});
  108. this.txtMinute.MinValue = new decimal(new int[] {
  109. 0,
  110. 0,
  111. 0,
  112. 0});
  113. this.txtMinute.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  114. this.txtMinute.Name = "txtMinute";
  115. this.txtMinute.OldText = null;
  116. this.txtMinute.PromptColor = System.Drawing.Color.Gray;
  117. this.txtMinute.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  118. this.txtMinute.PromptText = "";
  119. this.txtMinute.RegexPattern = "";
  120. this.txtMinute.Size = new System.Drawing.Size(29, 27);
  121. this.txtMinute.TabIndex = 5;
  122. this.txtMinute.Text = "59";
  123. this.txtMinute.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  124. this.txtMinute.SizeChanged += new System.EventHandler(this.txt_SizeChanged);
  125. this.txtMinute.Leave += new System.EventHandler(this.txtMinute_Leave);
  126. //
  127. // label4
  128. //
  129. this.label4.AutoSize = true;
  130. this.label4.Dock = System.Windows.Forms.DockStyle.Left;
  131. this.label4.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  132. this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  133. this.label4.Location = new System.Drawing.Point(240, 0);
  134. this.label4.Name = "label4";
  135. this.label4.Size = new System.Drawing.Size(32, 27);
  136. this.label4.TabIndex = 16;
  137. this.label4.Text = "时";
  138. this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  139. //
  140. // txtHour
  141. //
  142. this.txtHour.BorderStyle = System.Windows.Forms.BorderStyle.None;
  143. this.txtHour.DecLength = 2;
  144. this.txtHour.Dock = System.Windows.Forms.DockStyle.Left;
  145. this.txtHour.Font = new System.Drawing.Font("Arial Unicode MS", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  146. this.txtHour.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  147. this.txtHour.InputType = HZH_Controls.TextInputType.Integer;
  148. this.txtHour.Location = new System.Drawing.Point(211, 0);
  149. this.txtHour.MaxValue = new decimal(new int[] {
  150. 23,
  151. 0,
  152. 0,
  153. 0});
  154. this.txtHour.MinValue = new decimal(new int[] {
  155. 0,
  156. 0,
  157. 0,
  158. 0});
  159. this.txtHour.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  160. this.txtHour.Name = "txtHour";
  161. this.txtHour.OldText = null;
  162. this.txtHour.PromptColor = System.Drawing.Color.Gray;
  163. this.txtHour.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  164. this.txtHour.PromptText = "";
  165. this.txtHour.RegexPattern = "";
  166. this.txtHour.Size = new System.Drawing.Size(29, 27);
  167. this.txtHour.TabIndex = 4;
  168. this.txtHour.Text = "23";
  169. this.txtHour.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  170. this.txtHour.SizeChanged += new System.EventHandler(this.txt_SizeChanged);
  171. this.txtHour.TextChanged += new System.EventHandler(this.txtHour_TextChanged);
  172. this.txtHour.Leave += new System.EventHandler(this.txtHour_Leave);
  173. //
  174. // label3
  175. //
  176. this.label3.AutoSize = true;
  177. this.label3.Dock = System.Windows.Forms.DockStyle.Left;
  178. this.label3.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  179. this.label3.Location = new System.Drawing.Point(173, 0);
  180. this.label3.Margin = new System.Windows.Forms.Padding(0);
  181. this.label3.Name = "label3";
  182. this.label3.Size = new System.Drawing.Size(38, 27);
  183. this.label3.TabIndex = 14;
  184. this.label3.Text = " 日";
  185. this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  186. //
  187. // txtDay
  188. //
  189. this.txtDay.BorderStyle = System.Windows.Forms.BorderStyle.None;
  190. this.txtDay.DecLength = 2;
  191. this.txtDay.Dock = System.Windows.Forms.DockStyle.Left;
  192. this.txtDay.Font = new System.Drawing.Font("Arial Unicode MS", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  193. this.txtDay.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  194. this.txtDay.InputType = HZH_Controls.TextInputType.Integer;
  195. this.txtDay.Location = new System.Drawing.Point(144, 0);
  196. this.txtDay.MaxValue = new decimal(new int[] {
  197. 31,
  198. 0,
  199. 0,
  200. 0});
  201. this.txtDay.MinValue = new decimal(new int[] {
  202. 0,
  203. 0,
  204. 0,
  205. 0});
  206. this.txtDay.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  207. this.txtDay.Name = "txtDay";
  208. this.txtDay.OldText = null;
  209. this.txtDay.PromptColor = System.Drawing.Color.Gray;
  210. this.txtDay.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  211. this.txtDay.PromptText = "";
  212. this.txtDay.RegexPattern = "";
  213. this.txtDay.Size = new System.Drawing.Size(29, 27);
  214. this.txtDay.TabIndex = 3;
  215. this.txtDay.Text = "12";
  216. this.txtDay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  217. this.txtDay.SizeChanged += new System.EventHandler(this.txt_SizeChanged);
  218. this.txtDay.TextChanged += new System.EventHandler(this.txtDay_TextChanged);
  219. this.txtDay.Leave += new System.EventHandler(this.txtDay_Leave);
  220. //
  221. // label2
  222. //
  223. this.label2.AutoSize = true;
  224. this.label2.Dock = System.Windows.Forms.DockStyle.Left;
  225. this.label2.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  226. this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  227. this.label2.Location = new System.Drawing.Point(112, 0);
  228. this.label2.Name = "label2";
  229. this.label2.Size = new System.Drawing.Size(32, 27);
  230. this.label2.TabIndex = 12;
  231. this.label2.Text = "月";
  232. this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  233. //
  234. // txtMonth
  235. //
  236. this.txtMonth.BorderStyle = System.Windows.Forms.BorderStyle.None;
  237. this.txtMonth.DecLength = 2;
  238. this.txtMonth.Dock = System.Windows.Forms.DockStyle.Left;
  239. this.txtMonth.Font = new System.Drawing.Font("Arial Unicode MS", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  240. this.txtMonth.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  241. this.txtMonth.InputType = HZH_Controls.TextInputType.Integer;
  242. this.txtMonth.Location = new System.Drawing.Point(83, 0);
  243. this.txtMonth.MaxValue = new decimal(new int[] {
  244. 12,
  245. 0,
  246. 0,
  247. 0});
  248. this.txtMonth.MinValue = new decimal(new int[] {
  249. 0,
  250. 0,
  251. 0,
  252. 0});
  253. this.txtMonth.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  254. this.txtMonth.Name = "txtMonth";
  255. this.txtMonth.OldText = null;
  256. this.txtMonth.PromptColor = System.Drawing.Color.Gray;
  257. this.txtMonth.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  258. this.txtMonth.PromptText = "";
  259. this.txtMonth.RegexPattern = "";
  260. this.txtMonth.Size = new System.Drawing.Size(29, 27);
  261. this.txtMonth.TabIndex = 2;
  262. this.txtMonth.Text = "12";
  263. this.txtMonth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  264. this.txtMonth.SizeChanged += new System.EventHandler(this.txt_SizeChanged);
  265. this.txtMonth.TextChanged += new System.EventHandler(this.txtMonth_TextChanged);
  266. this.txtMonth.Leave += new System.EventHandler(this.txtMonth_Leave);
  267. //
  268. // label1
  269. //
  270. this.label1.AutoSize = true;
  271. this.label1.Dock = System.Windows.Forms.DockStyle.Left;
  272. this.label1.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  273. this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  274. this.label1.Location = new System.Drawing.Point(51, 0);
  275. this.label1.Margin = new System.Windows.Forms.Padding(0);
  276. this.label1.Name = "label1";
  277. this.label1.Size = new System.Drawing.Size(32, 27);
  278. this.label1.TabIndex = 10;
  279. this.label1.Text = "年";
  280. this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  281. //
  282. // txtYear
  283. //
  284. this.txtYear.BorderStyle = System.Windows.Forms.BorderStyle.None;
  285. this.txtYear.DecLength = 2;
  286. this.txtYear.Dock = System.Windows.Forms.DockStyle.Left;
  287. this.txtYear.Font = new System.Drawing.Font("Arial Unicode MS", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  288. this.txtYear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
  289. this.txtYear.InputType = HZH_Controls.TextInputType.Integer;
  290. this.txtYear.Location = new System.Drawing.Point(0, 0);
  291. this.txtYear.MaxValue = new decimal(new int[] {
  292. 2099,
  293. 0,
  294. 0,
  295. 0});
  296. this.txtYear.MinValue = new decimal(new int[] {
  297. 0,
  298. 0,
  299. 0,
  300. 0});
  301. this.txtYear.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
  302. this.txtYear.Name = "txtYear";
  303. this.txtYear.OldText = null;
  304. this.txtYear.PromptColor = System.Drawing.Color.Gray;
  305. this.txtYear.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
  306. this.txtYear.PromptText = "";
  307. this.txtYear.RegexPattern = "";
  308. this.txtYear.Size = new System.Drawing.Size(51, 27);
  309. this.txtYear.TabIndex = 1;
  310. this.txtYear.Text = "2019";
  311. this.txtYear.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  312. this.txtYear.SizeChanged += new System.EventHandler(this.txt_SizeChanged);
  313. this.txtYear.TextChanged += new System.EventHandler(this.txtYear_TextChanged);
  314. this.txtYear.Leave += new System.EventHandler(this.txtYear_Leave);
  315. //
  316. // UCDatePickerExt
  317. //
  318. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  319. this.BackColor = System.Drawing.Color.White;
  320. this.ConerRadius = 5;
  321. this.Controls.Add(this.panel1);
  322. this.IsRadius = true;
  323. this.IsShowRect = true;
  324. this.Name = "UCDatePickerExt";
  325. this.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0);
  326. this.Size = new System.Drawing.Size(336, 39);
  327. this.Load += new System.EventHandler(this.UCDatePickerExt_Load);
  328. this.panel1.ResumeLayout(false);
  329. this.panel1.PerformLayout();
  330. this.ResumeLayout(false);
  331. }
  332. #endregion
  333. /// <summary>
  334. /// The panel1
  335. /// </summary>
  336. private System.Windows.Forms.Panel panel1;
  337. /// <summary>
  338. /// The label4
  339. /// </summary>
  340. private System.Windows.Forms.Label label4;
  341. /// <summary>
  342. /// The label3
  343. /// </summary>
  344. private System.Windows.Forms.Label label3;
  345. /// <summary>
  346. /// The label2
  347. /// </summary>
  348. private System.Windows.Forms.Label label2;
  349. /// <summary>
  350. /// The label1
  351. /// </summary>
  352. private System.Windows.Forms.Label label1;
  353. /// <summary>
  354. /// The text minute
  355. /// </summary>
  356. private TextBoxEx txtMinute;
  357. /// <summary>
  358. /// The text hour
  359. /// </summary>
  360. private TextBoxEx txtHour;
  361. /// <summary>
  362. /// The text day
  363. /// </summary>
  364. private TextBoxEx txtDay;
  365. /// <summary>
  366. /// The text month
  367. /// </summary>
  368. private TextBoxEx txtMonth;
  369. /// <summary>
  370. /// The text year
  371. /// </summary>
  372. private TextBoxEx txtYear;
  373. /// <summary>
  374. /// The label5
  375. /// </summary>
  376. private System.Windows.Forms.Label label5;
  377. }
  378. }