Example #1
0
        public ThemeTabBar(ThemeTabControl parent)
        {
            this.parent = parent;

            this.Margin = new Padding(0, 0, 0, 0);

            btnclose         = new ThemeCaptionButton(ThemeCaptionButton.CapBtnType.Close, this);
            btnclose.Parent  = this;
            btnclose.Visible = false;

            btnmax         = new ThemeCaptionButton(ThemeCaptionButton.CapBtnType.Maximize, this);
            btnmax.Parent  = this;
            btnmax.Visible = false;

            btnmin         = new ThemeCaptionButton(ThemeCaptionButton.CapBtnType.Minimize, this);
            btnmin.Parent  = this;
            btnmin.Visible = false;


            navbtnbackoverfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 1f, 0f, 1f);
            navbtnfwdoverfadeid  = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 1f, 0f, 1f);
        }
Example #2
0
 public ThemeTabCollection(ThemeTabControl parent)
 {
     this.parent = parent;
 }