Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 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);
 }