Пример #1
0
 private static void Refresh(LinkedParameterDisplay us, ILinkedParameter lp)
 {
     if (lp == null)
     {
         us.LPData[0].Name   = "None";
         us.LPData[0].Value  = String.Empty;
         us.LPData[0].Exists = false;
     }
     else
     {
         us.LPData[0].Name   = lp.Name;
         us.LPData[0].Value  = lp.Value;
         us.LPData[0].Exists = true;
     }
     us.LoadLPModules(lp);
     us.RefreshGrids();
 }
Пример #2
0
 private static void Refresh(LinkedParameterDisplay us, ILinkedParameter lp)
 {
     if ( lp == null )
     {
         us.LPData[0].Name = "None";
         us.LPData[0].Value = String.Empty;
         us.LPData[0].Exists = false;
     }
     else
     {
         us.LPData[0].Name = lp.Name;
         us.LPData[0].Value = lp.Value;
         us.LPData[0].Exists = true;
     }
     us.LoadLPModules( lp );
     us.RefreshGrids();
 }