Example #1
0
        public PrimAgl3D()
        {
            _config = new Agl3DConfig();

            PrimDebugUI  = new PrimDebugControl();
            PrimConfigUI = new PrimConfigControl();
            PrimOutputUI = new PrimOutputControl();
        }
Example #2
0
        public PrimAgl3D(XmlNode configNode)
        {
            if (configNode != null)
            {
                _config = XMLHelper.XMLToObject(configNode, typeof(Agl3DConfig)) as Agl3DConfig;
            }
            else
            {
                return;
            }

            PrimDebugUI  = new PrimDebugControl();
            PrimConfigUI = new PrimConfigControl();
            PrimOutputUI = new PrimOutputControl();
            ((PrimConfigControl)PrimConfigUI).AglName = _config.Name;
            ((PrimOutputControl)PrimOutputUI).AglName = _config.Name;
        }