CTextBox.designer.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. namespace Controls
  2. {
  3. partial class CTextBox
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region 组件设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CTextBox));
  29. this.lbl_line = new System.Windows.Forms.Label();
  30. this.tbx_text = new System.Windows.Forms.TextBox();
  31. this.btn_eye = new System.Windows.Forms.Button();
  32. this.SuspendLayout();
  33. //
  34. // lbl_line
  35. //
  36. this.lbl_line.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  37. | System.Windows.Forms.AnchorStyles.Left)
  38. | System.Windows.Forms.AnchorStyles.Right)));
  39. this.lbl_line.BackColor = System.Drawing.Color.Gray;
  40. this.lbl_line.Location = new System.Drawing.Point(2, 20);
  41. this.lbl_line.Name = "lbl_line";
  42. this.lbl_line.Size = new System.Drawing.Size(133, 1);
  43. this.lbl_line.TabIndex = 10;
  44. //
  45. // tbx_text
  46. //
  47. this.tbx_text.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  48. | System.Windows.Forms.AnchorStyles.Left)
  49. | System.Windows.Forms.AnchorStyles.Right)));
  50. this.tbx_text.BorderStyle = System.Windows.Forms.BorderStyle.None;
  51. this.tbx_text.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
  52. this.tbx_text.Location = new System.Drawing.Point(6, 1);
  53. this.tbx_text.Margin = new System.Windows.Forms.Padding(3, 6, 3, 6);
  54. this.tbx_text.Name = "tbx_text";
  55. this.tbx_text.Size = new System.Drawing.Size(125, 16);
  56. this.tbx_text.TabIndex = 9;
  57. this.tbx_text.TextChanged += new System.EventHandler(this.tbx_text_TextChanged);
  58. this.tbx_text.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbx_text_KeyDown);
  59. this.tbx_text.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbx_text_MouseUp);
  60. //
  61. // btn_eye
  62. //
  63. this.btn_eye.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  64. this.btn_eye.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_eye.BackgroundImage")));
  65. this.btn_eye.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  66. this.btn_eye.FlatAppearance.BorderSize = 0;
  67. this.btn_eye.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  68. this.btn_eye.Location = new System.Drawing.Point(110, 1);
  69. this.btn_eye.Name = "btn_eye";
  70. this.btn_eye.Size = new System.Drawing.Size(21, 18);
  71. this.btn_eye.TabIndex = 11;
  72. this.btn_eye.TabStop = false;
  73. this.btn_eye.UseVisualStyleBackColor = true;
  74. this.btn_eye.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btn_eye_MouseDown);
  75. this.btn_eye.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btn_eye_MouseUp);
  76. //
  77. // CTextBox
  78. //
  79. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  80. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  81. this.BackColor = System.Drawing.Color.White;
  82. this.Controls.Add(this.btn_eye);
  83. this.Controls.Add(this.lbl_line);
  84. this.Controls.Add(this.tbx_text);
  85. this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  86. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  87. this.MaximumSize = new System.Drawing.Size(400, 22);
  88. this.MinimumSize = new System.Drawing.Size(20, 22);
  89. this.Name = "CTextBox";
  90. this.Size = new System.Drawing.Size(137, 22);
  91. this.Load += new System.EventHandler(this.TextBox_Load);
  92. this.Enter += new System.EventHandler(this.TextBox_Enter);
  93. this.Leave += new System.EventHandler(this.TextBox_Leave);
  94. this.ResumeLayout(false);
  95. this.PerformLayout();
  96. }
  97. #endregion
  98. private System.Windows.Forms.Label lbl_line;
  99. private System.Windows.Forms.TextBox tbx_text;
  100. private System.Windows.Forms.Button btn_eye;
  101. }
  102. }