Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.dataGridView1        = new System.Windows.Forms.DataGridView();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.toolStrip1           = new System.Windows.Forms.ToolStrip();
     this.toolStripButtonFirst = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonPrev  = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonNext  = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonLast  = new System.Windows.Forms.ToolStripButton();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Location = new System.Drawing.Point(3, 44);
     this.dataGridView1.Name     = "dataGridView1";
     this.dataGridView1.Size     = new System.Drawing.Size(632, 425);
     this.dataGridView1.TabIndex = 0;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.toolStrip1);
     this.groupBox1.Controls.Add(this.dataGridView1);
     this.groupBox1.Location = new System.Drawing.Point(12, 23);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(638, 472);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "groupBox1";
     //
     // toolStrip1
     //
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButtonFirst,
         this.toolStripButtonPrev,
         this.toolStripButtonNext,
         this.toolStripButtonLast
     });
     this.toolStrip1.Location = new System.Drawing.Point(3, 16);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(632, 25);
     this.toolStrip1.TabIndex = 1;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // toolStripButtonFirst
     //
     this.toolStripButtonFirst.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripButtonFirst.Image                 = resources.GetImage("toolStripButtonFirst.Image");
     this.toolStripButtonFirst.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonFirst.Name   = "toolStripButtonFirst";
     this.toolStripButtonFirst.Size   = new System.Drawing.Size(59, 22);
     this.toolStripButtonFirst.Text   = "First Page";
     this.toolStripButtonFirst.Click += new System.EventHandler(this.toolStripButtonFirst_Click);
     //
     // toolStripButtonPrev
     //
     this.toolStripButtonPrev.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripButtonPrev.Image                 = resources.GetImage("toolStripButtonPrev.Image");
     this.toolStripButtonPrev.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonPrev.Name   = "toolStripButtonPrev";
     this.toolStripButtonPrev.Size   = new System.Drawing.Size(79, 22);
     this.toolStripButtonPrev.Text   = "Previous Page";
     this.toolStripButtonPrev.Click += new System.EventHandler(this.toolStripButtonPrev_Click);
     //
     // toolStripButtonNext
     //
     this.toolStripButtonNext.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripButtonNext.Image                 = resources.GetImage("toolStripButtonNext.Image");
     this.toolStripButtonNext.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonNext.Name   = "toolStripButtonNext";
     this.toolStripButtonNext.Size   = new System.Drawing.Size(61, 22);
     this.toolStripButtonNext.Text   = "Next Page";
     this.toolStripButtonNext.Click += new System.EventHandler(this.toolStripButtonNext_Click);
     //
     // toolStripButtonLast
     //
     this.toolStripButtonLast.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripButtonLast.Image                 = resources.GetImage("toolStripButtonLast.Image");
     this.toolStripButtonLast.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonLast.Name   = "toolStripButtonLast";
     this.toolStripButtonLast.Size   = new System.Drawing.Size(58, 22);
     this.toolStripButtonLast.Text   = "Last Page";
     this.toolStripButtonLast.Click += new System.EventHandler(this.toolStripButtonLast_Click);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(662, 507);
     this.Controls.Add(this.groupBox1);
     this.Name  = "MainForm";
     this.Text  = "MainForm";
     this.Load += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
 }