コード例 #1
0
 /// <summary>
 /// 填入學生其他資料
 /// </summary>
 /// <param name="fieldName">要填入的欄位名稱</param>
 /// <param name="students">要填入資料的學生</param>
 public void FillField(string fieldName, params StudentRecord[] students)
 {
     if (_Provider != null)
     {
         _Provider.FillField(fieldName, students);
     }
     if (FillingField != null)
     {
         FillingField.Invoke(this, new FillFieldEventArgs <StudentRecord>(_AccessHelper, fieldName, students));
     }
 }
コード例 #2
0
 /// <summary>
 /// 填入班級其他資料
 /// </summary>
 /// <param name="fieldName">要填入的欄位名稱</param>
 /// <param name="classes">要填入資料的班級</param>
 public void FillField(string fieldName, params ClassRecord[] classes)
 {
     if (_Provider != null)
     {
         _Provider.FillField(fieldName, classes);
     }
     if (FillingField != null)
     {
         FillingField.Invoke(this, new FillFieldEventArgs <ClassRecord>(_AccessHelper, fieldName, classes));
     }
 }
コード例 #3
0
 /// <summary>
 /// 填入學生其他資料
 /// </summary>
 /// <param name="fieldName">要填入的欄位名稱</param>
 /// <param name="students">要填入資料的學生</param>
 public void FillField(string fieldName, System.Collections.Generic.IEnumerable <StudentRecord> students)
 {
     if (_Provider != null)
     {
         _Provider.FillField(fieldName, students);
     }
     if (FillingField != null)
     {
         FillingField.Invoke(this, new FillFieldEventArgs <StudentRecord>(_AccessHelper, fieldName, students));
     }
 }
コード例 #4
0
 /// <summary>
 /// 填入教師其他資料
 /// </summary>
 /// <param name="fieldName">要填入的欄位名稱</param>
 /// <param name="teachers">要填入資料的教師</param>
 public void FillField(string fieldName, params TeacherRecord[] teachers)
 {
     if (_Provider != null)
     {
         _Provider.FillField(fieldName, teachers);
     }
     if (FillingField != null)
     {
         FillingField.Invoke(this, new FillFieldEventArgs <TeacherRecord>(_AccessHelper, fieldName, teachers));
     }
 }