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.grid = new SourceGrid2.GridVirtual();
     this.SuspendLayout();
     //
     // grid
     //
     this.grid.AutoSizeMinHeight            = 10;
     this.grid.AutoSizeMinWidth             = 10;
     this.grid.AutoStretchColumnsToFitWidth = false;
     this.grid.AutoStretchRowsToFitHeight   = false;
     this.grid.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.grid.ContextMenuStyle  = 0;
     this.grid.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.grid.GridToolTipActive = true;
     this.grid.Location          = new System.Drawing.Point(0, 0);
     this.grid.Name              = "grid";
     this.grid.Size              = new System.Drawing.Size(384, 352);
     this.grid.SpecialKeys       = SourceGrid2.GridSpecialKeys.Default;
     this.grid.TabIndex          = 0;
     this.grid.GettingCell      += new SourceGrid2.PositionEventHandler(this.grid_GettingCell);
     //
     // WorkSheet
     //
     this.Controls.Add(this.grid);
     this.Name = "WorkSheet";
     this.Size = new System.Drawing.Size(384, 352);
     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.gridVirtual1 = new SourceGrid2.GridVirtual();
     this.SuspendLayout();
     //
     // gridVirtual1
     //
     this.gridVirtual1.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.gridVirtual1.AutoSizeMinHeight            = 10;
     this.gridVirtual1.AutoSizeMinWidth             = 10;
     this.gridVirtual1.AutoStretchColumnsToFitWidth = false;
     this.gridVirtual1.AutoStretchRowsToFitHeight   = false;
     this.gridVirtual1.GridToolTipActive            = true;
     this.gridVirtual1.Location    = new System.Drawing.Point(4, 4);
     this.gridVirtual1.Name        = "gridVirtual1";
     this.gridVirtual1.Size        = new System.Drawing.Size(284, 260);
     this.gridVirtual1.SpecialKeys = SourceGrid2.GridSpecialKeys.Default;
     this.gridVirtual1.TabIndex    = 0;
     //
     // frmSample15
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.Add(this.gridVirtual1);
     this.Name  = "frmSample15";
     this.Text  = "Simple Virtual Grid";
     this.Load += new System.EventHandler(this.frmSample15_Load);
     this.ResumeLayout(false);
 }
Exemple #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gridVirtual1 = new SourceGrid2.GridVirtual();
     this.btSave       = new System.Windows.Forms.Button();
     this.btLoad       = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // gridVirtual1
     //
     this.gridVirtual1.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.gridVirtual1.AutoSizeMinHeight            = 10;
     this.gridVirtual1.AutoSizeMinWidth             = 10;
     this.gridVirtual1.AutoStretchColumnsToFitWidth = false;
     this.gridVirtual1.AutoStretchRowsToFitHeight   = false;
     this.gridVirtual1.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridVirtual1.GridToolTipActive = true;
     this.gridVirtual1.Location          = new System.Drawing.Point(8, 32);
     this.gridVirtual1.Name         = "gridVirtual1";
     this.gridVirtual1.Size         = new System.Drawing.Size(616, 352);
     this.gridVirtual1.SpecialKeys  = SourceGrid2.GridSpecialKeys.Default;
     this.gridVirtual1.TabIndex     = 0;
     this.gridVirtual1.GettingCell += new SourceGrid2.PositionEventHandler(this.gridVirtual1_GettingCell);
     //
     // btSave
     //
     this.btSave.Location = new System.Drawing.Point(8, 4);
     this.btSave.Name     = "btSave";
     this.btSave.Size     = new System.Drawing.Size(96, 23);
     this.btSave.TabIndex = 1;
     this.btSave.Text     = "Save To File";
     this.btSave.Click   += new System.EventHandler(this.btSave_Click);
     //
     // btLoad
     //
     this.btLoad.Location = new System.Drawing.Point(112, 4);
     this.btLoad.Name     = "btLoad";
     this.btLoad.Size     = new System.Drawing.Size(96, 23);
     this.btLoad.TabIndex = 2;
     this.btLoad.Text     = "Load From File";
     this.btLoad.Click   += new System.EventHandler(this.btLoad_Click);
     //
     // frmSample12
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(632, 390);
     this.Controls.Add(this.btLoad);
     this.Controls.Add(this.btSave);
     this.Controls.Add(this.gridVirtual1);
     this.Name  = "frmSample12";
     this.Text  = "Xml Binding";
     this.Load += new System.EventHandler(this.frmSample12_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.grid = new SourceGrid2.GridVirtual();
     this.SuspendLayout();
     //
     // grid
     //
     this.grid.AutoSizeMinHeight            = 10;
     this.grid.AutoSizeMinWidth             = 10;
     this.grid.AutoStretchColumnsToFitWidth = false;
     this.grid.AutoStretchRowsToFitHeight   = false;
     this.grid.BackColor         = System.Drawing.Color.White;
     this.grid.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.grid.ContextMenuStyle  = SourceGrid2.ContextMenuStyle.None;
     this.grid.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.grid.FocusStyle        = SourceGrid2.FocusStyle.None;
     this.grid.GridToolTipActive = true;
     this.grid.Location          = new System.Drawing.Point(0, 0);
     this.grid.Name              = "grid";
     this.grid.Size              = new System.Drawing.Size(384, 352);
     this.grid.SpecialKeys       = ((SourceGrid2.GridSpecialKeys)(((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V)
                                                                         | SourceGrid2.GridSpecialKeys.Ctrl_X)
                                                                        | SourceGrid2.GridSpecialKeys.Delete)
                                                                       | SourceGrid2.GridSpecialKeys.Arrows)
                                                                      | SourceGrid2.GridSpecialKeys.Tab)
                                                                     | SourceGrid2.GridSpecialKeys.PageDownUp)
                                                                    | SourceGrid2.GridSpecialKeys.Enter)
                                                                   | SourceGrid2.GridSpecialKeys.Escape)));
     this.grid.TabIndex     = 0;
     this.grid.Paint       += new System.Windows.Forms.PaintEventHandler(this.grid_Paint);
     this.grid.GettingCell += new SourceGrid2.PositionEventHandler(this.grid_GettingCell);
     this.grid.SettingCell += new SourceGrid2.PositionEventHandler(this.grid_SettingCell);
     //
     // WorkSheet1
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.grid);
     this.Name = "WorkSheet1";
     this.Size = new System.Drawing.Size(384, 352);
     this.ResumeLayout(false);
 }