Beispiel #1
0
        public static void Main()
        {
            Catalog detail = RoleAclSource.Instance["學生"]["報表"];

            detail.Add(new ReportFeature("HsinChu.JHEvaluation.Student.Report0001", "轉學成績證明書"));

            MenuButton mb = MotherForm.RibbonBarItems["學生", "資料統計"]["報表"]["成績相關報表"]["轉學成績證明書"];

            mb.Enable = User.Acl["HsinChu.JHEvaluation.Student.Report0000"].Executable;
            mb.Click += delegate
            {
                TransferReportForm form = new TransferReportForm();
                form.ShowDialog();
            };
        }
Beispiel #2
0
        public static void Main()
        {
            Catalog detail = RoleAclSource.Instance["學生"]["報表"];

            detail.Add(new ReportFeature("HsinChu.JHEvaluation.Student.Report0001", "轉學成績證明書"));

            MenuButton mb = MotherForm.RibbonBarItems["學生", "資料統計"]["報表"]["成績相關報表"]["轉學成績證明書"];

            mb.Enable = User.Acl["HsinChu.JHEvaluation.Student.Report0000"].Executable;
            mb.Click += delegate
            {
                TransferReportForm form = new TransferReportForm();
                form.ShowDialog();
            };

            string URL轉學成績證明書 = "ischool/國中系統/學生/報表/成績/轉學證明書";

            FISCA.Features.Register(URL轉學成績證明書, arg =>
            {
                TransferReportForm form = new TransferReportForm();
                form.ShowDialog();
            });
        }