1 write to parametersGrid
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
37this.parametersGrid = new System.Windows.Forms.DataGridView();
69 references to parametersGrid
System.WorkflowServices (69)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (51)
94if (!this.parametersGrid.ReadOnly) 96this.parametersGrid.Rows.Add(this.ParameterTemplateRowName, null, null); 110this.parametersGrid.SelectionChanged += new EventHandler(parametersGrid_SelectionChanged); 111if (!this.parametersGrid.ReadOnly) 113this.parametersGrid.CellValidating += new DataGridViewCellValidatingEventHandler(parametersGrid_CellValidating); 114this.parametersGrid.CellEndEdit += new DataGridViewCellEventHandler(parametersGridCellEndEdit); 115this.parametersGrid.EditingControlShowing += new DataGridViewEditingControlShowingEventHandler(parametersGrid_EditingControlShowing); 116this.parametersGrid.KeyDown += new KeyEventHandler(parametersGrid_KeyDown); 157this.parametersGrid.ClearSelection(); 164Fx.Assert(this.parametersGrid.Rows.Count != 0, "parameters grid should have atleast the dummy <add new> item"); 165this.parametersGrid.Rows.Insert(this.parametersGrid.Rows.Count - 1, GenerateParameterName(), typeof(string), SR2.GetString(SR2.ParameterDirectionIn)); 167this.parametersGrid.CurrentCell = this.parametersGrid.Rows[this.parametersGrid.Rows.Count - 2].Cells[this.nameColumn.Index]; 224DataGridViewCell currentCell = this.parametersGrid.Rows[combo.EditingControlRowIndex].Cells[this.typeColumn.Index]; 228this.parametersGrid.EndEdit(); 290DataGridViewRow currentRow = this.parametersGrid.CurrentRow; 294Fx.Assert(currentRowIndex < (this.parametersGrid.Rows.Count - 2), "cant move down the template row or the one above it"); 296this.parametersGrid.Rows.Remove(currentRow); 297this.parametersGrid.Rows.Insert(currentRowIndex + 1, currentRow); 298this.parametersGrid.CurrentCell = currentRow.Cells[this.nameColumn.Index]; 305DataGridViewRow currentRow = this.parametersGrid.CurrentRow; 309Fx.Assert(currentRowIndex != (this.parametersGrid.Rows.Count - 1), "cant move up the template row"); 311this.parametersGrid.Rows.Remove(currentRow); 312this.parametersGrid.Rows.Insert(currentRowIndex - 1, currentRow); 313this.parametersGrid.CurrentCell = currentRow.Cells[this.nameColumn.Index]; 372if (typeof(void).ToString().Equals(e.FormattedValue) && !(this.parametersGrid.Rows[e.RowIndex].Cells[this.nameColumn.Index].Value.Equals(SR2.GetString(SR2.ReturnValueString)))) 389if (this.parametersGrid.CurrentCell.ColumnIndex == this.typeColumn.Index) 413if (!this.parametersGrid.Rows[this.parametersGrid.RowCount - 1].Cells[this.nameColumn.Index].Value.Equals(this.ParameterTemplateRowName)) 415DataGridViewRow editedRow = this.parametersGrid.Rows[e.RowIndex]; 419this.parametersGrid.Rows.Add(this.ParameterTemplateRowName, null, null); 423DataGridViewCell currentCell = this.parametersGrid.Rows[e.RowIndex].Cells[e.ColumnIndex]; 526this.parametersGrid.Rows.Add(new object[] { paramName, paramType, direction }); 531this.parametersGrid.Rows.Insert(0, new object[] { SR2.GetString(SR2.ReturnValueString), returnType, SR2.GetString(SR2.ParameterDirectionOut) }); 532DataGridViewRow returnValueRow = this.parametersGrid.Rows[0]; 558DataGridViewRow currentRow = this.parametersGrid.CurrentRow; 569if (currentRowIndex != (this.parametersGrid.Rows.Count - 1) && (currentRowIndex != 0)) 576if (currentRowIndex < (this.parametersGrid.Rows.Count - 2)) 585DataGridViewRow currentRow = this.parametersGrid.CurrentRow; 588Fx.Assert(currentRowIndex != (this.parametersGrid.Rows.Count - 1), "cant delete the template row"); 590this.parametersGrid.Rows.Remove(currentRow); 605this.parametersGrid.ReadOnly = !editable; 611this.parametersGrid.Columns.Clear(); 617this.parametersGrid.Columns.Add(nameColumn); 630this.parametersGrid.Columns.Add(typeColumn); 641this.parametersGrid.Columns.Add(directionColumn); 702foreach (DataGridViewRow row in this.parametersGrid.Rows) 760foreach (DataGridViewRow row in this.parametersGrid.Rows) 773if (parameterName.Equals(this.ParameterTemplateRowName) && (e.RowIndex == this.parametersGrid.Rows.Count - 1))
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (18)
55((System.ComponentModel.ISupportInitialize)(this.parametersGrid)).BeginInit(); 71this.parametersGrid.AllowUserToAddRows = false; 72this.parametersGrid.AllowUserToDeleteRows = false; 73this.parametersGrid.AllowUserToResizeRows = false; 74this.parametersGrid.BackgroundColor = System.Drawing.SystemColors.Window; 75this.parametersGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; 76this.parametersGrid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; 77this.parametersGrid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; 78this.parametersGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 79resources.ApplyResources(this.parametersGrid, "parametersGrid"); 80this.parametersGrid.Name = "parametersGrid"; 81this.parametersGrid.ReadOnly = true; 82this.parametersGrid.RowHeadersVisible = false; 83this.parametersGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; 84this.parametersGrid.ShowEditingIcon = false; 85this.parametersGrid.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; 111this.parametersTabPage.Controls.Add(this.parametersGrid); 227((System.ComponentModel.ISupportInitialize)(this.parametersGrid)).EndInit();