コード例 #1
0
        public AnimationController(CollapsablePanel Ctrl)
        {
            pnl = Ctrl;

              mAnimationTimer = new System.Windows.Forms.Timer();
              mAnimationTimer.Tick += new EventHandler(AnimationTimer_Tick);
              mAnimationTimer.Interval = mAnimationFrameInterval;
        }
コード例 #2
0
        public void Dispose()
        {
            if(mAnimationTimer != null)
              {
            mAnimationTimer.Stop();
            mAnimationTimer.Dispose();
            mAnimationTimer = null;
              }

              pnl = null;
        }