Esempio n. 1
0
        public __ToolStrip()
        {
            // these look like generic .css rules. not instance specific.
            InternalElement.style.whiteSpace = DOM.IStyle.WhiteSpaceEnum.nowrap;
            InternalElement.style.overflow   = DOM.IStyle.OverflowEnum.hidden;

            // shall css talk to the class name asigned to it?
            InternalElement.css.children.style.margin      = "0px";
            InternalElement.css.children.style.marginLeft  = "0.1em";
            InternalElement.css.children.style.marginRight = "0.1em";

            InternalElement.css.children.style.verticalAlign = "middle";

            // X:\jsc.svn\examples\javascript\forms\FormsNICWithDataSource\FormsNICWithDataSource\ApplicationControl.Designer.cs

            Items = new __ToolStripItemCollection
            {
                InternalOwner = this
            };


            // set the default. designer may omit it.
            this.Dock = DockStyle.Top;
        }
Esempio n. 2
0
        public __ToolStrip()
        {
            // these look like generic .css rules. not instance specific.
            InternalElement.style.whiteSpace = DOM.IStyle.WhiteSpaceEnum.nowrap;
            InternalElement.style.overflow = DOM.IStyle.OverflowEnum.hidden;

            // shall css talk to the class name asigned to it?
            InternalElement.css.children.style.margin = "0px";
            InternalElement.css.children.style.marginLeft = "0.1em";
            InternalElement.css.children.style.marginRight = "0.1em";

            InternalElement.css.children.style.verticalAlign = "middle";

            // X:\jsc.svn\examples\javascript\forms\FormsNICWithDataSource\FormsNICWithDataSource\ApplicationControl.Designer.cs

            Items = new __ToolStripItemCollection
            {
                InternalOwner = this
            };


            // set the default. designer may omit it.
            this.Dock = DockStyle.Top;
        }