Exemplo n.º 1
0
        void clickBlankMask500()
        {
            mPage.ClearAll();

            mComp = new UIGroupNumChecksSS();
            mComp.mTouchActivated = false;
            mComp.setPositionMode(true);
            putNumCheckToScreen(280, 160, 4, 4, 600, 240);

            Timer t = new Timer();

            t.Interval  = 500;
            t.AutoReset = false;
            t.Enabled   = true;
            t.Elapsed  += new ElapsedEventHandler(clickt_Elapsed);
        }
Exemplo n.º 2
0
        public void ShowPos(int pos)
        {
            Mouse.OverrideCursor = Cursors.None;
            mPage.ClearAll();

            mComp = new UIGroupNumChecksSS();
            mComp.mTouchActivated = false;
            mComp.setPositionMode(true);
            mComp.setMarked(pos);
            putNumCheckToScreen(280, 160, 4, 4, 600, 240);

            Timer posTm = new Timer();

            posTm.Interval  = 1000;
            posTm.AutoReset = false;
            posTm.Elapsed  += new ElapsedEventHandler(posTm_Elapsed);
            posTm.Enabled   = true;
        }
Exemplo n.º 3
0
        public void ShowOrder()
        {
            Mouse.OverrideCursor = Cursors.Hand;
            mComp = new UIGroupNumChecksSS();
            mPage.ClearAll();

            CompCentralText text = new CompCentralText();

            text.PutTextToCentralScreen(
                "请按顺序回忆红点出现过的位置", "KaiTi", 32, ref mPage.mBaseCanvas,
                -200, System.Windows.Media.Color.FromRgb(0, 255, 0));

            mComp.setPositionMode(false);
            //mComp.setMarked(-1);
            mComp.reset();
            putNumCheckToScreen(280, 160, 4, 4, 600, 240);
            putTriBtnToScreen(0, 450);

            mTriBtns.mBlankMethod   = mComp.jumpOver;
            mTriBtns.mClearMethod   = mComp.backErase;
            mTriBtns.mConfirmMethod = ShowInform;

            mWatch.Start();
        }