/// <summary>
 /// 取得班級課程規劃表
 /// </summary>
 /// <param name="classRecord"></param>
 /// <returns></returns>
 private JHProgramPlanRecord GetProgramPlan(JHClassRecord classRecord)
 {
     if (string.IsNullOrEmpty(classRecord.RefProgramPlanID))
     {
         return(null);
     }
     else
     {
         return(JHProgramPlan.SelectByID(classRecord.RefProgramPlanID));
     }
 }
        protected override void OnCancelButtonClick(EventArgs e)
        {
            JHProgramPlanRecord programPlanRecord = JHProgramPlan.SelectByID(_programPlanID);

            if (programPlanRecord != null)
            {
                SetComboBoxSelection(programPlanRecord);
            }
            else
            {
                SetComboBoxSelection(null);
            }

            base.OnCancelButtonClick(e);
        }