Esempio n. 1
0
        void putEmptyCellOn()
        {
            SubPageOrderSS sp_pos = new SubPageOrderSS(ref mPage, this);

            sp_pos.mCheckComponent.mTouchActivated = false;
            sp_pos.PutNumCheckToScreen(271, 160, 4, 4, 600, 240);
            ((UIGroupNumChecksSS)sp_pos.mCheckComponent).setPositionMode(true);
        }
Esempio n. 2
0
        public void showPosistionPage()
        {
            Mouse.OverrideCursor = Cursors.None;
            //record
            mPage.mRecorder.inters.Add(mContent[mGrpAt].Trails[mItemAt]);
            //mRecorder.segmentID.Add(mCurSpanAt + 1);

            SubPageOrderSS sp_pos = new SubPageOrderSS(ref mPage, this);

            sp_pos.mCheckComponent.mTouchActivated = false;
            sp_pos.PutNumCheckToScreen(271, 160, 4, 4, 600, 240);
            ((UIGroupNumChecksSS)sp_pos.mCheckComponent).setPositionMode(true);
            ((UIGroupNumChecksSS)sp_pos.mCheckComponent).setMarked(
                mContent[mGrpAt].Trails[mItemAt].Position);

            if (mItemAt == mContent[mGrpAt].Trails.Count - 1)
            {
                mfRoute = showOrderPage;
            }
            else
            {
                mfRoute = showSymmPage;
            }

            mItemAt++;

            Timer t = new Timer();

            t.Elapsed += new ElapsedEventHandler(showBlackPage);
            if (mPractise && mGrpAt == 0)
            {
                t.Interval = 2000;
            }
            else
            {
                t.Interval = 1000;
            }
            t.AutoReset = false;
            t.Enabled   = true;
        }