Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.WinForms.Controls.Styles.ButtonVisualStyle buttonVisualStyle2 = new Syncfusion.WinForms.Controls.Styles.ButtonVisualStyle();
     this.sfDataPager1 = new Syncfusion.WinForms.DataPager.SfDataPager();
     this.sfDataGrid   = new Syncfusion.WinForms.DataGrid.SfDataGrid();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.sfDataGrid)).BeginInit();
     this.SuspendLayout();
     //
     // sfDataPager1
     //
     this.sfDataPager1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242)))));
     this.sfDataPager1.Location  = new System.Drawing.Point(350, 30);
     this.sfDataPager1.Name      = "sfDataPager1";
     this.sfDataPager1.Size      = new System.Drawing.Size(327, 50);
     this.sfDataPager1.TabIndex  = 2;
     this.sfDataPager1.Text      = "sfDataPager1";
     //
     // panel1
     //
     this.panel1.Dock     = DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(329, 98);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(200, 100);
     this.panel1.TabIndex = 3;
     //
     // sfDataGrid
     //
     this.sfDataGrid.AccessibleName             = "Table";
     this.sfDataGrid.AllowDraggingColumns       = true;
     this.sfDataGrid.AllowResizingColumns       = true;
     this.sfDataGrid.AllowResizingHiddenColumns = true;
     this.sfDataGrid.Dock = DockStyle.Fill;
     this.sfDataGrid.AutoSizeColumnsMode = AutoSizeColumnsMode.Fill;
     this.sfDataGrid.BackColor           = System.Drawing.SystemColors.Window;
     this.sfDataGrid.Location            = new System.Drawing.Point(0, 0);
     this.sfDataGrid.Name      = "sfDataGrid";
     this.sfDataGrid.RowHeight = (int)DpiAware.LogicalToDeviceUnits(21.0f);
     this.sfDataGrid.Size      = new System.Drawing.Size(1084, 560);
     this.sfDataGrid.TabIndex  = 1;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Window;
     this.ClientSize          = new System.Drawing.Size(1084, 661);
     this.panel1.Controls.Add(this.sfDataPager1);
     this.Controls.Add(this.sfDataGrid);
     this.Controls.Add(this.panel1);
     this.Margin        = new System.Windows.Forms.Padding(5);
     this.MaximumSize   = new System.Drawing.Size(1102, 708);
     this.MinimumSize   = new System.Drawing.Size(1102, 708);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "On-demand Paging";
     ((System.ComponentModel.ISupportInitialize)(this.sfDataGrid)).EndInit();
     this.ResumeLayout(false);
 }
Example #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.WinForms.Controls.Styles.ButtonVisualStyle buttonVisualStyle2 = new Syncfusion.WinForms.Controls.Styles.ButtonVisualStyle();
     this.sfDataPager1 = new Syncfusion.WinForms.DataPager.SfDataPager();
     this.sfDataGrid   = new Syncfusion.WinForms.DataGrid.SfDataGrid();
     ((System.ComponentModel.ISupportInitialize)(this.sfDataGrid)).BeginInit();
     this.SuspendLayout();
     //
     // sfDataPager1
     //
     this.sfDataPager1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.sfDataPager1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242)))));
     this.sfDataPager1.Location  = new System.Drawing.Point(350, 590);
     this.sfDataPager1.Name      = "sfDataPager1";
     this.sfDataPager1.Size      = new System.Drawing.Size(327, 50);
     this.sfDataPager1.TabIndex  = 2;
     this.sfDataPager1.Text      = "sfDataPager1";
     //
     // sfDataGrid
     //
     this.sfDataGrid.AccessibleName             = "Table";
     this.sfDataGrid.AllowDraggingColumns       = true;
     this.sfDataGrid.AllowResizingColumns       = true;
     this.sfDataGrid.AllowResizingHiddenColumns = true;
     this.sfDataGrid.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.sfDataGrid.AutoSizeColumnsMode = AutoSizeColumnsMode.Fill;
     this.sfDataGrid.BackColor           = System.Drawing.SystemColors.Window;
     this.sfDataGrid.Location            = new System.Drawing.Point(0, 0);
     this.sfDataGrid.Name      = "sfDataGrid";
     this.sfDataGrid.RowHeight = 21;
     this.sfDataGrid.RowHeight = 21;
     this.sfDataGrid.Size      = new System.Drawing.Size(1084, 560);
     this.sfDataGrid.TabIndex  = 1;
     //
     // Form1
     //
     this.BackColor  = System.Drawing.SystemColors.Window;
     this.ClientSize = new System.Drawing.Size(1084, 661);
     this.Controls.Add(this.sfDataPager1);
     this.Controls.Add(this.sfDataGrid);
     this.Margin        = new System.Windows.Forms.Padding(5);
     this.MaximumSize   = new System.Drawing.Size(1102, 708);
     this.MinimumSize   = new System.Drawing.Size(1102, 708);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "On-demand Paging";
     ((System.ComponentModel.ISupportInitialize)(this.sfDataGrid)).EndInit();
     this.ResumeLayout(false);
 }