Esempio n. 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.teeGrid1 = new Steema.TeeGrid.WinForm.TGrid();
     this.SuspendLayout();
     //
     // teeGrid1
     //
     this.teeGrid1.BackColor   = System.Drawing.Color.White;
     this.teeGrid1.Data        = null;
     this.teeGrid1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.teeGrid1.Location    = new System.Drawing.Point(0, 0);
     this.teeGrid1.Name        = "teeGrid1";
     this.teeGrid1.Painter     = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.teeGrid1.Scrolling   = gridScrolling1;
     this.teeGrid1.Size        = new System.Drawing.Size(670, 517);
     this.teeGrid1.TabIndex    = 0;
     this.teeGrid1.Text        = "teeGrid1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(670, 517);
     this.Controls.Add(this.teeGrid1);
     this.Name = "Form1";
     this.Text = "TeeGrid - Custom Sorting by Code";
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.fddemoDataSet         = new TeeGrid_WinForm_Master_Detail.fddemoDataSet();
     this.ordersTableAdapter    = new TeeGrid_WinForm_Master_Detail.fddemoDataSetTableAdapters.OrdersTableAdapter();
     this.customersTableAdapter = new TeeGrid_WinForm_Master_Detail.fddemoDataSetTableAdapters.CustomersTableAdapter();
     this.teeGrid1 = new Steema.TeeGrid.WinForm.TGrid();
     ((System.ComponentModel.ISupportInitialize)(this.fddemoDataSet)).BeginInit();
     this.SuspendLayout();
     //
     // fddemoDataSet
     //
     this.fddemoDataSet.DataSetName             = "fddemoDataSet";
     this.fddemoDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // ordersTableAdapter
     //
     this.ordersTableAdapter.ClearBeforeFill = true;
     //
     // customersTableAdapter
     //
     this.customersTableAdapter.ClearBeforeFill = true;
     //
     // teeGrid1
     //
     this.teeGrid1.Data        = null;
     this.teeGrid1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.teeGrid1.Location    = new System.Drawing.Point(0, 0);
     this.teeGrid1.Name        = "teeGrid1";
     this.teeGrid1.Painter     = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.teeGrid1.Scrolling   = gridScrolling1;
     this.teeGrid1.Size        = new System.Drawing.Size(845, 502);
     this.teeGrid1.TabIndex    = 0;
     this.teeGrid1.Text        = "tGrid1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(845, 502);
     this.Controls.Add(this.teeGrid1);
     this.Name = "Form1";
     this.Text = "TeeGrid using Two Tables Joined";
     ((System.ComponentModel.ISupportInitialize)(this.fddemoDataSet)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter2 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling2  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.bExport         = new System.Windows.Forms.Button();
     this.bEdit           = new System.Windows.Forms.Button();
     this.label1          = new System.Windows.Forms.Label();
     this.lbThemes        = new System.Windows.Forms.ListBox();
     this.tTeeGrid1       = new Steema.TeeGrid.WinForm.TGrid();
     this.gbFormat        = new System.Windows.Forms.GroupBox();
     this.rbNative        = new System.Windows.Forms.RadioButton();
     this.rbJsGrid        = new System.Windows.Forms.RadioButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.gbFormat.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.gbFormat);
     this.splitContainer1.Panel1.Controls.Add(this.bExport);
     this.splitContainer1.Panel1.Controls.Add(this.bEdit);
     this.splitContainer1.Panel1.Controls.Add(this.label1);
     this.splitContainer1.Panel1.Controls.Add(this.lbThemes);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.tTeeGrid1);
     this.splitContainer1.Size             = new System.Drawing.Size(968, 649);
     this.splitContainer1.SplitterDistance = 174;
     this.splitContainer1.TabIndex         = 0;
     //
     // bExport
     //
     this.bExport.Location = new System.Drawing.Point(12, 251);
     this.bExport.Name     = "bExport";
     this.bExport.Size     = new System.Drawing.Size(75, 47);
     this.bExport.TabIndex = 3;
     this.bExport.Text     = "Export to browser";
     this.bExport.UseVisualStyleBackColor = true;
     this.bExport.Click += new System.EventHandler(this.button1_Click);
     //
     // bEdit
     //
     this.bEdit.Location = new System.Drawing.Point(12, 206);
     this.bEdit.Name     = "bEdit";
     this.bEdit.Size     = new System.Drawing.Size(75, 23);
     this.bEdit.TabIndex = 2;
     this.bEdit.Text     = "&Editor";
     this.bEdit.UseVisualStyleBackColor = true;
     this.bEdit.Click += new System.EventHandler(this.bEdit_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 58);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(89, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "TeeGrid Themes:";
     //
     // lbThemes
     //
     this.lbThemes.FormattingEnabled = true;
     this.lbThemes.Items.AddRange(new object[] {
         "Default",
         "iOS",
         "Android",
         "Black",
         "BlueFlat",
         "SilverFlat",
         "DarkFlat",
         "Flat"
     });
     this.lbThemes.Location              = new System.Drawing.Point(12, 77);
     this.lbThemes.Name                  = "lbThemes";
     this.lbThemes.Size                  = new System.Drawing.Size(115, 82);
     this.lbThemes.TabIndex              = 0;
     this.lbThemes.SelectedIndexChanged += new System.EventHandler(this.LbThemes_SelectedIndexChanged);
     //
     // tTeeGrid1
     //
     this.tTeeGrid1.Data            = null;
     this.tTeeGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.tTeeGrid1.Location        = new System.Drawing.Point(0, 0);
     this.tTeeGrid1.Name            = "tTeeGrid1";
     this.tTeeGrid1.Painter         = gdiPlusPainter2;
     gridScrolling2.Horizontal      = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling2.Mode            = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling2.Vertical        = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.tTeeGrid1.Scrolling       = gridScrolling2;
     this.tTeeGrid1.Size            = new System.Drawing.Size(790, 649);
     this.tTeeGrid1.SortableColumns = true;
     this.tTeeGrid1.TabIndex        = 0;
     this.tTeeGrid1.Text            = "tTeeGrid1";
     //
     // gbFormat
     //
     this.gbFormat.Controls.Add(this.rbJsGrid);
     this.gbFormat.Controls.Add(this.rbNative);
     this.gbFormat.Location = new System.Drawing.Point(12, 313);
     this.gbFormat.Name     = "gbFormat";
     this.gbFormat.Size     = new System.Drawing.Size(128, 79);
     this.gbFormat.TabIndex = 5;
     this.gbFormat.TabStop  = false;
     this.gbFormat.Text     = "HTML Export Format";
     //
     // rbNative
     //
     this.rbNative.AutoSize = true;
     this.rbNative.Checked  = true;
     this.rbNative.Location = new System.Drawing.Point(17, 29);
     this.rbNative.Name     = "rbNative";
     this.rbNative.Size     = new System.Drawing.Size(54, 17);
     this.rbNative.TabIndex = 0;
     this.rbNative.TabStop  = true;
     this.rbNative.Text     = "&native";
     this.rbNative.UseVisualStyleBackColor = true;
     //
     // rbJsGrid
     //
     this.rbJsGrid.AutoSize = true;
     this.rbJsGrid.Location = new System.Drawing.Point(17, 52);
     this.rbJsGrid.Name     = "rbJsGrid";
     this.rbJsGrid.Size     = new System.Drawing.Size(51, 17);
     this.rbJsGrid.TabIndex = 1;
     this.rbJsGrid.Text     = "&jsGrid";
     this.rbJsGrid.UseVisualStyleBackColor = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(968, 649);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "TeeGrid Themes example";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.gbFormat.ResumeLayout(false);
     this.gbFormat.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter  gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling          gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.bindingNavigator1                = new System.Windows.Forms.BindingNavigator(this.components);
     this.bindingNavigatorAddNewItem       = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorCountItem        = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem       = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem    = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator        = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem     = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1       = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem     = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem     = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2       = new System.Windows.Forms.ToolStripSeparator();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.tTeeGrid1       = new Steema.TeeGrid.WinForm.TGrid();
     this.button3         = new System.Windows.Forms.Button();
     this.button2         = new System.Windows.Forms.Button();
     this.button1         = new System.Windows.Forms.Button();
     this.label1          = new System.Windows.Forms.Label();
     this.ComboSource     = new System.Windows.Forms.ComboBox();
     this.checkBox1       = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem;
     this.bindingNavigator1.BackColor  = System.Drawing.Color.White;
     this.bindingNavigator1.CountItem  = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.bindingNavigatorMoveFirstItem,
         this.bindingNavigatorMovePreviousItem,
         this.bindingNavigatorSeparator,
         this.bindingNavigatorPositionItem,
         this.bindingNavigatorCountItem,
         this.bindingNavigatorSeparator1,
         this.bindingNavigatorMoveNextItem,
         this.bindingNavigatorMoveLastItem,
         this.bindingNavigatorSeparator2,
         this.bindingNavigatorAddNewItem,
         this.bindingNavigatorDeleteItem
     });
     this.bindingNavigator1.LayoutStyle      = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.bindingNavigator1.Location         = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem    = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem     = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem     = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name             = "bindingNavigator1";
     this.bindingNavigator1.PositionItem     = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.Size             = new System.Drawing.Size(683, 25);
     this.bindingNavigator1.TabIndex         = 0;
     this.bindingNavigator1.Text             = "bindingNavigator1";
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name         = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name        = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size        = new System.Drawing.Size(35, 22);
     this.bindingNavigatorCountItem.Text        = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name         = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name         = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name         = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize       = false;
     this.bindingNavigatorPositionItem.Name           = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size           = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text           = "0";
     this.bindingNavigatorPositionItem.ToolTipText    = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name         = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name         = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location    = new System.Drawing.Point(0, 25);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.tTeeGrid1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel2.Controls.Add(this.button3);
     this.splitContainer1.Panel2.Controls.Add(this.button2);
     this.splitContainer1.Panel2.Controls.Add(this.button1);
     this.splitContainer1.Panel2.Controls.Add(this.label1);
     this.splitContainer1.Panel2.Controls.Add(this.ComboSource);
     this.splitContainer1.Panel2.Controls.Add(this.checkBox1);
     this.splitContainer1.Panel2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.splitContainer1.Size             = new System.Drawing.Size(683, 554);
     this.splitContainer1.SplitterDistance = 466;
     this.splitContainer1.TabIndex         = 1;
     //
     // tTeeGrid1
     //
     this.tTeeGrid1.BackColor  = System.Drawing.Color.White;
     this.tTeeGrid1.Data       = null;
     this.tTeeGrid1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tTeeGrid1.Location   = new System.Drawing.Point(0, 0);
     this.tTeeGrid1.Name       = "tTeeGrid1";
     this.tTeeGrid1.Painter    = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.tTeeGrid1.Scrolling  = gridScrolling1;
     this.tTeeGrid1.Size       = new System.Drawing.Size(683, 466);
     this.tTeeGrid1.TabIndex   = 0;
     this.tTeeGrid1.Text       = "tTeeGrid1";
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.Transparent;
     this.button3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.button3.Location  = new System.Drawing.Point(554, 19);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(100, 23);
     this.button3.TabIndex  = 5;
     this.button3.Text      = "Export to Web ...";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.Color.Transparent;
     this.button2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.button2.Location  = new System.Drawing.Point(484, 19);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(64, 23);
     this.button2.TabIndex  = 4;
     this.button2.Text      = "Edit...";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.Transparent;
     this.button1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.button1.Location  = new System.Drawing.Point(414, 19);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(64, 23);
     this.button1.TabIndex  = 3;
     this.button1.Text      = "Copy";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(140, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(33, 13);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Data:";
     //
     // ComboSource
     //
     this.ComboSource.FormattingEnabled = true;
     this.ComboSource.Items.AddRange(new object[] {
         "(none)",
         "Customers ClientDataSet",
         "Fruit ClientDataSet",
         "Big Dataset"
     });
     this.ComboSource.Location              = new System.Drawing.Point(179, 21);
     this.ComboSource.Name                  = "ComboSource";
     this.ComboSource.Size                  = new System.Drawing.Size(175, 21);
     this.ComboSource.TabIndex              = 1;
     this.ComboSource.Text                  = "Customers ClientDataSet";
     this.ComboSource.SelectedIndexChanged += new System.EventHandler(this.ComboSource_SelectedIndexChanged);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize   = true;
     this.checkBox1.Checked    = true;
     this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location   = new System.Drawing.Point(13, 23);
     this.checkBox1.Name       = "checkBox1";
     this.checkBox1.Size       = new System.Drawing.Size(56, 17);
     this.checkBox1.TabIndex   = 0;
     this.checkBox1.Text       = "Active";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(683, 579);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.bindingNavigator1);
     this.Name = "Form1";
     this.Text = "TeeGrid - TDataSet";
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.bObject         = new System.Windows.Forms.Button();
     this.bString         = new System.Windows.Forms.Button();
     this.bFloat          = new System.Windows.Forms.Button();
     this.bInteger        = new System.Windows.Forms.Button();
     this.bRecord         = new System.Windows.Forms.Button();
     this.button1         = new System.Windows.Forms.Button();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.teeGrid1        = new Steema.TeeGrid.WinForm.TGrid();
     this.button3         = new System.Windows.Forms.Button();
     this.button2         = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.bObject);
     this.splitContainer1.Panel1.Controls.Add(this.bString);
     this.splitContainer1.Panel1.Controls.Add(this.bFloat);
     this.splitContainer1.Panel1.Controls.Add(this.bInteger);
     this.splitContainer1.Panel1.Controls.Add(this.bRecord);
     this.splitContainer1.Panel1.Controls.Add(this.button1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.Size             = new System.Drawing.Size(805, 541);
     this.splitContainer1.SplitterDistance = 59;
     this.splitContainer1.TabIndex         = 0;
     //
     // bObject
     //
     this.bObject.BackColor = System.Drawing.Color.Transparent;
     this.bObject.Location  = new System.Drawing.Point(506, 12);
     this.bObject.Name      = "bObject";
     this.bObject.Size      = new System.Drawing.Size(75, 23);
     this.bObject.TabIndex  = 5;
     this.bObject.Text      = "Object";
     this.bObject.UseVisualStyleBackColor = false;
     this.bObject.Click += new System.EventHandler(this.bObject_Click);
     //
     // bString
     //
     this.bString.BackColor = System.Drawing.Color.Transparent;
     this.bString.Location  = new System.Drawing.Point(425, 12);
     this.bString.Name      = "bString";
     this.bString.Size      = new System.Drawing.Size(75, 23);
     this.bString.TabIndex  = 4;
     this.bString.Text      = "String ID";
     this.bString.UseVisualStyleBackColor = false;
     this.bString.Click += new System.EventHandler(this.bString_Click);
     //
     // bFloat
     //
     this.bFloat.BackColor = System.Drawing.Color.Transparent;
     this.bFloat.Location  = new System.Drawing.Point(344, 12);
     this.bFloat.Name      = "bFloat";
     this.bFloat.Size      = new System.Drawing.Size(75, 23);
     this.bFloat.TabIndex  = 3;
     this.bFloat.Text      = "Float ID";
     this.bFloat.UseVisualStyleBackColor = false;
     this.bFloat.Click += new System.EventHandler(this.bFloat_Click);
     //
     // bInteger
     //
     this.bInteger.BackColor = System.Drawing.Color.Transparent;
     this.bInteger.Location  = new System.Drawing.Point(263, 12);
     this.bInteger.Name      = "bInteger";
     this.bInteger.Size      = new System.Drawing.Size(75, 23);
     this.bInteger.TabIndex  = 2;
     this.bInteger.Text      = "Integer ID";
     this.bInteger.UseVisualStyleBackColor = false;
     this.bInteger.Click += new System.EventHandler(this.bInteger_Click);
     //
     // bRecord
     //
     this.bRecord.BackColor = System.Drawing.Color.Transparent;
     this.bRecord.Location  = new System.Drawing.Point(182, 12);
     this.bRecord.Name      = "bRecord";
     this.bRecord.Size      = new System.Drawing.Size(75, 23);
     this.bRecord.TabIndex  = 1;
     this.bRecord.Text      = "Record";
     this.bRecord.UseVisualStyleBackColor = false;
     this.bRecord.Click += new System.EventHandler(this.BRecord_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.Transparent;
     this.button1.Location  = new System.Drawing.Point(12, 12);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 23);
     this.button1.TabIndex  = 0;
     this.button1.Text      = "Edit...";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // splitContainer2
     //
     this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name        = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.teeGrid1);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.BackColor = System.Drawing.Color.White;
     this.splitContainer2.Panel2.Controls.Add(this.button3);
     this.splitContainer2.Panel2.Controls.Add(this.button2);
     this.splitContainer2.Size             = new System.Drawing.Size(805, 478);
     this.splitContainer2.SplitterDistance = 412;
     this.splitContainer2.TabIndex         = 0;
     //
     // teeGrid1
     //
     this.teeGrid1.BackColor   = System.Drawing.Color.White;
     this.teeGrid1.Data        = null;
     this.teeGrid1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.teeGrid1.Location    = new System.Drawing.Point(0, 0);
     this.teeGrid1.Name        = "teeGrid1";
     this.teeGrid1.Painter     = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.teeGrid1.Scrolling   = gridScrolling1;
     this.teeGrid1.Size        = new System.Drawing.Size(805, 412);
     this.teeGrid1.TabIndex    = 0;
     this.teeGrid1.Text        = "teeGrid1";
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.Transparent;
     this.button3.Location  = new System.Drawing.Point(117, 27);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(75, 23);
     this.button3.TabIndex  = 1;
     this.button3.Text      = "Footer...";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.Color.Transparent;
     this.button2.Location  = new System.Drawing.Point(12, 27);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(75, 23);
     this.button2.TabIndex  = 0;
     this.button2.Text      = "Header...";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(805, 541);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "TeeGrid using Array as Data";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter  gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling          gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.splitContainer1                  = new System.Windows.Forms.SplitContainer();
     this.cbEnable                         = new System.Windows.Forms.CheckBox();
     this.teeGrid1                         = new Steema.TeeGrid.WinForm.TGrid();
     this.bindingNavigator1                = new System.Windows.Forms.BindingNavigator(this.components);
     this.bindingNavigatorAddNewItem       = new System.Windows.Forms.ToolStripButton();
     this.bindingCustomers                 = new System.Windows.Forms.BindingSource(this.components);
     this.fddemoDataSet                    = new TeeGrid_WinForm_Master_Detail.fddemoDataSet();
     this.bindingNavigatorCountItem        = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem       = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem    = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator        = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem     = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1       = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem     = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem     = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2       = new System.Windows.Forms.ToolStripSeparator();
     this.bindingOrders                    = new System.Windows.Forms.BindingSource(this.components);
     this.ordersTableAdapter               = new TeeGrid_WinForm_Master_Detail.fddemoDataSetTableAdapters.OrdersTableAdapter();
     this.customersTableAdapter            = new TeeGrid_WinForm_Master_Detail.fddemoDataSetTableAdapters.CustomersTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bindingCustomers)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fddemoDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingOrders)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.cbEnable);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.teeGrid1);
     this.splitContainer1.Panel2.Controls.Add(this.bindingNavigator1);
     this.splitContainer1.Size             = new System.Drawing.Size(845, 502);
     this.splitContainer1.SplitterDistance = 38;
     this.splitContainer1.TabIndex         = 0;
     //
     // cbEnable
     //
     this.cbEnable.AutoSize   = true;
     this.cbEnable.Checked    = true;
     this.cbEnable.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbEnable.Location   = new System.Drawing.Point(13, 13);
     this.cbEnable.Name       = "cbEnable";
     this.cbEnable.Size       = new System.Drawing.Size(124, 17);
     this.cbEnable.TabIndex   = 0;
     this.cbEnable.Text       = "Enable Master-Detail";
     this.cbEnable.UseVisualStyleBackColor = true;
     this.cbEnable.CheckedChanged         += new System.EventHandler(this.CbEnable_CheckedChanged);
     //
     // teeGrid1
     //
     this.teeGrid1.BackColor   = System.Drawing.Color.White;
     this.teeGrid1.Data        = null;
     this.teeGrid1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.teeGrid1.Location    = new System.Drawing.Point(0, 25);
     this.teeGrid1.Name        = "teeGrid1";
     this.teeGrid1.Painter     = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.teeGrid1.Scrolling   = gridScrolling1;
     this.teeGrid1.Size        = new System.Drawing.Size(845, 435);
     this.teeGrid1.TabIndex    = 1;
     this.teeGrid1.Text        = "teeGrid1";
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem    = this.bindingNavigatorAddNewItem;
     this.bindingNavigator1.BackColor     = System.Drawing.Color.White;
     this.bindingNavigator1.BindingSource = this.bindingCustomers;
     this.bindingNavigator1.CountItem     = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem    = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.bindingNavigatorMoveFirstItem,
         this.bindingNavigatorMovePreviousItem,
         this.bindingNavigatorSeparator,
         this.bindingNavigatorPositionItem,
         this.bindingNavigatorCountItem,
         this.bindingNavigatorSeparator1,
         this.bindingNavigatorMoveNextItem,
         this.bindingNavigatorMoveLastItem,
         this.bindingNavigatorSeparator2,
         this.bindingNavigatorAddNewItem,
         this.bindingNavigatorDeleteItem
     });
     this.bindingNavigator1.Location         = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem    = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem     = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem     = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name             = "bindingNavigator1";
     this.bindingNavigator1.PositionItem     = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.Size             = new System.Drawing.Size(845, 25);
     this.bindingNavigator1.TabIndex         = 0;
     this.bindingNavigator1.Text             = "bindingNavigator1";
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name         = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     //
     // bindingCustomers
     //
     this.bindingCustomers.DataMember = "Customers";
     this.bindingCustomers.DataSource = this.fddemoDataSet;
     //
     // fddemoDataSet
     //
     this.fddemoDataSet.DataSetName             = "fddemoDataSet";
     this.fddemoDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name        = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size        = new System.Drawing.Size(35, 22);
     this.bindingNavigatorCountItem.Text        = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name         = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name         = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name         = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize       = false;
     this.bindingNavigatorPositionItem.Name           = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size           = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text           = "0";
     this.bindingNavigatorPositionItem.ToolTipText    = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name         = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image        = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name         = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // bindingOrders
     //
     this.bindingOrders.DataMember = "Orders";
     this.bindingOrders.DataSource = this.fddemoDataSet;
     //
     // ordersTableAdapter
     //
     this.ordersTableAdapter.ClearBeforeFill = true;
     //
     // customersTableAdapter
     //
     this.customersTableAdapter.ClearBeforeFill = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(845, 502);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "Form1";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bindingCustomers)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fddemoDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingOrders)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.label1          = new System.Windows.Forms.Label();
     this.cbCustomEditors = new System.Windows.Forms.CheckBox();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.tTeeGrid1       = new Steema.TeeGrid.WinForm.TGrid();
     this.label6          = new System.Windows.Forms.Label();
     this.cbEnterKey      = new System.Windows.Forms.ComboBox();
     this.label5          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.cbSelectedText  = new System.Windows.Forms.CheckBox();
     this.cbAlwaysVisible = new System.Windows.Forms.CheckBox();
     this.cbAutoEdit      = new System.Windows.Forms.CheckBox();
     this.label2          = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.label1);
     this.splitContainer1.Panel1.Controls.Add(this.cbCustomEditors);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.Size             = new System.Drawing.Size(834, 429);
     this.splitContainer1.SplitterDistance = 33;
     this.splitContainer1.TabIndex         = 0;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(270, 14);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(190, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Double-Click a cell or press F2 to edit it";
     //
     // cbCustomEditors
     //
     this.cbCustomEditors.AutoSize   = true;
     this.cbCustomEditors.Checked    = true;
     this.cbCustomEditors.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbCustomEditors.Location   = new System.Drawing.Point(33, 13);
     this.cbCustomEditors.Name       = "cbCustomEditors";
     this.cbCustomEditors.Size       = new System.Drawing.Size(182, 17);
     this.cbCustomEditors.TabIndex   = 0;
     this.cbCustomEditors.Text       = "Use different controls to edit cells";
     this.cbCustomEditors.UseVisualStyleBackColor = true;
     this.cbCustomEditors.CheckedChanged         += new System.EventHandler(this.CbCustomEditors_CheckedChanged);
     //
     // splitContainer2
     //
     this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name        = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.tTeeGrid1);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.BackColor = System.Drawing.Color.White;
     this.splitContainer2.Panel2.Controls.Add(this.label6);
     this.splitContainer2.Panel2.Controls.Add(this.cbEnterKey);
     this.splitContainer2.Panel2.Controls.Add(this.label5);
     this.splitContainer2.Panel2.Controls.Add(this.label4);
     this.splitContainer2.Panel2.Controls.Add(this.label3);
     this.splitContainer2.Panel2.Controls.Add(this.cbSelectedText);
     this.splitContainer2.Panel2.Controls.Add(this.cbAlwaysVisible);
     this.splitContainer2.Panel2.Controls.Add(this.cbAutoEdit);
     this.splitContainer2.Panel2.Controls.Add(this.label2);
     this.splitContainer2.Size             = new System.Drawing.Size(834, 392);
     this.splitContainer2.SplitterDistance = 237;
     this.splitContainer2.TabIndex         = 0;
     //
     // tTeeGrid1
     //
     this.tTeeGrid1.BackColor  = System.Drawing.Color.White;
     this.tTeeGrid1.Data       = null;
     this.tTeeGrid1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tTeeGrid1.Location   = new System.Drawing.Point(0, 0);
     this.tTeeGrid1.Name       = "tTeeGrid1";
     this.tTeeGrid1.Painter    = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.tTeeGrid1.Scrolling  = gridScrolling1;
     this.tTeeGrid1.Size       = new System.Drawing.Size(834, 237);
     this.tTeeGrid1.TabIndex   = 0;
     this.tTeeGrid1.Text       = "tTeeGrid1";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(77, 125);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(55, 13);
     this.label6.TabIndex = 8;
     this.label6.Text     = "Enter key:";
     //
     // cbEnterKey
     //
     this.cbEnterKey.FormattingEnabled = true;
     this.cbEnterKey.Items.AddRange(new object[] {
         "Move to next cell (at right)",
         "Move to cell below",
         "Keep on same cell"
     });
     this.cbEnterKey.Location              = new System.Drawing.Point(138, 122);
     this.cbEnterKey.Name                  = "cbEnterKey";
     this.cbEnterKey.Size                  = new System.Drawing.Size(192, 21);
     this.cbEnterKey.TabIndex              = 7;
     this.cbEnterKey.Text                  = "Move to next cell (at right)";
     this.cbEnterKey.SelectedIndexChanged += new System.EventHandler(this.CbEnterKey_SelectedIndexChanged);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(135, 100);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(303, 13);
     this.label5.TabIndex = 6;
     this.label5.Text     = "True = Cell editor using TEdit will select all text when showing it";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(135, 77);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(383, 13);
     this.label4.TabIndex = 5;
     this.label4.Text     = "True = Cell editing is always active when changing from one cell to another cells" +
                            "";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(135, 54);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(375, 13);
     this.label3.TabIndex = 4;
     this.label3.Text     = "True = Type any key to start cell editing.   False = Double-click cell or press F" +
                            "2";
     //
     // cbSelectedText
     //
     this.cbSelectedText.AutoSize = true;
     this.cbSelectedText.Location = new System.Drawing.Point(16, 99);
     this.cbSelectedText.Name     = "cbSelectedText";
     this.cbSelectedText.Size     = new System.Drawing.Size(92, 17);
     this.cbSelectedText.TabIndex = 3;
     this.cbSelectedText.Text     = "Selected Text";
     this.cbSelectedText.UseVisualStyleBackColor = true;
     this.cbSelectedText.CheckedChanged         += new System.EventHandler(this.CbSelectedText_CheckedChanged);
     //
     // cbAlwaysVisible
     //
     this.cbAlwaysVisible.AutoSize = true;
     this.cbAlwaysVisible.Location = new System.Drawing.Point(16, 76);
     this.cbAlwaysVisible.Name     = "cbAlwaysVisible";
     this.cbAlwaysVisible.Size     = new System.Drawing.Size(92, 17);
     this.cbAlwaysVisible.TabIndex = 2;
     this.cbAlwaysVisible.Text     = "Always Visible";
     this.cbAlwaysVisible.UseVisualStyleBackColor = true;
     this.cbAlwaysVisible.CheckedChanged         += new System.EventHandler(this.CbAlwaysVisible_CheckedChanged);
     //
     // cbAutoEdit
     //
     this.cbAutoEdit.AutoSize = true;
     this.cbAutoEdit.Location = new System.Drawing.Point(16, 53);
     this.cbAutoEdit.Name     = "cbAutoEdit";
     this.cbAutoEdit.Size     = new System.Drawing.Size(69, 17);
     this.cbAutoEdit.TabIndex = 1;
     this.cbAutoEdit.Text     = "Auto Edit";
     this.cbAutoEdit.UseVisualStyleBackColor = true;
     this.cbAutoEdit.CheckedChanged         += new System.EventHandler(this.CbAutoEdit_CheckedChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(13, 25);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(79, 13);
     this.label2.TabIndex = 0;
     this.label2.Text     = "Editing options:";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(834, 429);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "TeeGrid - Cell Editors Example";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.rbRight         = new System.Windows.Forms.RadioButton();
     this.rbLeft          = new System.Windows.Forms.RadioButton();
     this.rbNone          = new System.Windows.Forms.RadioButton();
     this.label1          = new System.Windows.Forms.Label();
     this.lbColumns       = new System.Windows.Forms.ListBox();
     this.tTeeGrid1       = new Steema.TeeGrid.WinForm.TGrid();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
     this.splitContainer1.Panel1.Controls.Add(this.label1);
     this.splitContainer1.Panel1.Controls.Add(this.lbColumns);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.tTeeGrid1);
     this.splitContainer1.Size             = new System.Drawing.Size(822, 569);
     this.splitContainer1.SplitterDistance = 142;
     this.splitContainer1.TabIndex         = 0;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rbRight);
     this.groupBox1.Controls.Add(this.rbLeft);
     this.groupBox1.Controls.Add(this.rbNone);
     this.groupBox1.Enabled  = false;
     this.groupBox1.Location = new System.Drawing.Point(12, 334);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(120, 114);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Locked";
     //
     // rbRight
     //
     this.rbRight.AutoSize = true;
     this.rbRight.Location = new System.Drawing.Point(7, 77);
     this.rbRight.Name     = "rbRight";
     this.rbRight.Size     = new System.Drawing.Size(50, 17);
     this.rbRight.TabIndex = 2;
     this.rbRight.TabStop  = true;
     this.rbRight.Text     = "Right";
     this.rbRight.UseVisualStyleBackColor = true;
     this.rbRight.CheckedChanged         += new System.EventHandler(this.rb_CheckedChanged);
     //
     // rbLeft
     //
     this.rbLeft.AutoSize = true;
     this.rbLeft.Location = new System.Drawing.Point(7, 54);
     this.rbLeft.Name     = "rbLeft";
     this.rbLeft.Size     = new System.Drawing.Size(43, 17);
     this.rbLeft.TabIndex = 1;
     this.rbLeft.TabStop  = true;
     this.rbLeft.Text     = "Left";
     this.rbLeft.UseVisualStyleBackColor = true;
     this.rbLeft.CheckedChanged         += new System.EventHandler(this.rb_CheckedChanged);
     //
     // rbNone
     //
     this.rbNone.AutoSize = true;
     this.rbNone.Location = new System.Drawing.Point(7, 31);
     this.rbNone.Name     = "rbNone";
     this.rbNone.Size     = new System.Drawing.Size(51, 17);
     this.rbNone.TabIndex = 0;
     this.rbNone.TabStop  = true;
     this.rbNone.Text     = "None";
     this.rbNone.UseVisualStyleBackColor = true;
     this.rbNone.CheckedChanged         += new System.EventHandler(this.rb_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 26);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(50, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Columns:";
     //
     // lbColumns
     //
     this.lbColumns.FormattingEnabled = true;
     this.lbColumns.Location          = new System.Drawing.Point(12, 45);
     this.lbColumns.Name                  = "lbColumns";
     this.lbColumns.Size                  = new System.Drawing.Size(120, 264);
     this.lbColumns.TabIndex              = 0;
     this.lbColumns.SelectedIndexChanged += new System.EventHandler(this.lbColumns_SelectedIndexChanged);
     //
     // tTeeGrid1
     //
     this.tTeeGrid1.BackColor  = System.Drawing.Color.White;
     this.tTeeGrid1.Data       = null;
     this.tTeeGrid1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tTeeGrid1.Location   = new System.Drawing.Point(0, 0);
     this.tTeeGrid1.Name       = "tTeeGrid1";
     this.tTeeGrid1.Painter    = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.tTeeGrid1.Scrolling  = gridScrolling1;
     this.tTeeGrid1.Size       = new System.Drawing.Size(676, 569);
     this.tTeeGrid1.TabIndex   = 0;
     this.tTeeGrid1.Text       = "tTeeGrid1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(822, 569);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "TeeGrid - Locked Columns Example";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 9
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
			Steema.TeeGrid.RowGroup.GridScrolling gridScrolling1 = new Steema.TeeGrid.RowGroup.GridScrolling();
			this.splitContainer1 = new System.Windows.Forms.SplitContainer();
			this.LSpeed = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.tBSpeed = new System.Windows.Forms.TrackBar();
			this.splitContainer2 = new System.Windows.Forms.SplitContainer();
			this.timer1 = new System.Windows.Forms.Timer(this.components);
			this.tTeeGrid1 = new Steema.TeeGrid.WinForm.TGrid();
			((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
			this.splitContainer1.Panel1.SuspendLayout();
			this.splitContainer1.Panel2.SuspendLayout();
			this.splitContainer1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.tBSpeed)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
			this.splitContainer2.Panel1.SuspendLayout();
			this.splitContainer2.SuspendLayout();
			this.SuspendLayout();
			// 
			// splitContainer1
			// 
			this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.splitContainer1.Location = new System.Drawing.Point(0, 0);
			this.splitContainer1.Name = "splitContainer1";
			this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
			// 
			// splitContainer1.Panel1
			// 
			this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
			this.splitContainer1.Panel1.Controls.Add(this.LSpeed);
			this.splitContainer1.Panel1.Controls.Add(this.label1);
			this.splitContainer1.Panel1.Controls.Add(this.tBSpeed);
			// 
			// splitContainer1.Panel2
			// 
			this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
			this.splitContainer1.Size = new System.Drawing.Size(402, 484);
			this.splitContainer1.SplitterDistance = 58;
			this.splitContainer1.TabIndex = 0;
			// 
			// LSpeed
			// 
			this.LSpeed.AutoSize = true;
			this.LSpeed.Location = new System.Drawing.Point(322, 19);
			this.LSpeed.Name = "LSpeed";
			this.LSpeed.Size = new System.Drawing.Size(44, 13);
			this.LSpeed.TabIndex = 2;
			this.LSpeed.Text = "LSpeed";
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(7, 20);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(79, 13);
			this.label1.TabIndex = 1;
			this.label1.Text = "Refresh speed:";
			// 
			// tBSpeed
			// 
			this.tBSpeed.LargeChange = 50;
			this.tBSpeed.Location = new System.Drawing.Point(92, 7);
			this.tBSpeed.Maximum = 2000;
			this.tBSpeed.Minimum = 1;
			this.tBSpeed.Name = "tBSpeed";
			this.tBSpeed.Size = new System.Drawing.Size(190, 45);
			this.tBSpeed.SmallChange = 10;
			this.tBSpeed.TabIndex = 0;
			this.tBSpeed.Value = 150;
			this.tBSpeed.Scroll += new System.EventHandler(this.TBSpeed_Scroll);
			// 
			// splitContainer2
			// 
			this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
			this.splitContainer2.Location = new System.Drawing.Point(0, 0);
			this.splitContainer2.Name = "splitContainer2";
			this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
			// 
			// splitContainer2.Panel1
			// 
			this.splitContainer2.Panel1.Controls.Add(this.tTeeGrid1);
			// 
			// splitContainer2.Panel2
			// 
			this.splitContainer2.Panel2.BackColor = System.Drawing.Color.White;
			this.splitContainer2.Size = new System.Drawing.Size(402, 422);
			this.splitContainer2.SplitterDistance = 231;
			this.splitContainer2.TabIndex = 0;
			// 
			// timer1
			// 
			this.timer1.Interval = 150;
			this.timer1.Tick += new System.EventHandler(this.Timer1_Tick);
			// 
			// tTeeGrid1
			// 
			this.tTeeGrid1.BackColor = System.Drawing.Color.White;
			this.tTeeGrid1.Data = null;
			this.tTeeGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tTeeGrid1.Location = new System.Drawing.Point(0, 0);
			this.tTeeGrid1.Name = "tTeeGrid1";
			this.tTeeGrid1.Painter = gdiPlusPainter1;
			gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
			gridScrolling1.Mode = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
			gridScrolling1.Vertical = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
			this.tTeeGrid1.Scrolling = gridScrolling1;
			this.tTeeGrid1.Size = new System.Drawing.Size(402, 231);
			this.tTeeGrid1.TabIndex = 0;
			this.tTeeGrid1.Text = "tTeeGrid1";
			// 
			// Form1
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(402, 484);
			this.Controls.Add(this.splitContainer1);
			this.Name = "Form1";
			this.Text = "TeeGrid Ticker";
			this.splitContainer1.Panel1.ResumeLayout(false);
			this.splitContainer1.Panel1.PerformLayout();
			this.splitContainer1.Panel2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
			this.splitContainer1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.tBSpeed)).EndInit();
			this.splitContainer2.Panel1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
			this.splitContainer2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Esempio n. 10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.button2         = new System.Windows.Forms.Button();
     this.button1         = new System.Windows.Forms.Button();
     this.tTeeGrid1       = new Steema.TeeGrid.WinForm.TGrid();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.button2);
     this.splitContainer1.Panel1.Controls.Add(this.button1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.tTeeGrid1);
     this.splitContainer1.Size             = new System.Drawing.Size(814, 522);
     this.splitContainer1.SplitterDistance = 66;
     this.splitContainer1.TabIndex         = 0;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(500, 23);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 1;
     this.button2.Text     = "Footers ...";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(419, 23);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 0;
     this.button1.Text     = "Headers ...";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // tTeeGrid1
     //
     this.tTeeGrid1.BackColor  = System.Drawing.Color.White;
     this.tTeeGrid1.Data       = null;
     this.tTeeGrid1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tTeeGrid1.Location   = new System.Drawing.Point(0, 0);
     this.tTeeGrid1.Name       = "tTeeGrid1";
     this.tTeeGrid1.Painter    = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.tTeeGrid1.Scrolling  = gridScrolling1;
     this.tTeeGrid1.Size       = new System.Drawing.Size(814, 452);
     this.tTeeGrid1.TabIndex   = 0;
     this.tTeeGrid1.Text       = "tTeeGrid1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(814, 522);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "TeeGrid Header and Footer";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Steema.TeeGrid.WinForm.Painter.GdiPlusPainter gdiPlusPainter1 = new Steema.TeeGrid.WinForm.Painter.GdiPlusPainter();
     Steema.TeeGrid.RowGroup.GridScrolling         gridScrolling1  = new Steema.TeeGrid.RowGroup.GridScrolling();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.button2         = new System.Windows.Forms.Button();
     this.button1         = new System.Windows.Forms.Button();
     this.cbMultiLine     = new System.Windows.Forms.CheckBox();
     this.tTeeGrid1       = new Steema.TeeGrid.WinForm.TGrid();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.button2);
     this.splitContainer1.Panel1.Controls.Add(this.button1);
     this.splitContainer1.Panel1.Controls.Add(this.cbMultiLine);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.tTeeGrid1);
     this.splitContainer1.Size             = new System.Drawing.Size(828, 523);
     this.splitContainer1.SplitterDistance = 64;
     this.splitContainer1.TabIndex         = 0;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(207, 22);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(93, 23);
     this.button2.TabIndex = 2;
     this.button2.Text     = "Benchmark";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.Button2_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(126, 22);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 1;
     this.button1.Text     = "Edit...";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.Button1_Click);
     //
     // cbMultiLine
     //
     this.cbMultiLine.AutoSize   = true;
     this.cbMultiLine.Checked    = true;
     this.cbMultiLine.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbMultiLine.Location   = new System.Drawing.Point(12, 26);
     this.cbMultiLine.Name       = "cbMultiLine";
     this.cbMultiLine.Size       = new System.Drawing.Size(95, 17);
     this.cbMultiLine.TabIndex   = 0;
     this.cbMultiLine.Text       = "Multi-Line Text";
     this.cbMultiLine.UseVisualStyleBackColor = true;
     this.cbMultiLine.CheckedChanged         += new System.EventHandler(this.CbMultiLine_CheckedChanged);
     //
     // tTeeGrid1
     //
     this.tTeeGrid1.BackColor  = System.Drawing.Color.White;
     this.tTeeGrid1.Data       = null;
     this.tTeeGrid1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tTeeGrid1.Location   = new System.Drawing.Point(0, 0);
     this.tTeeGrid1.Name       = "tTeeGrid1";
     this.tTeeGrid1.Painter    = gdiPlusPainter1;
     gridScrolling1.Horizontal = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     gridScrolling1.Mode       = Steema.TeeGrid.RowGroup.ScrollingMode.Touch;
     gridScrolling1.Vertical   = Steema.TeeGrid.RowGroup.ScrollDirection.Normal;
     this.tTeeGrid1.Scrolling  = gridScrolling1;
     this.tTeeGrid1.Size       = new System.Drawing.Size(828, 455);
     this.tTeeGrid1.TabIndex   = 0;
     this.tTeeGrid1.Text       = "tTeeGrid1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(828, 523);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form1";
     this.Text = "TeeGrid Row Heights";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }