private void getPages()
 {
     String where = shfStudys[5] + "=#" + startTime + "#";
     IDataReader reader = database.query("R_SHFStudys",
         new String[] { shfStudys[2] }, where, "StudyID DESC");
     reader.Read();
     int pageID = reader.GetInt32(0);
     btSHFPages pages = new btSHFPages();
     page = pages.GetOne(pageID);
 }
 private void unrecord(int num)
 {
     int id = (int)arrayList[num];
     btSHFPages pages = new btSHFPages();
     btSHFPage page = pages.GetOne(id);
     record(page.ProgramID, page.PageID, false);
 }
示例#3
0
 private void unrecord(int num)
 {
     Console.Write(" " + num + ", itemCurrent=" + itemCurrent + ", itemLearned=" + itemLearned + "\n");
     int id = (int)arrayList[num];
     btSHFPages pages = new btSHFPages();
     btSHFPage page = pages.GetOne(id);
     record(page.ProgramID, page.PageID, false);
 }