namespace TestScroll { partial class Form1 { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing&&(components!=null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.ucDrawer1 = new TestScroll.UcDrawer(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.ucDrawer1); this.panel1.Controls.Add(this.vScrollBar1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(705, 391); this.panel1.TabIndex = 1; // // hScrollBar1 // this.hScrollBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.hScrollBar1.Location = new System.Drawing.Point(0, 372); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(705, 19); this.hScrollBar1.TabIndex = 2; this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll); // // vScrollBar1 // this.vScrollBar1.Dock = System.Windows.Forms.DockStyle.Right; this.vScrollBar1.Location = new System.Drawing.Point(688, 0); this.vScrollBar1.Name = "vScrollBar1"; this.vScrollBar1.Size = new System.Drawing.Size(17, 372); this.vScrollBar1.TabIndex = 3; // // ucDrawer1 // this.ucDrawer1.Dock = System.Windows.Forms.DockStyle.Fill; this.ucDrawer1.Location = new System.Drawing.Point(0, 0); this.ucDrawer1.Name = "ucDrawer1"; this.ucDrawer1.Size = new System.Drawing.Size(688, 372); this.ucDrawer1.TabIndex = 1; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(705, 391); this.Controls.Add(this.panel1); this.Name = "Form1"; this.Text = "Form1"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Panel panel1; private UcDrawer ucDrawer1; private System.Windows.Forms.VScrollBar vScrollBar1; private System.Windows.Forms.HScrollBar hScrollBar1; } }