/// <summary> /// Creates a header with one (1) tabs /// </summary> public HeaderRenderControl(Font font, LogoDetails logo, TabDetails tab1) { this._SetupHeaderControl(font, logo, new TabDetails[] { tab1 }); }
/// <summary> /// Creates a header with four (4) tabs /// </summary> public HeaderRenderControl(Font font, LogoDetails logo, TabDetails tab1, TabDetails tab2, TabDetails tab3, TabDetails tab4) { this._SetupHeaderControl(font, logo, new TabDetails[] { tab1, tab2, tab3, tab4 }); }
/// <summary> /// Performs the actual work setting up the header /// </summary> public void _SetupHeaderControl(Font font, LogoDetails logo, params TabDetails[] tabs) { this.TabFont = font; this.Logo = logo; this.Tabs = tabs; }