public void SetPrToComposite(String cn, vObjectProperty newpr) { vObjectProperty pr = GetProperty(cn); if (pr == null) { SetProperty(pr = new PropertyComposite(cn, this)); } ((PropertyComposite)pr).SetNewProperty(newpr); }
public vObjectProperty GetFromComposite(String cn, String pn) { PropertyComposite pc = GetComposite(cn); return(pc.GetProperty(pn)); }
public void SetPrToComposite(String cn,vObjectProperty newpr) { vObjectProperty pr=GetProperty(cn); if(pr==null)SetProperty(pr=new PropertyComposite(cn,this)); ((PropertyComposite)pr).SetNewProperty(newpr); }