/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { //this.tb = new RichTextBox(); this.tb = new MultilineTextBox(); this.SuspendLayout(); // // tb // this.tb.Multiline = false; this.tb.ScrollBars = RichTextBoxScrollBars.None; this.tb.Enabled = true; this.tb.ReadOnly = false; this.tb.BackColor = System.Drawing.SystemColors.Window; this.tb.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tb.Dock = System.Windows.Forms.DockStyle.Fill; this.tb.ForeColor = System.Drawing.SystemColors.WindowText; this.tb.Location = new System.Drawing.Point(0, 0); this.tb.Name = "tb"; this.tb.Size = new System.Drawing.Size(148, 13); this.tb.TabIndex = 0; this.tb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this._tb_KeyPress); this.tb.Leave += new System.EventHandler(this._tb_Leave); this.tb.LostFocus += new System.EventHandler(this._tb_LostFocus); this.tb.MouseCaptureChanged += new System.EventHandler(this._tb_MouseCaptureChanged); this.tb.TextChanged += new System.EventHandler(this._tb_TextChanged); // // PaddedTextBox // this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Controls.Add(this.tb); this.BackColor = System.Drawing.SystemColors.Window; this.ForeColor = System.Drawing.Color.Black; this.Name = "PaddedTextBox"; this.Size = new System.Drawing.Size(148, 148); // this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { //this.tb = new RichTextBox(); this.tb = new MultilineTextBox(); this.SuspendLayout(); // // tb // this.tb.Multiline = false; this.tb.ScrollBars = RichTextBoxScrollBars.None; this.tb.Enabled = true; this.tb.ReadOnly = false; this.tb.BackColor = System.Drawing.SystemColors.Window; this.tb.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tb.Dock = System.Windows.Forms.DockStyle.Fill; this.tb.ForeColor = System.Drawing.SystemColors.WindowText; this.tb.Location = new System.Drawing.Point(0, 0); this.tb.Name = "tb"; this.tb.Size = new System.Drawing.Size(148, 13); this.tb.TabIndex = 0; this.tb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this._tb_KeyPress); this.tb.Leave += new System.EventHandler(this._tb_Leave); this.tb.LostFocus += new System.EventHandler(this._tb_LostFocus); this.tb.MouseCaptureChanged += new System.EventHandler(this._tb_MouseCaptureChanged); this.tb.TextChanged += new System.EventHandler(this._tb_TextChanged); // // PaddedTextBox // this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Controls.Add(this.tb); this.BackColor = System.Drawing.SystemColors.Window; this.ForeColor = System.Drawing.Color.Black; this.Name = "PaddedTextBox"; this.Size = new System.Drawing.Size(148, 148); // this.ResumeLayout(false); this.PerformLayout(); }