Exemplo n.º 1
0
        public __Panel()
        {
            //InternalSprite.style.overflow = ScriptCoreLib.JavaScript.DOM.IStyle.OverflowEnum.hidden;

            InternalSprite.style.width  = "600px";
            InternalSprite.style.height = "400px";

            InternalSprite.style.position = ScriptCoreLib.JavaScript.DOM.IStyle.PositionEnum.absolute;
            InternalSprite.name           = "__Panel";

            InternalSprite.style.left = "0px";
            InternalSprite.style.top  = "0px";

            // do we create any new havoc?
            InternalSprite.style.zIndex = 0;


            InternalSprite.appendChild(InternalContent);

            InternalContent.style.position = ScriptCoreLib.JavaScript.DOM.IStyle.PositionEnum.relative;

            _Children = new __UIElementCollection(this)
            {
                InternalSprite = InternalContent
            };
        }
Exemplo n.º 2
0
		public __Panel()
		{
			//InternalSprite.style.overflow = ScriptCoreLib.JavaScript.DOM.IStyle.OverflowEnum.hidden;

			InternalSprite.style.width = "600px";
			InternalSprite.style.height = "400px";

			InternalSprite.style.position = ScriptCoreLib.JavaScript.DOM.IStyle.PositionEnum.absolute;
			InternalSprite.name = "__Panel";

			InternalSprite.style.left = "0px";
			InternalSprite.style.top = "0px";

			// do we create any new havoc?
			InternalSprite.style.zIndex = 0;


			InternalSprite.appendChild(InternalContent);

			InternalContent.style.position = ScriptCoreLib.JavaScript.DOM.IStyle.PositionEnum.relative;

			_Children = new __UIElementCollection(this) { InternalSprite = InternalContent };
		}