示例#1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components       = new System.ComponentModel.Container();
     this.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.richTextBox1     = new System.Windows.Forms.RichTextBox();
     this.textBoxExtender1 = new TestExtender.TextBoxExtender(this.components);
     this.textBox1         = new System.Windows.Forms.TextBox();
     this.textBox2         = new System.Windows.Forms.TextBox();
     this.label1           = new System.Windows.Forms.Label();
     this.label2           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxExtender1)).BeginInit();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.AcceptsTab = true;
     this.richTextBox1.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.richTextBox1.Location = new System.Drawing.Point(24, 200);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(616, 256);
     this.textBoxExtender1.SetSpellCheck(this.richTextBox1, true);
     this.richTextBox1.TabIndex = 0;
     this.richTextBox1.Text     = "";
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Location = new System.Drawing.Point(24, 32);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(616, 20);
     this.textBoxExtender1.SetSpellCheck(this.textBox1, true);
     this.textBox1.TabIndex = 1;
     this.textBox1.Text     = "";
     //
     // textBox2
     //
     this.textBox2.AcceptsReturn = true;
     this.textBox2.AcceptsTab    = true;
     this.textBox2.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox2.Location   = new System.Drawing.Point(24, 80);
     this.textBox2.Multiline  = true;
     this.textBox2.Name       = "textBox2";
     this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.textBox2.Size       = new System.Drawing.Size(616, 96);
     this.textBoxExtender1.SetSpellCheck(this.textBox2, true);
     this.textBox2.TabIndex = 3;
     this.textBox2.Text     = "";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location = new System.Drawing.Point(24, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(616, 16);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Text Box Test:";
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(24, 64);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(616, 16);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Multi-line Text Box Test:";
     //
     // label3
     //
     this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.Location = new System.Drawing.Point(24, 184);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(616, 16);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Rich Text Box Test:";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(664, 478);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.richTextBox1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.textBoxExtender1)).EndInit();
     this.ResumeLayout(false);
 }
示例#2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.textBoxExtender1 = new TestExtender.TextBoxExtender(this.components);
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxExtender1)).BeginInit();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.AcceptsTab = true;
     this.richTextBox1.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.richTextBox1.Location = new System.Drawing.Point(24, 200);
     this.richTextBox1.Name = "richTextBox1";
     this.richTextBox1.Size = new System.Drawing.Size(616, 256);
     this.textBoxExtender1.SetSpellCheck(this.richTextBox1, true);
     this.richTextBox1.TabIndex = 0;
     this.richTextBox1.Text = "";
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Location = new System.Drawing.Point(24, 32);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(616, 20);
     this.textBoxExtender1.SetSpellCheck(this.textBox1, true);
     this.textBox1.TabIndex = 1;
     this.textBox1.Text = "";
     //
     // textBox2
     //
     this.textBox2.AcceptsReturn = true;
     this.textBox2.AcceptsTab = true;
     this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox2.Location = new System.Drawing.Point(24, 80);
     this.textBox2.Multiline = true;
     this.textBox2.Name = "textBox2";
     this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.textBox2.Size = new System.Drawing.Size(616, 96);
     this.textBoxExtender1.SetSpellCheck(this.textBox2, true);
     this.textBox2.TabIndex = 3;
     this.textBox2.Text = "";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location = new System.Drawing.Point(24, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(616, 16);
     this.label1.TabIndex = 2;
     this.label1.Text = "Text Box Test:";
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(24, 64);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(616, 16);
     this.label2.TabIndex = 4;
     this.label2.Text = "Multi-line Text Box Test:";
     //
     // label3
     //
     this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.Location = new System.Drawing.Point(24, 184);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(616, 16);
     this.label3.TabIndex = 5;
     this.label3.Text = "Rich Text Box Test:";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(664, 478);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.richTextBox1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.textBoxExtender1)).EndInit();
     this.ResumeLayout(false);
 }