Ejemplo n.º 1
0
 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();
     }
 }
Ejemplo n.º 2
0
 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();
     }
 }