void SetUrlPathPartsParameters(Request Req) { if (this.BaseTabs.InvokeRequired) { SetUrlPathPartsParameters_d InvokeDelegate_d = new SetUrlPathPartsParameters_d(SetUrlPathPartsParameters); this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { Req }); } else { List <string> UrlPathParts = Req.UrlPathParts; UrlPathPartsParametersGrid.Rows.Clear(); for (int i = 0; i < UrlPathParts.Count; i++) { int RowId = UrlPathPartsParametersGrid.Rows.Add(new object[] { i, UrlPathParts[i], Properties.Resources.Glass }); UrlPathPartsParametersGrid.Rows[RowId].Cells[1].ReadOnly = this.ReadOnly; } this.ResetUrlPathPartsChangedStatus(); } }
void SetUrlPathPartsParameters(Request Req) { if (this.BaseTabs.InvokeRequired) { SetUrlPathPartsParameters_d InvokeDelegate_d = new SetUrlPathPartsParameters_d(SetUrlPathPartsParameters); this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { Req }); } else { List<string> UrlPathParts = Req.UrlPathParts; UrlPathPartsParametersGrid.Rows.Clear(); for (int i = 0; i < UrlPathParts.Count; i++) { int RowId = UrlPathPartsParametersGrid.Rows.Add(new object[] { i, UrlPathParts[i], Properties.Resources.Glass }); UrlPathPartsParametersGrid.Rows[RowId].Cells[1].ReadOnly = this.ReadOnly; } this.ResetUrlPathPartsChangedStatus(); } }