コード例 #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.m_VertScrollBar = new System.Windows.Forms.VScrollBar();
            this.m_HorzScrollBar = new System.Windows.Forms.HScrollBar();
            this.m_GridPanel     = new Altaxo.Worksheet.GUI.WorksheetPanel();
            this.SuspendLayout();
            //
            // m_VertScrollBar
            //
            this.m_VertScrollBar.Dock     = System.Windows.Forms.DockStyle.Right;
            this.m_VertScrollBar.Location = new System.Drawing.Point(276, 0);
            this.m_VertScrollBar.Name     = "m_VertScrollBar";
            this.m_VertScrollBar.Size     = new System.Drawing.Size(16, 266);
            this.m_VertScrollBar.TabIndex = 2;
            this.m_VertScrollBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.EhVertScrollBar_Scroll);
            //
            // m_HorzScrollBar
            //
            this.m_HorzScrollBar.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.m_HorzScrollBar.Location = new System.Drawing.Point(0, 250);
            this.m_HorzScrollBar.Name     = "m_HorzScrollBar";
            this.m_HorzScrollBar.Size     = new System.Drawing.Size(276, 16);
            this.m_HorzScrollBar.TabIndex = 3;
            this.m_HorzScrollBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.EhHorzScrollBar_Scroll);
            //
            // m_GridPanel
            //
            this.m_GridPanel.Dock         = System.Windows.Forms.DockStyle.Fill;
            this.m_GridPanel.Location     = new System.Drawing.Point(0, 0);
            this.m_GridPanel.Name         = "m_GridPanel";
            this.m_GridPanel.Size         = new System.Drawing.Size(276, 250);
            this.m_GridPanel.TabIndex     = 4;
            this.m_GridPanel.Click       += new System.EventHandler(this.EhTableArea_Click);
            this.m_GridPanel.SizeChanged += new System.EventHandler(this.EhTableArea_SizeChanged);
            this.m_GridPanel.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseUp);
            this.m_GridPanel.Paint       += new System.Windows.Forms.PaintEventHandler(this.EhTableArea_Paint);
            this.m_GridPanel.DoubleClick += new System.EventHandler(this.EhTableArea_DoubleClick);
            this.m_GridPanel.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseMove);
            this.m_GridPanel.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseDown);
            this.m_GridPanel.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.m_GridPanel);
            this.Controls.Add(this.m_HorzScrollBar);
            this.Controls.Add(this.m_VertScrollBar);
            this.Name = "WorksheetView";
            this.Text = "WorksheetView";
            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.m_VertScrollBar = new System.Windows.Forms.VScrollBar();
      this.m_HorzScrollBar = new System.Windows.Forms.HScrollBar();
      this.m_GridPanel = new Altaxo.Worksheet.GUI.WorksheetPanel();
      this.SuspendLayout();
      // 
      // m_VertScrollBar
      // 
      this.m_VertScrollBar.Dock = System.Windows.Forms.DockStyle.Right;
      this.m_VertScrollBar.Location = new System.Drawing.Point(276, 0);
      this.m_VertScrollBar.Name = "m_VertScrollBar";
      this.m_VertScrollBar.Size = new System.Drawing.Size(16, 266);
      this.m_VertScrollBar.TabIndex = 2;
      this.m_VertScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this.EhVertScrollBar_Scroll);
      // 
      // m_HorzScrollBar
      // 
      this.m_HorzScrollBar.Dock = System.Windows.Forms.DockStyle.Bottom;
      this.m_HorzScrollBar.Location = new System.Drawing.Point(0, 250);
      this.m_HorzScrollBar.Name = "m_HorzScrollBar";
      this.m_HorzScrollBar.Size = new System.Drawing.Size(276, 16);
      this.m_HorzScrollBar.TabIndex = 3;
      this.m_HorzScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this.EhHorzScrollBar_Scroll);
      // 
      // m_GridPanel
      // 
      this.m_GridPanel.Dock = System.Windows.Forms.DockStyle.Fill;
      this.m_GridPanel.Location = new System.Drawing.Point(0, 0);
      this.m_GridPanel.Name = "m_GridPanel";
      this.m_GridPanel.Size = new System.Drawing.Size(276, 250);
      this.m_GridPanel.TabIndex = 4;
      this.m_GridPanel.Click += new System.EventHandler(this.EhTableArea_Click);
      this.m_GridPanel.SizeChanged += new System.EventHandler(this.EhTableArea_SizeChanged);
      this.m_GridPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseUp);
      this.m_GridPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.EhTableArea_Paint);
      this.m_GridPanel.DoubleClick += new System.EventHandler(this.EhTableArea_DoubleClick);
      this.m_GridPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseMove);
      this.m_GridPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.EhTableArea_MouseDown);
      this.m_GridPanel.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.m_GridPanel);
      this.Controls.Add(this.m_HorzScrollBar);
      this.Controls.Add(this.m_VertScrollBar);
      this.Name = "WorksheetView";
      this.Text = "WorksheetView";
      this.ResumeLayout(false);

    }