Пример #1
0
        public int getCountTest([PexAssumeUnderTest] MappingBLL target, string ids)
        {
            int result = target.getCount(ids);

            return(result);
            // TODO: add assertions to method MappingBLLTest.getCountTest(MappingBLL, String)
        }
Пример #2
0
 private void btnSyllabusMethod_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (ma.getCount(idpathsy) > 0)
     {
         Form checkformpsyllabussmethodmap = this.checkexist(typeof(GUI.Syllabus.GUI_Syllabus_MethodMapp));
         if (checkformpsyllabussmethodmap != null)
         {
             checkformpsyllabussmethodmap.Activate();
         }
         else
         {
             GUI.Syllabus.GUI_Syllabus_MethodMapp formsyllabusmethodmap = new GUI.Syllabus.GUI_Syllabus_MethodMapp();
             formsyllabusmethodmap.MdiParent = this;
             formsyllabusmethodmap.idS       = idpathsy;
             formsyllabusmethodmap.idp       = idpath;
             formsyllabusmethodmap.Show();
         }
     }
     else
     {
         MessageBox.Show("Hiện tại chưa có Ma Trận Liên Kết môn học để thực hiện Phương pháp đánh giá.\nVui lòng kiểm tra lại.");
     }
 }