LayoutFarm.SampleViewport.SampleViewport C# (CSharp) Method

SampleViewport() public method

public SampleViewport ( LayoutFarm vw ) : System
vw LayoutFarm
return System
        public SampleViewport(LayoutFarm.UI.UISurfaceViewportControl vw)
        {
            this.vw = vw;
            var workingArea = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea;
            this.primaryScreenWorkingAreaW = workingArea.Width;
            this.primaryScreenWorkingAreaH = workingArea.Height;

        }
        public int PrimaryScreenWidth