示例#1
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components   = new System.ComponentModel.Container();
     this.panel1       = new  Panel( );
     this.efPanel1     = new  Panel( );
     this.markControl1 = new RichTextBox文本变色.MarkControl();
     this.label1       = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(102, 27);
     this.panel1.TabIndex = 1;
     //
     // efPanel1
     //
     this.efPanel1.Location = new System.Drawing.Point(0, 0);
     this.efPanel1.Name     = "efPanel1";
     this.efPanel1.Size     = new System.Drawing.Size(11, 14);
     this.efPanel1.TabIndex = 2;
     //
     // markControl1
     //
     this.markControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.markControl1.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.markControl1.Location  = new System.Drawing.Point(97, 0);
     this.markControl1.Name      = "markControl1";
     this.markControl1.Size      = new System.Drawing.Size(500, 27);
     this.markControl1.TabIndex  = 0;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("新宋体", 13F);
     this.label1.Location  = new System.Drawing.Point(53, 60);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(62, 18);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "label1";
     //
     // MyCompareFrame
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.efPanel1);
     this.Controls.Add(this.markControl1);
     this.DoubleBuffered = true;
     this.Margin         = new System.Windows.Forms.Padding(0, 3, 6, 3);
     this.Name           = "MyCompareFrame";
     this.Size           = new System.Drawing.Size(600, 388);
     this.Scroll        += new System.Windows.Forms.ScrollEventHandler(this.MyCompareFrame_Scroll);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#2
0
 /// <summary> 
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.panel1 = new  Panel( );
     this.efPanel1 = new  Panel( );
     this.markControl1 = new RichTextBox文本变色.MarkControl();
     this.label1 = new System.Windows.Forms.Label();
      this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(102, 27);
     this.panel1.TabIndex = 1;
     //
     // efPanel1
     //
     this.efPanel1.Location = new System.Drawing.Point(0, 0);
     this.efPanel1.Name = "efPanel1";
     this.efPanel1.Size = new System.Drawing.Size(11, 14);
     this.efPanel1.TabIndex = 2;
     //
     // markControl1
     //
     this.markControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.markControl1.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.markControl1.Location = new System.Drawing.Point(97, 0);
     this.markControl1.Name = "markControl1";
     this.markControl1.Size = new System.Drawing.Size(500, 27);
     this.markControl1.TabIndex = 0;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font = new System.Drawing.Font("新宋体", 13F);
     this.label1.Location = new System.Drawing.Point(53, 60);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(62, 18);
     this.label1.TabIndex = 3;
     this.label1.Text = "label1";
     //
     // MyCompareFrame
     //
         this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.efPanel1);
     this.Controls.Add(this.markControl1);
     this.DoubleBuffered = true;
     this.Margin = new System.Windows.Forms.Padding(0, 3, 6, 3);
     this.Name = "MyCompareFrame";
     this.Size = new System.Drawing.Size(600, 388);
     this.Scroll += new System.Windows.Forms.ScrollEventHandler(this.MyCompareFrame_Scroll);
      this.ResumeLayout(false);
     this.PerformLayout();
 }