コード例 #1
0
ファイル: ScheduleBLLTest.cs プロジェクト: mintaz/Demo-SEP
        public List <SyllabusSchedule> SingleScheTest([PexAssumeUnderTest] ScheduleBLL target, string id)
        {
            List <SyllabusSchedule> result = target.SingleSche(id);

            return(result);
            // TODO: add assertions to method ScheduleBLLTest.SingleScheTest(ScheduleBLL, String)
        }
コード例 #2
0
 void loaddata()
 {
     if (id != "")
     {
         rtAct.Text      = ss.SingleSche(id).Single().Activites;
         rtContent.Text  = ss.SingleSche(id).Single().LectureContent;
         rtDoc.Text      = ss.SingleSche(id).Single().Doc;
         ckMid.Checked   = ss.SingleSche(id).Single().mid.Value;
         dtTime.Value    = ss.SingleSche(id).Single().Day.Value;
         txtPeriods.Text = ss.SingleSche(id).Single().NumberPeriods.ToString();
     }
     else
     {
         dtTime.Value    = DateTime.Now;
         rtAct.Text      = "";
         rtContent.Text  = "";
         rtDoc.Text      = "";
         txtPeriods.Text = "";
     }
     txtcount.Text = ss.getsto(idS);
 }