Beispiel #1
0
        public void DesignSurface(FormCharacter fc)
        {
            var nvp = StandardPlacementLayoutSpecification.StandardViewPortForCharacter(fc, ScreenForms.Form1_1);

            Width  = nvp.Width;
            Height = nvp.Height;
        }
Beispiel #2
0
        public void DesignSurface(ScreenForms sf)
        {
            var nvp = StandardPlacementLayoutSpecification.ScreenForm(sf);

            Width  = nvp.Width;
            Height = nvp.Height;
        }
Beispiel #3
0
        public IEnumerable <PortalViewPort> DivideByLayout(StandardPlacementLayouts layout)
        {
            var lpvp = new List <PortalViewPort>();

            foreach (var svp in StandardPlacementLayoutSpecification.DescribeLayout(layout))
            {
                lpvp.Add(this.NestViewPort(svp));
            }

            return(lpvp);
        }