Inheritance: System.Windows.Forms.TextBox
示例#1
0
 /// <summary>
 /// 设计界面
 /// </summary>
 private void InitializeComponent()
 {
     this.BaseText = new Andwho.Windows.Forms.QQTextBoxBase();
     this.SuspendLayout();
     //
     // BaseText
     //
     this.BaseText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.BaseText.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.BaseText.Font        = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.BaseText.Location    = new System.Drawing.Point(3, 4);
     this.BaseText.Margin      = new System.Windows.Forms.Padding(0);
     this.BaseText.Name        = "BaseText";
     this.BaseText.Size        = new System.Drawing.Size(172, 18);
     this.BaseText.TabIndex    = 0;
     this.BaseText.WaterColor  = System.Drawing.Color.DarkGray;
     this.BaseText.WaterText   = "";
     //
     // TextBoxEx
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.Black;
     this.Controls.Add(this.BaseText);
     this.Name = "TextBoxEx";
     this.Size = new System.Drawing.Size(178, 24);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#2
0
 /// <summary>
 /// 设计界面
 /// </summary>
 private void InitializeComponent()
 {
     this.BaseText = new Andwho.Windows.Forms.QQTextBoxBase();
     this.SuspendLayout();
     //
     // BaseText
     //
     this.BaseText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.BaseText.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.BaseText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.BaseText.Location = new System.Drawing.Point(3, 4);
     this.BaseText.Margin = new System.Windows.Forms.Padding(0);
     this.BaseText.Name = "BaseText";
     this.BaseText.Size = new System.Drawing.Size(172, 18);
     this.BaseText.TabIndex = 0;
     this.BaseText.WaterColor = System.Drawing.Color.DarkGray;
     this.BaseText.WaterText = "";
     //
     // TextBoxEx
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Black;
     this.Controls.Add(this.BaseText);
     this.Name = "TextBoxEx";
     this.Size = new System.Drawing.Size(178, 24);
     this.ResumeLayout(false);
     this.PerformLayout();
 }