public StudentIDCardManager()
        {
            _StudentEntityList = new List <JHSchool.Permrec.StudentExtendControls.Reports.DAL.StudentEntity>();
            GetUserDefineTemplateFromSystem();

            //// 新式 (都用高雄) 樣版
            //defalutTemplate = JHSchool.Permrec.StudentExtendControls.Reports.RptResource.學生證樣板_高雄_;
            //UseCountyType = CountyType.高雄;

            if (Program.ModuleType == Program.ModuleFlag.HsinChu)
            {
                defalutTemplate = JHSchool.Permrec.StudentExtendControls.Reports.RptResource.學生證樣板_新竹_New;
                // 寫法用高雄
                UseCountyType = CountyType.高雄;
            }
            else
            {
                defalutTemplate = JHSchool.Permrec.StudentExtendControls.Reports.RptResource.學生證樣板_高雄_;
                UseCountyType   = CountyType.高雄;
            }
        }
Exemple #2
0
        public StudentIDCardManagerOld()
        {
            _StudentEntityList = new List <JHSchool.Permrec.StudentExtendControls.Reports.DAL.StudentEntity>();
            GetUserDefineTemplateFromSystem();


            // 舊式用新竹原樣板
            defalutTemplate = JHSchool.Permrec.StudentExtendControls.Reports.RptResource.學生證樣版_新竹_;
            UseCountyType   = CountyType.新竹;


            //if (Program.ModuleType == Program.ModuleFlag.HsinChu)
            //{
            //    defalutTemplate = JHSchool.Permrec.StudentExtendControls.Reports.RptResource.學生證樣版_新竹_;
            //    UseCountyType = CountyType.新竹;

            //}
            //else
            //{
            //    defalutTemplate = JHSchool.Permrec.StudentExtendControls.Reports.RptResource.學生證樣板_高雄_;
            //    UseCountyType = CountyType.高雄;
            //}
        }