Esempio n. 1
0
        private void next()
        {
            if (!mPage.mFreeze)
            {
                if (mWatch.IsRunning)
                {
                    mPage.mRTs.Add(mWatch.ElapsedMilliseconds);
                    mWatch.Stop();
                    mWatch.Reset();
                }

                mCountDown.Stop();
                mCountDown.Duration = 30;

                if (mtFlipper != null && mtFlipper.Enabled)
                {
                    mtFlipper.Enabled = false;
                }


                if (mCurAt == mSource.Count)
                {
                    mPage.next();
                }
                else
                {
                    show9CellsPad();
                    mCurAt++;
                }
            }
            else
            {
                mWatch.Stop();
            }
        }
Esempio n. 2
0
 public void next()
 {
     if (mItemAt == mSource.Count)
     {
         mPage.Cursor = Cursors.Hand;
         mPage.next();
     }
     else
     {
         mPage.Cursor = Cursors.None;
         showPair();
         mItemAt++;
     }
 }