public PagePortrailtMemory(MainWindow _mainWindow) { InitializeComponent(); mMainWindow = _mainWindow; this.Focus(); mLayoutInstruction = new LayoutInstruction(ref PortCanvas); mCountDown = new CompCountDown(); mCountDown.FunctionElapsed = autopage_processing; }
/*************************************提示各种限制控制**********************************************/ // public bool _Control_hide = false; public PagePaper(MainWindow _mainWindow) { InitializeComponent(); mMainWindow = _mainWindow; this.Focus(); mLayoutInstruction = new LayoutInstruction(ref mBaseCanvas); mCountDown = new CompCountDown(); mCountDown.FunctionElapsed = auto_processing; tipDisplay(); }
public OrganizerTest(PagePairedAsso page, List <StTest> source, String charNum) { mPage = page; mSource = source; mCharNum = charNum; mWatch = new Stopwatch(); mCountDown = new CompCountDown(); mCountDown.Duration = 30; mCountDown.FunctionElapsed = next; }
public PageVocabCommon(MainWindow _mainWindow, TestType type) { InitializeComponent(); mMainWindow = _mainWindow; mTestType = type; checkOutputFolder(); mSelections = new List <CompSeniorWords>(); mResults = new StVCResult[40]; prefillExtraItemzResult(); mTimer = new FEITTimer(); /*if (!mMainWindow.mDB.TableExists(Names.VOCAB_TABLENAME)) * { * mMainWindow.mDB.CreateVocabTable(SHEET_LENGTH); * }*/ mCountDown = new CompCountDown(); mCountDown.Duration = 30; mCountDown.FunctionElapsed = nextBtnDownCore; }
public PageCube(MainWindow _mainWindow) { InitializeComponent(); mMainWindow = _mainWindow; this.Focus(); mLayoutInstruction = new LayoutInstruction(ref mBaseCanvas); mLines = new List <List <string> >();//存放一套测试结果 // mLines.Capacity = line_num; resline = new List <string>(); mTimer = new FEITTimer(); rtime = new Stopwatch(); tf.Open(); //set record location and file name file_Loca = "Report\\CubeTest_result_file\\" + mMainWindow.mDemography.GenBriefString() + ".txt"; mTabCharter = new TabCharter(file_Loca);//写入硬盘 mCountDownUI = new CompCountDown(); mCountDownUI.FunctionElapsed = goNextQuestion; }