示例#1
0
 private void InitializeComponent()
 {
     this.panelScroll = new System.Windows.Forms.Panel();
     this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
     this.panelTable  = new OpenDental.ContrPanelTable();
     this.panelHead   = new System.Windows.Forms.Panel();
     this.panelScroll.SuspendLayout();
     this.SuspendLayout();
     //
     // panelScroll
     //
     this.panelScroll.BackColor   = System.Drawing.SystemColors.Control;
     this.panelScroll.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelScroll.Controls.Add(this.vScrollBar1);
     this.panelScroll.Controls.Add(this.panelTable);
     this.panelScroll.Location = new System.Drawing.Point(0, 100);
     this.panelScroll.Name     = "panelScroll";
     this.panelScroll.Size     = new System.Drawing.Size(464, 160);
     this.panelScroll.TabIndex = 1;
     this.panelScroll.Paint   += new System.Windows.Forms.PaintEventHandler(this.panelScroll_Paint);
     //
     // vScrollBar1
     //
     this.vScrollBar1.Dock        = System.Windows.Forms.DockStyle.Right;
     this.vScrollBar1.LargeChange = 50;
     this.vScrollBar1.Location    = new System.Drawing.Point(445, 0);
     this.vScrollBar1.Maximum     = 200;
     this.vScrollBar1.Minimum     = 1;
     this.vScrollBar1.Name        = "vScrollBar1";
     this.vScrollBar1.Size        = new System.Drawing.Size(17, 158);
     this.vScrollBar1.SmallChange = 50;
     this.vScrollBar1.TabIndex    = 1;
     this.vScrollBar1.Value       = 150;
     this.vScrollBar1.KeyPress   += new System.Windows.Forms.KeyPressEventHandler(this.vScrollBar1_KeyPress);
     this.vScrollBar1.Scroll     += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
     //
     // panelTable
     //
     this.panelTable.BackColor    = System.Drawing.SystemColors.Window;
     this.panelTable.Location     = new System.Drawing.Point(0, 0);
     this.panelTable.Name         = "panelTable";
     this.panelTable.Size         = new System.Drawing.Size(420, 168);
     this.panelTable.TabIndex     = 2;
     this.panelTable.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.panelTable_KeyPress);
     this.panelTable.Click       += new System.EventHandler(this.panelTable_Click);
     this.panelTable.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.panelTable_MouseUp);
     this.panelTable.Paint       += new System.Windows.Forms.PaintEventHandler(this.panelTable_Paint);
     this.panelTable.KeyUp       += new System.Windows.Forms.KeyEventHandler(this.panelTable_KeyUp);
     this.panelTable.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.panelTable_KeyDown);
     this.panelTable.DoubleClick += new System.EventHandler(this.panelTable_DoubleClick);
     this.panelTable.MouseWheel  += new System.Windows.Forms.MouseEventHandler(this.panelTable_MouseWheel);
     this.panelTable.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.panelTable_MouseDown);
     //
     // panelHead
     //
     this.panelHead.AutoScroll  = true;
     this.panelHead.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelHead.Location    = new System.Drawing.Point(1, 1);
     this.panelHead.Name        = "panelHead";
     this.panelHead.Size        = new System.Drawing.Size(436, 84);
     this.panelHead.TabIndex    = 2;
     this.panelHead.Click      += new System.EventHandler(this.panelHead_Click);
     this.panelHead.Paint      += new System.Windows.Forms.PaintEventHandler(this.panelHead_Paint);
     //
     // ContrTable
     //
     this.BackColor = System.Drawing.SystemColors.Window;
     this.Controls.Add(this.panelScroll);
     this.Controls.Add(this.panelHead);
     this.Name   = "ContrTable";
     this.Size   = new System.Drawing.Size(484, 356);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.ContrTable_Paint);
     this.panelScroll.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#2
0
		private void InitializeComponent()
		{
			this.panelScroll = new System.Windows.Forms.Panel();
			this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
			this.panelTable = new OpenDental.ContrPanelTable();
			this.panelHead = new System.Windows.Forms.Panel();
			this.panelScroll.SuspendLayout();
			this.SuspendLayout();
			// 
			// panelScroll
			// 
			this.panelScroll.BackColor = System.Drawing.SystemColors.Control;
			this.panelScroll.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.panelScroll.Controls.Add(this.vScrollBar1);
			this.panelScroll.Controls.Add(this.panelTable);
			this.panelScroll.Location = new System.Drawing.Point(0, 100);
			this.panelScroll.Name = "panelScroll";
			this.panelScroll.Size = new System.Drawing.Size(464, 160);
			this.panelScroll.TabIndex = 1;
			this.panelScroll.Paint += new System.Windows.Forms.PaintEventHandler(this.panelScroll_Paint);
			// 
			// vScrollBar1
			// 
			this.vScrollBar1.Dock = System.Windows.Forms.DockStyle.Right;
			this.vScrollBar1.LargeChange = 50;
			this.vScrollBar1.Location = new System.Drawing.Point(445, 0);
			this.vScrollBar1.Maximum = 200;
			this.vScrollBar1.Minimum = 1;
			this.vScrollBar1.Name = "vScrollBar1";
			this.vScrollBar1.Size = new System.Drawing.Size(17, 158);
			this.vScrollBar1.SmallChange = 50;
			this.vScrollBar1.TabIndex = 1;
			this.vScrollBar1.Value = 150;
			this.vScrollBar1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.vScrollBar1_KeyPress);
			this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
			// 
			// panelTable
			// 
			this.panelTable.BackColor = System.Drawing.SystemColors.Window;
			this.panelTable.Location = new System.Drawing.Point(0, 0);
			this.panelTable.Name = "panelTable";
			this.panelTable.Size = new System.Drawing.Size(420, 168);
			this.panelTable.TabIndex = 2;
			this.panelTable.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.panelTable_KeyPress);
			this.panelTable.Click += new System.EventHandler(this.panelTable_Click);
			this.panelTable.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelTable_MouseUp);
			this.panelTable.Paint += new System.Windows.Forms.PaintEventHandler(this.panelTable_Paint);
			this.panelTable.KeyUp += new System.Windows.Forms.KeyEventHandler(this.panelTable_KeyUp);
			this.panelTable.KeyDown += new System.Windows.Forms.KeyEventHandler(this.panelTable_KeyDown);
			this.panelTable.DoubleClick += new System.EventHandler(this.panelTable_DoubleClick);
			this.panelTable.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.panelTable_MouseWheel);
			this.panelTable.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelTable_MouseDown);
			// 
			// panelHead
			// 
			this.panelHead.AutoScroll = true;
			this.panelHead.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.panelHead.Location = new System.Drawing.Point(1, 1);
			this.panelHead.Name = "panelHead";
			this.panelHead.Size = new System.Drawing.Size(436, 84);
			this.panelHead.TabIndex = 2;
			this.panelHead.Click += new System.EventHandler(this.panelHead_Click);
			this.panelHead.Paint += new System.Windows.Forms.PaintEventHandler(this.panelHead_Paint);
			// 
			// ContrTable
			// 
			this.BackColor = System.Drawing.SystemColors.Window;
			this.Controls.Add(this.panelScroll);
			this.Controls.Add(this.panelHead);
			this.Name = "ContrTable";
			this.Size = new System.Drawing.Size(484, 356);
			this.Paint += new System.Windows.Forms.PaintEventHandler(this.ContrTable_Paint);
			this.panelScroll.ResumeLayout(false);
			this.ResumeLayout(false);

		}