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