/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.dataGrid = new SourceGrid.DataGrid(); this.btLoadXml = new System.Windows.Forms.Button(); this.btSaveXml = new System.Windows.Forms.Button(); this.SuspendLayout(); // // dataGrid // this.dataGrid.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.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dataGrid.DefaultWidth = 20; this.dataGrid.DeleteQuestionMessage = "Are you sure to delete all the selected rows?"; this.dataGrid.FixedRows = 1; this.dataGrid.Location = new System.Drawing.Point(4, 32); this.dataGrid.Name = "dataGrid"; this.dataGrid.Size = new System.Drawing.Size(572, 424); this.dataGrid.SpecialKeys = SourceGrid.GridSpecialKeys.Default; this.dataGrid.TabIndex = 15; // // btLoadXml // this.btLoadXml.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btLoadXml.Location = new System.Drawing.Point(4, 4); this.btLoadXml.Name = "btLoadXml"; this.btLoadXml.TabIndex = 16; this.btLoadXml.Text = "Load XML"; this.btLoadXml.Click += new System.EventHandler(this.btLoadXml_Click); // // btSaveXml // this.btSaveXml.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btSaveXml.Location = new System.Drawing.Point(92, 4); this.btSaveXml.Name = "btSaveXml"; this.btSaveXml.TabIndex = 17; this.btSaveXml.Text = "Save XML"; this.btSaveXml.Click += new System.EventHandler(this.btSaveXml_Click); // // frmSample29 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(580, 463); this.Controls.Add(this.btSaveXml); this.Controls.Add(this.btLoadXml); this.Controls.Add(this.dataGrid); this.Name = "frmSample29"; this.Text = "Advanced DataGrid binding (XML DataSet)"; this.Load += new System.EventHandler(this.frmSample29_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.dataGrid = new SourceGrid.DataGrid(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // dataGrid // this.dataGrid.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.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dataGrid.DefaultWidth = 20; this.dataGrid.DeleteQuestionMessage = "Are you sure to delete all the selected rows?"; this.dataGrid.FixedRows = 1; this.dataGrid.Location = new System.Drawing.Point(4, 48); this.dataGrid.Name = "dataGrid"; this.dataGrid.Size = new System.Drawing.Size(492, 184); this.dataGrid.SpecialKeys = SourceGrid.GridSpecialKeys.Default; this.dataGrid.TabIndex = 15; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(4, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(492, 40); this.label1.TabIndex = 16; this.label1.Text = "DataTable row validations: Id column is a primary key unique not null; Min must b" + "e < Max. Column validation: Min must be >= 0"; // // frmSample43 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(500, 242); this.Controls.Add(this.label1); this.Controls.Add(this.dataGrid); this.Name = "frmSample43"; this.Text = "Advanced Data Binding - DataGrid 3, validation rules"; 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.dataGrid = new SourceGrid.DataGrid(); this.label1 = new System.Windows.Forms.Label(); this.lblSelectedRow = new System.Windows.Forms.Label(); this.btFind = new System.Windows.Forms.Button(); this.txtFindName = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // dataGrid // this.dataGrid.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.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dataGrid.DefaultWidth = 20; this.dataGrid.DeleteQuestionMessage = "Are you sure to delete all the selected rows?"; this.dataGrid.FixedRows = 1; this.dataGrid.Location = new System.Drawing.Point(4, 30); this.dataGrid.Name = "dataGrid"; this.dataGrid.SelectionMode = SourceGrid.GridSelectionMode.Row; this.dataGrid.Size = new System.Drawing.Size(492, 205); this.dataGrid.TabIndex = 15; this.dataGrid.TabStop = true; this.dataGrid.ToolTipText = ""; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(1, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(77, 13); this.label1.TabIndex = 16; this.label1.Text = "Selected Row:"; // // lblSelectedRow // this.lblSelectedRow.AutoSize = true; this.lblSelectedRow.Location = new System.Drawing.Point(85, 8); this.lblSelectedRow.Name = "lblSelectedRow"; this.lblSelectedRow.Size = new System.Drawing.Size(10, 13); this.lblSelectedRow.TabIndex = 17; this.lblSelectedRow.Text = "-"; // // btFind // this.btFind.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btFind.Location = new System.Drawing.Point(421, 1); this.btFind.Name = "btFind"; this.btFind.Size = new System.Drawing.Size(75, 23); this.btFind.TabIndex = 18; this.btFind.Text = "Find"; this.btFind.UseVisualStyleBackColor = true; this.btFind.Click += new System.EventHandler(this.btFind_Click); // // txtFindName // this.txtFindName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtFindName.Location = new System.Drawing.Point(315, 3); this.txtFindName.Name = "txtFindName"; this.txtFindName.Size = new System.Drawing.Size(100, 20); this.txtFindName.TabIndex = 19; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(238, 6); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(68, 13); this.label2.TabIndex = 20; this.label2.Text = "Find country:"; // // frmSample41 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(500, 242); this.Controls.Add(this.label2); this.Controls.Add(this.txtFindName); this.Controls.Add(this.btFind); this.Controls.Add(this.lblSelectedRow); this.Controls.Add(this.label1); this.Controls.Add(this.dataGrid); this.Name = "frmSample41"; this.Text = "Advanced DataGrid binding (XML DataSet)"; this.Load += new System.EventHandler(this.frmSample41_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.txtConnectionString = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtSqlQuery = new System.Windows.Forms.TextBox(); this.btLoad = new System.Windows.Forms.Button(); this.lbRowsNumber = new System.Windows.Forms.Label(); this.dataGrid = new SourceGrid.DataGrid(); this.label3 = new System.Windows.Forms.Label(); this.chkEdit = new System.Windows.Forms.CheckBox(); this.chkMultiSelection = new System.Windows.Forms.CheckBox(); this.chkAllowNew = new System.Windows.Forms.CheckBox(); this.chkAllowDelete = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // txtConnectionString // this.txtConnectionString.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtConnectionString.Location = new System.Drawing.Point(4, 20); this.txtConnectionString.Name = "txtConnectionString"; this.txtConnectionString.Size = new System.Drawing.Size(564, 20); this.txtConnectionString.TabIndex = 1; this.txtConnectionString.Text = "Driver={SQL Server};Server=LOCALHOST;Database=Northwind;Trusted_Connection=yes;"; // // label1 // this.label1.Location = new System.Drawing.Point(4, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(380, 16); this.label1.TabIndex = 2; this.label1.Text = "Connection String ODBC (Default: SQLServer LOCALHOST.Northwind)"; // // label2 // this.label2.Location = new System.Drawing.Point(4, 44); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(380, 16); this.label2.TabIndex = 4; this.label2.Text = "SQL Query"; // // txtSqlQuery // this.txtSqlQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtSqlQuery.Location = new System.Drawing.Point(4, 60); this.txtSqlQuery.Multiline = true; this.txtSqlQuery.Name = "txtSqlQuery"; this.txtSqlQuery.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.txtSqlQuery.Size = new System.Drawing.Size(368, 56); this.txtSqlQuery.TabIndex = 3; this.txtSqlQuery.Text = "select * from [Orders Qry]"; // // btLoad // this.btLoad.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btLoad.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btLoad.Location = new System.Drawing.Point(496, 92); this.btLoad.Name = "btLoad"; this.btLoad.Size = new System.Drawing.Size(75, 23); this.btLoad.TabIndex = 5; this.btLoad.Text = "Load"; this.btLoad.Click += new System.EventHandler(this.btLoad_Click); // // lbRowsNumber // this.lbRowsNumber.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lbRowsNumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbRowsNumber.Location = new System.Drawing.Point(4, 119); this.lbRowsNumber.Name = "lbRowsNumber"; this.lbRowsNumber.Size = new System.Drawing.Size(168, 16); this.lbRowsNumber.TabIndex = 11; this.lbRowsNumber.Text = "Rows Number: YYYY"; // // dataGrid // this.dataGrid.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.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dataGrid.DefaultWidth = 20; this.dataGrid.DeleteQuestionMessage = "Are you sure to delete all the selected rows?"; this.dataGrid.FixedRows = 1; this.dataGrid.Location = new System.Drawing.Point(4, 172); this.dataGrid.Name = "dataGrid"; this.dataGrid.SelectionMode = SourceGrid.GridSelectionMode.Row; this.dataGrid.Size = new System.Drawing.Size(572, 284); this.dataGrid.TabIndex = 15; this.dataGrid.TabStop = true; this.dataGrid.ToolTipText = ""; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(8, 148); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(564, 20); this.label3.TabIndex = 14; this.label3.Text = "Changing this grid affect only the DataTable, the original database is never upda" + "ted."; // // chkEdit // this.chkEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkEdit.Checked = true; this.chkEdit.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEdit.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkEdit.Location = new System.Drawing.Point(384, 48); this.chkEdit.Name = "chkEdit"; this.chkEdit.Size = new System.Drawing.Size(100, 24); this.chkEdit.TabIndex = 16; this.chkEdit.Text = "Editable"; this.chkEdit.CheckedChanged += new System.EventHandler(this.chkEdit_CheckedChanged); // // chkMultiSelection // this.chkMultiSelection.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkMultiSelection.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkMultiSelection.Location = new System.Drawing.Point(384, 68); this.chkMultiSelection.Name = "chkMultiSelection"; this.chkMultiSelection.Size = new System.Drawing.Size(100, 24); this.chkMultiSelection.TabIndex = 17; this.chkMultiSelection.Text = "Multi Selection"; this.chkMultiSelection.CheckedChanged += new System.EventHandler(this.chkMultiSelection_CheckedChanged); // // chkAllowNew // this.chkAllowNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkAllowNew.Checked = true; this.chkAllowNew.CheckState = System.Windows.Forms.CheckState.Checked; this.chkAllowNew.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkAllowNew.Location = new System.Drawing.Point(384, 92); this.chkAllowNew.Name = "chkAllowNew"; this.chkAllowNew.Size = new System.Drawing.Size(100, 23); this.chkAllowNew.TabIndex = 18; this.chkAllowNew.Text = "Allow New"; this.chkAllowNew.CheckedChanged += new System.EventHandler(this.chkAllowNew_CheckedChanged); // // chkAllowDelete // this.chkAllowDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkAllowDelete.Checked = true; this.chkAllowDelete.CheckState = System.Windows.Forms.CheckState.Checked; this.chkAllowDelete.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkAllowDelete.Location = new System.Drawing.Point(384, 115); this.chkAllowDelete.Name = "chkAllowDelete"; this.chkAllowDelete.Size = new System.Drawing.Size(100, 23); this.chkAllowDelete.TabIndex = 19; this.chkAllowDelete.Text = "Allow Delete"; this.chkAllowDelete.CheckedChanged += new System.EventHandler(this.chkAllowDelete_CheckedChanged); // // frmSample9 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(580, 463); this.Controls.Add(this.chkAllowDelete); this.Controls.Add(this.chkAllowNew); this.Controls.Add(this.chkEdit); this.Controls.Add(this.txtSqlQuery); this.Controls.Add(this.txtConnectionString); this.Controls.Add(this.chkMultiSelection); this.Controls.Add(this.label3); this.Controls.Add(this.dataGrid); this.Controls.Add(this.lbRowsNumber); this.Controls.Add(this.btLoad); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "frmSample9"; this.Text = "DataGrid binding"; this.Load += new System.EventHandler(this.frmSample9_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid1 = new SourceGrid.DataGrid(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.rdSelectionModeColumn = new System.Windows.Forms.RadioButton(); this.rdSelectionModeRow = new System.Windows.Forms.RadioButton(); this.rdSelectionModeCell = new System.Windows.Forms.RadioButton(); this.chkEnableMultiSelection = new System.Windows.Forms.CheckBox(); this.cPickSelBackColor = new DevAge.Windows.Forms.ColorPicker(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.cPckBorderColor = new DevAge.Windows.Forms.ColorPicker(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.label2 = new System.Windows.Forms.Label(); this.trackSelectionAlpha = new System.Windows.Forms.TrackBar(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.chkTabStop = new System.Windows.Forms.CheckBox(); this.label6 = new System.Windows.Forms.Label(); this.trackFocusBackColorTrans = new System.Windows.Forms.TrackBar(); this.cPickFocusBackColor = new DevAge.Windows.Forms.ColorPicker(); this.label5 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.label7 = new System.Windows.Forms.Label(); this.cbDashStyle = new DevAge.Windows.Forms.DevAgeComboBox(); this.trackBorderWidth = new System.Windows.Forms.TrackBar(); this.label4 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackSelectionAlpha)).BeginInit(); this.tabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackFocusBackColorTrans)).BeginInit(); this.tabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBorderWidth)).BeginInit(); this.SuspendLayout(); // // grid1 // this.grid1.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.grid1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.grid1.Location = new System.Drawing.Point(4, 184); this.grid1.Name = "grid1"; //this.grid1.OptimizeMode = SourceGrid.CellOptimizeMode.ForRows; this.grid1.SelectionMode = SourceGrid.GridSelectionMode.Cell; this.grid1.Size = new System.Drawing.Size(432, 180); this.grid1.TabIndex = 0; this.grid1.TabStop = true; this.grid1.ToolTipText = ""; // // groupBox1 // this.groupBox1.Controls.Add(this.rdSelectionModeColumn); this.groupBox1.Controls.Add(this.rdSelectionModeRow); this.groupBox1.Controls.Add(this.rdSelectionModeCell); this.groupBox1.Location = new System.Drawing.Point(20, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(200, 92); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Grid.Selection.SelectionMode"; // // rdSelectionModeColumn // this.rdSelectionModeColumn.Location = new System.Drawing.Point(8, 68); this.rdSelectionModeColumn.Name = "rdSelectionModeColumn"; this.rdSelectionModeColumn.Size = new System.Drawing.Size(188, 20); this.rdSelectionModeColumn.TabIndex = 2; this.rdSelectionModeColumn.Text = "Column"; this.rdSelectionModeColumn.CheckedChanged += new System.EventHandler(this.Check_Change); // // rdSelectionModeRow // this.rdSelectionModeRow.Location = new System.Drawing.Point(8, 44); this.rdSelectionModeRow.Name = "rdSelectionModeRow"; this.rdSelectionModeRow.Size = new System.Drawing.Size(188, 20); this.rdSelectionModeRow.TabIndex = 1; this.rdSelectionModeRow.Text = "Row"; this.rdSelectionModeRow.CheckedChanged += new System.EventHandler(this.Check_Change); // // rdSelectionModeCell // this.rdSelectionModeCell.Checked = true; this.rdSelectionModeCell.Location = new System.Drawing.Point(8, 20); this.rdSelectionModeCell.Name = "rdSelectionModeCell"; this.rdSelectionModeCell.Size = new System.Drawing.Size(188, 20); this.rdSelectionModeCell.TabIndex = 0; this.rdSelectionModeCell.TabStop = true; this.rdSelectionModeCell.Text = "Cell"; this.rdSelectionModeCell.CheckedChanged += new System.EventHandler(this.Check_Change); // // chkEnableMultiSelection // this.chkEnableMultiSelection.Checked = true; this.chkEnableMultiSelection.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEnableMultiSelection.Location = new System.Drawing.Point(24, 112); this.chkEnableMultiSelection.Name = "chkEnableMultiSelection"; this.chkEnableMultiSelection.Size = new System.Drawing.Size(216, 24); this.chkEnableMultiSelection.TabIndex = 2; this.chkEnableMultiSelection.Text = "Grid.Selection.EnableMultiSelection"; this.chkEnableMultiSelection.CheckedChanged += new System.EventHandler(this.chkEnableMultiSelection_CheckedChanged); // // cPickSelBackColor // this.cPickSelBackColor.Location = new System.Drawing.Point(152, 4); this.cPickSelBackColor.Name = "cPickSelBackColor"; this.cPickSelBackColor.SelectedColor = System.Drawing.Color.Black; this.cPickSelBackColor.Size = new System.Drawing.Size(176, 24); this.cPickSelBackColor.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(4, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 20); this.label1.TabIndex = 4; this.label1.Text = "Selection BackColor"; // // label3 // this.label3.Location = new System.Drawing.Point(13, 9); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(68, 20); this.label3.TabIndex = 8; this.label3.Text = "Border Color"; // // cPckBorderColor // this.cPckBorderColor.Location = new System.Drawing.Point(85, 5); this.cPckBorderColor.Name = "cPckBorderColor"; this.cPckBorderColor.SelectedColor = System.Drawing.Color.Black; this.cPckBorderColor.Size = new System.Drawing.Size(164, 24); this.cPckBorderColor.TabIndex = 7; // // tabControl1 // this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Location = new System.Drawing.Point(4, 8); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(432, 172); this.tabControl1.TabIndex = 9; // // tabPage1 // this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.chkEnableMultiSelection); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(424, 146); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "SelectionMode"; // // tabPage2 // this.tabPage2.Controls.Add(this.label2); this.tabPage2.Controls.Add(this.trackSelectionAlpha); this.tabPage2.Controls.Add(this.cPickSelBackColor); this.tabPage2.Controls.Add(this.label1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(424, 146); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Selection Visual Style"; // // label2 // this.label2.Location = new System.Drawing.Point(4, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(128, 20); this.label2.TabIndex = 10; this.label2.Text = "Selection Trasparency:"; // // trackSelectionAlpha // this.trackSelectionAlpha.Location = new System.Drawing.Point(152, 32); this.trackSelectionAlpha.Maximum = 255; this.trackSelectionAlpha.Name = "trackSelectionAlpha"; this.trackSelectionAlpha.Size = new System.Drawing.Size(176, 45); this.trackSelectionAlpha.TabIndex = 9; this.trackSelectionAlpha.TickFrequency = 10; this.trackSelectionAlpha.TickStyle = System.Windows.Forms.TickStyle.Both; // // tabPage4 // this.tabPage4.Controls.Add(this.chkTabStop); this.tabPage4.Controls.Add(this.label6); this.tabPage4.Controls.Add(this.trackFocusBackColorTrans); this.tabPage4.Controls.Add(this.cPickFocusBackColor); this.tabPage4.Controls.Add(this.label5); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(424, 146); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Focus Visual Style"; // // chkTabStop // this.chkTabStop.Checked = true; this.chkTabStop.CheckState = System.Windows.Forms.CheckState.Checked; this.chkTabStop.Location = new System.Drawing.Point(8, 88); this.chkTabStop.Name = "chkTabStop"; this.chkTabStop.Size = new System.Drawing.Size(104, 24); this.chkTabStop.TabIndex = 15; this.chkTabStop.Text = "Grid.TabStop"; this.chkTabStop.CheckedChanged += new System.EventHandler(this.chkTabStop_CheckedChanged); // // label6 // this.label6.Location = new System.Drawing.Point(4, 12); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(108, 20); this.label6.TabIndex = 12; this.label6.Text = "Focus BackColor"; // // trackFocusBackColorTrans // this.trackFocusBackColorTrans.Location = new System.Drawing.Point(152, 32); this.trackFocusBackColorTrans.Maximum = 255; this.trackFocusBackColorTrans.Name = "trackFocusBackColorTrans"; this.trackFocusBackColorTrans.Size = new System.Drawing.Size(176, 45); this.trackFocusBackColorTrans.TabIndex = 13; this.trackFocusBackColorTrans.TickFrequency = 10; this.trackFocusBackColorTrans.TickStyle = System.Windows.Forms.TickStyle.Both; // // cPickFocusBackColor // this.cPickFocusBackColor.Location = new System.Drawing.Point(152, 8); this.cPickFocusBackColor.Name = "cPickFocusBackColor"; this.cPickFocusBackColor.SelectedColor = System.Drawing.Color.Black; this.cPickFocusBackColor.Size = new System.Drawing.Size(176, 24); this.cPickFocusBackColor.TabIndex = 11; // // label5 // this.label5.Location = new System.Drawing.Point(4, 44); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(128, 20); this.label5.TabIndex = 14; this.label5.Text = "Focus Trasparency:"; // // tabPage3 // this.tabPage3.Controls.Add(this.label7); this.tabPage3.Controls.Add(this.cbDashStyle); this.tabPage3.Controls.Add(this.cPckBorderColor); this.tabPage3.Controls.Add(this.label3); this.tabPage3.Controls.Add(this.trackBorderWidth); this.tabPage3.Controls.Add(this.label4); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(424, 146); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Selection Border"; // // label7 // this.label7.Location = new System.Drawing.Point(9, 89); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(76, 20); this.label7.TabIndex = 15; this.label7.Text = "Dash Style"; // // cbDashStyle // this.cbDashStyle.Location = new System.Drawing.Point(89, 89); this.cbDashStyle.Name = "cbDashStyle"; this.cbDashStyle.Size = new System.Drawing.Size(164, 21); this.cbDashStyle.TabIndex = 14; this.cbDashStyle.TextChanged += new System.EventHandler(this.cbDashStyle_ValueChanged); // // trackBorderWidth // this.trackBorderWidth.Location = new System.Drawing.Point(89, 41); this.trackBorderWidth.Maximum = 20; this.trackBorderWidth.Name = "trackBorderWidth"; this.trackBorderWidth.Size = new System.Drawing.Size(96, 45); this.trackBorderWidth.TabIndex = 11; // // label4 // this.label4.Location = new System.Drawing.Point(9, 49); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(76, 20); this.label4.TabIndex = 12; this.label4.Text = "Border Width:"; // // frmSample17 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 371); this.Controls.Add(this.tabControl1); this.Controls.Add(this.grid1); this.Name = "frmSample17"; this.Text = "Selection Style"; this.Load += new System.EventHandler(this.frmSample17_Load); this.groupBox1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackSelectionAlpha)).EndInit(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackFocusBackColorTrans)).EndInit(); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBorderWidth)).EndInit(); 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.dataGrid = new SourceGrid.DataGrid(); this.label1 = new System.Windows.Forms.Label(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabelRowCount = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // dataGrid // this.dataGrid.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.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dataGrid.DefaultWidth = 20; this.dataGrid.DeleteQuestionMessage = "Are you sure to delete all the selected rows?"; this.dataGrid.FixedRows = 1; this.dataGrid.Location = new System.Drawing.Point(4, 48); this.dataGrid.Name = "dataGrid"; this.dataGrid.SelectionMode = SourceGrid.GridSelectionMode.Row; this.dataGrid.Size = new System.Drawing.Size(827, 381); this.dataGrid.TabIndex = 15; this.dataGrid.TabStop = true; this.dataGrid.ToolTipText = ""; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(4, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(827, 40); this.label1.TabIndex = 16; this.label1.Text = "DataGrid performance. Adding 1 000 000 rows asyncrhonously. Internaly using " + " DataTable for storing data. This allows us to achieve better sorting performance " + " compared to using simple IList. However, the trade off is that loading the data " + " is comparatively slow (~20 seonds)."; // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabelRowCount, this.toolStripProgressBar1}); this.statusStrip1.Location = new System.Drawing.Point(0, 455); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(835, 22); this.statusStrip1.TabIndex = 18; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabelRowCount // this.toolStripStatusLabelRowCount.Name = "toolStripStatusLabelRowCount"; this.toolStripStatusLabelRowCount.Size = new System.Drawing.Size(168, 17); this.toolStripStatusLabelRowCount.Text = "toolStripStatusLabelRowCount"; // // toolStripProgressBar1 // this.toolStripProgressBar1.Name = "toolStripProgressBar1"; this.toolStripProgressBar1.Size = new System.Drawing.Size(500, 16); // // frmSample53 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(835, 477); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.label1); this.Controls.Add(this.dataGrid); this.Name = "frmSample53"; this.Text = "Advanced Data Binding - DataGrid 3, validation rules"; this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }