示例#1
0
        public void SetPrToComposite(String cn, vObjectProperty newpr)
        {
            vObjectProperty pr = GetProperty(cn);

            if (pr == null)
            {
                SetProperty(pr = new PropertyComposite(cn, this));
            }
            ((PropertyComposite)pr).SetNewProperty(newpr);
        }
示例#2
0
        public vObjectProperty GetFromComposite(String cn, String pn)
        {
            PropertyComposite pc = GetComposite(cn);

            return(pc.GetProperty(pn));
        }
示例#3
0
		public void SetPrToComposite(String cn,vObjectProperty newpr)
		{
			vObjectProperty pr=GetProperty(cn);
			if(pr==null)SetProperty(pr=new PropertyComposite(cn,this));
			((PropertyComposite)pr).SetNewProperty(newpr);
		}