Example #1
0
        private void SidebarChanged()
        {
            Timeline tmlCur = TimelineForSelectedSidebarButton();

            tmlCur.BringToFront();
            pnlSidebar.BringToFront();
            tmlCur.Visible           = true;
            tmlCur.Left              = this.ClientSize.Width;
            m_iTimelineChangeElapsed = 0;
            m_lmaTimelineChangeAnim  = new LinearMotionAnimation(new Point(this.ClientSize.Width, 0), new Point(pnlSidebar.Right, 0), 30, LinearMotionAnimation.MotionType.EaseIn);
            UpdateScrollBar();
            tmrTimelineChange.Enabled = true;
        }
Example #2
0
        private void SidebarChanged()
        {
            Timeline tmlCur = TimelineForSelectedSidebarButton();

            tmlCur.BringToFront();
            pnlSidebar.BringToFront();
            tmlCur.Visible = true;
            tmlCur.Left = this.ClientSize.Width;
            m_iTimelineChangeElapsed = 0;
            m_lmaTimelineChangeAnim = new LinearMotionAnimation(new Point(this.ClientSize.Width, 0), new Point(pnlSidebar.Right, 0), 30, LinearMotionAnimation.MotionType.EaseIn);
            UpdateScrollBar();
            tmrTimelineChange.Enabled = true;
        }