// Summary: // Initializes a new instance of the System.Windows.Forms.TabPage class. public __TabPage() { this.__controlCollection = new __TabPageControlCollection((TabPage)this); this.__tabId = "tab" + __tabCount; __tabCount++; InternalElement = new IHTMLDiv(); InternalElement.style.whiteSpace = ScriptCoreLib.JavaScript.DOM.IStyle.WhiteSpaceEnum.nowrap; InternalElement.style.border = "1px solid gray"; InternalElement.style.borderTop = "none"; __tabButton = new IHTMLButton(this.__tabId); __tabButton.ApplyBorderStyle(global::System.Windows.Forms.BorderStyle.Fixed3D); __tabButton.style.textDecoration = "none"; __tabButton.style.color = "#42454a"; __tabButton.style.backgroundColor = "#dedbde"; __tabButton.style.top = "50%"; __tabButton.style.bottom = "50%"; int newh = __TabControl.__TAB_BAR_HEIGHT - 2; __tabButton.style.height = "" + newh; __tabButton.style.border = "ridge"; __tabButton.style.borderTop = "ridge"; __tabButton.style.borderRight = "ridge"; __tabButton.style.borderLeft = "ridge"; __tabButton.style.borderBottom = "none"; __tabButton.style.paddingBottom = "8px"; setFont(DefaultFont); Li = new IHTMLListItem(); Li.style.display = IStyle.DisplayEnum.inline; //Li.style.padding = "5px"; Li.style.marginRight = "0"; // "5px"; Li.style.Float = IStyle.FloatEnum.left; this.__isSelected = true; // 2013-09-30 // Error 5 The type 'System.Xml.Linq.XElement' is defined in // an assembly that is not referenced. You must add a // reference to assembly 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. X:\jsc.svn\core\ScriptCoreLib.Windows.Forms\ScriptCoreLib.Windows.Forms\JavaScript\BCLImplementation\System\Windows\Forms\TabPage.cs 72 13 ScriptCoreLib.Windows.Forms Li.appendChild(__tabButton); Li.style.Float = IStyle.FloatEnum.left; __DeSelectTab(); InternalElement.style.backgroundColor = "white"; TextChanged += OnTextChanged; }