예제 #1
0
 void FillPropertyInfoTree(string value, PopupContainerControl popcontainer)
 {
     if (popcontainer.Controls.Count > 0)
     {
         PropertyInfoTree ppit = popcontainer.Controls[0] as PropertyInfoTree;
         if (ppit != null)
         {
             ppit.SetClassParams(value);
         }
     }
 }
예제 #2
0
 PropertyInfoTree GetCachePropTree(string typestring, string tag)
 {
     if (!_proptrees.ContainsKey(typestring + tag))
     {
         Type             at   = Type.GetType(typestring);
         PropertyInfoTree ppit = new PropertyInfoTree();
         ppit.Dock = DockStyle.Fill;
         ppit.SetClassParams(at);
         _proptrees.Add(typestring + tag, ppit);
         return(ppit);
     }
     else
     {
         return(_proptrees[typestring + tag] as PropertyInfoTree);
     }
 }