Exemple #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._vertScrollBar  = new System.Windows.Forms.VScrollBar();
            this._horzScrollBar  = new System.Windows.Forms.HScrollBar();
            this._worksheetPanel = new WorksheetPanel();
            this.SuspendLayout();
            //
            // m_VertScrollBar
            //
            this._vertScrollBar.Dock     = System.Windows.Forms.DockStyle.Right;
            this._vertScrollBar.Location = new System.Drawing.Point(276, 0);
            this._vertScrollBar.Name     = "m_VertScrollBar";
            this._vertScrollBar.Size     = new System.Drawing.Size(16, 266);
            this._vertScrollBar.TabIndex = 2;
            this._vertScrollBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.EhVertScrollBar_Scroll);
            //
            // m_HorzScrollBar
            //
            this._horzScrollBar.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this._horzScrollBar.Location = new System.Drawing.Point(0, 250);
            this._horzScrollBar.Name     = "m_HorzScrollBar";
            this._horzScrollBar.Size     = new System.Drawing.Size(276, 16);
            this._horzScrollBar.TabIndex = 3;
            this._horzScrollBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.EhHorzScrollBar_Scroll);
            //
            // m_GridPanel
            //
            this._worksheetPanel.Dock         = System.Windows.Forms.DockStyle.Fill;
            this._worksheetPanel.Location     = new System.Drawing.Point(0, 0);
            this._worksheetPanel.Name         = "m_GridPanel";
            this._worksheetPanel.Size         = new System.Drawing.Size(276, 250);
            this._worksheetPanel.TabIndex     = 4;
            this._worksheetPanel.Click       += new System.EventHandler(this.EhTableArea_Click);
            this._worksheetPanel.SizeChanged += new System.EventHandler(this.EhTableArea_SizeChanged);
            this._worksheetPanel.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseUp);
            this._worksheetPanel.Paint       += new System.Windows.Forms.PaintEventHandler(this.EhTableArea_Paint);
            this._worksheetPanel.DoubleClick += new System.EventHandler(this.EhTableArea_DoubleClick);
            this._worksheetPanel.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseMove);
            this._worksheetPanel.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseDown);
            this._worksheetPanel.MouseWheel  += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseWheel);
            this.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseWheel);
            //this.ParentForm.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseWheel);

            //
            // WorksheetView
            //
            //this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(292, 266);
            this.Controls.Add(this._worksheetPanel);
            this.Controls.Add(this._horzScrollBar);
            this.Controls.Add(this._vertScrollBar);
            this.Name = "WorksheetView";
            this.Text = "WorksheetView";
            this.ResumeLayout(false);
        }
Exemple #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._vertScrollBar = new System.Windows.Forms.VScrollBar();
      this._horzScrollBar = new System.Windows.Forms.HScrollBar();
      this._worksheetPanel = new WorksheetPanel();
      this.SuspendLayout();
      // 
      // m_VertScrollBar
      // 
      this._vertScrollBar.Dock = System.Windows.Forms.DockStyle.Right;
      this._vertScrollBar.Location = new System.Drawing.Point(276, 0);
      this._vertScrollBar.Name = "m_VertScrollBar";
      this._vertScrollBar.Size = new System.Drawing.Size(16, 266);
      this._vertScrollBar.TabIndex = 2;
      this._vertScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this.EhVertScrollBar_Scroll);
      // 
      // m_HorzScrollBar
      // 
      this._horzScrollBar.Dock = System.Windows.Forms.DockStyle.Bottom;
      this._horzScrollBar.Location = new System.Drawing.Point(0, 250);
      this._horzScrollBar.Name = "m_HorzScrollBar";
      this._horzScrollBar.Size = new System.Drawing.Size(276, 16);
      this._horzScrollBar.TabIndex = 3;
      this._horzScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this.EhHorzScrollBar_Scroll);
      // 
      // m_GridPanel
      // 
      this._worksheetPanel.Dock = System.Windows.Forms.DockStyle.Fill;
      this._worksheetPanel.Location = new System.Drawing.Point(0, 0);
      this._worksheetPanel.Name = "m_GridPanel";
      this._worksheetPanel.Size = new System.Drawing.Size(276, 250);
      this._worksheetPanel.TabIndex = 4;
      this._worksheetPanel.Click += new System.EventHandler(this.EhTableArea_Click);
      this._worksheetPanel.SizeChanged += new System.EventHandler(this.EhTableArea_SizeChanged);
      this._worksheetPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseUp);
      this._worksheetPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.EhTableArea_Paint);
      this._worksheetPanel.DoubleClick += new System.EventHandler(this.EhTableArea_DoubleClick);
      this._worksheetPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseMove);
      this._worksheetPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseDown);
      this._worksheetPanel.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseWheel);
      this.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseWheel);
      //this.ParentForm.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseWheel);
      
      // 
      // WorksheetView
      // 
      //this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
      this.ClientSize = new System.Drawing.Size(292, 266);
      this.Controls.Add(this._worksheetPanel);
      this.Controls.Add(this._horzScrollBar);
      this.Controls.Add(this._vertScrollBar);
      this.Name = "WorksheetView";
      this.Text = "WorksheetView";
      this.ResumeLayout(false);

    }