Esempio n. 1
0
        public ScreenContent(
            ScreenContent Parent, ScreenDim ScreenDim, ConcurrentOdom ContentOdom)
            : this(ContentOdom)
        {
            this.ScreenDim = ScreenDim;

            this.ContentArray   = new byte[4000];
            this.ContentArrayLx = this.ScreenDim.Width * this.ScreenDim.Height;

            this.FieldDict = new ContentDict();

            // add this ScreenContent as a child of the Parent SCB.
            if (Parent != null)
            {
                Parent.AddChild(this);
            }
        }
Esempio n. 2
0
 private ScreenContent(ConcurrentOdom ContentOdom)
 {
     this.ContentOdom = ContentOdom;
     this.ContentNum  = this.ContentOdom.Assign();
 }