Exemplo n.º 1
0
        private void showInstruction()
        {
            clearAll();

            CompCentralText ct = new CompCentralText();

            ct.mText.Height = 125;
            ct.PutTextToCentralScreen("    呈现完12对词后,会有一个记忆测试,给出前面\r\n一个词,要求你点选出后面一个词。比如给出“太阳”,\r\n你就 …",
                                      "KaiTi", 32, ref amBaseCanvas, -250, Color.FromRgb(255, 255, 255));

            CompChinese9Cells cells = new CompChinese9Cells(this);

            String[] str = new String[] { "行", "地", "气", "热", "星", "月", "亮", "球", "圆" };
            cells.SetCharas(str);
            cells.SetQuest("太阳");
            cells.mfConfirm = instructionInteractionJudge;
            amBaseCanvas.Children.Add(cells);
            Canvas.SetTop(cells, FEITStandard.PAGE_BEG_Y + (FEITStandard.PAGE_HEIGHT - 515) / 2 + 75);
            Canvas.SetLeft(cells, FEITStandard.PAGE_BEG_X + (FEITStandard.PAGE_WIDTH - 800) / 2);

            CompCentralText ct2 = new CompCentralText();

            ct2.PutTextToCentralScreen("请用鼠标依次点选出“月”、“亮”二字作答 \r\n 然后点击“确定”进入下一页。",
                                       "KaiTi", 32, ref amBaseCanvas, 300, Color.FromRgb(0, 255, 0));
        }
Exemplo n.º 2
0
        private void show9CellsPad()
        {
            if (mCompHold != null)
            {
                mPage.amBaseCanvas.Children.Remove(mCompHold);
            }
            mCompHold = new CompChinese9Cells(mPage);

            mCompHold.SetQuest(mSource[mCurAt].Pair.First);
            mCompHold.SetCharas(mSource[mCurAt].Chars9);
            mCompHold.mfConfirm = confirmCheckNext;
            mPage.amBaseCanvas.Children.Add(mCompHold);
            Canvas.SetTop(mCompHold, FEITStandard.PAGE_BEG_Y + (FEITStandard.PAGE_HEIGHT - 515) / 2 + 60);
            Canvas.SetLeft(mCompHold, FEITStandard.PAGE_BEG_X + (FEITStandard.PAGE_WIDTH - 800) / 2);

            mPage.mOrders.Add(mCompHold.mSelectedOrder);
            mWatch.Start();

            mCountDown.Visibility = System.Windows.Visibility.Visible;

            if (!mPage.mFreeze)
            {
                mCountDown.Start();
            }
        }