Esempio n. 1
0
        void FadeChanged(object sender, FadeEventArgs e)
        {
            if (e.FadeID == navbtnbackoverfadeid)
            {
                navbtnbackoverfadeprogress = e.Progress;
            }
            else
            {
                navbtnfwdoverfadeprogress = e.Progress;
            }

            Invalidate();
        }
Esempio n. 2
0
        void FadeChanged(object sender, FadeEventArgs e)
        {
            if (e.FadeID == overfadeid)
            {
                overfadeprogress = e.Progress;
            }
            else
            {
                downfadeprogress = e.Progress;
            }

            Invalidate();
        }
Esempio n. 3
0
        void FadeChanged(object sender, FadeEventArgs e)
        {
            if (e.FadeID == overfadeid)
            {
                overfadeprogress = e.Progress;
            }
            else
            {
                selectfadeprogress = e.Progress;
            }

            if (this.Parent is ThemeTabControl)
            {
                ((ThemeTabControl)this.Parent).tabbar.Invalidate();
            }
        }
Esempio n. 4
0
        void FadeChanged(object sender, FadeEventArgs e)
        {
            if (e.FadeID == overfadeid)
            {
                overfadeprogress = e.Progress;
            }
            else
            {
                downfadeprogress = e.Progress;
            }

            if (ownerform != null)
            {
                ownerform.RedrawButtons();
            }
            else
            {
                Invalidate();
            }
        }