Exemple #1
0
        public Section()
        {
            InitializeComponent();

            timer1.Start();
            label7.Text = SchoolYearModel.getSchoolYear();
        }
Exemple #2
0
        public Admin()

        {
            InitializeComponent();

            this.label5.Text = UserLog.getUserName();
            this.label1.Text = UserLog.getRole();
            this.label6.Text = SchoolYearModel.getSchoolYear();
        }
Exemple #3
0
        public EnrollmentAdmin()
        {
            InitializeComponent();
            this.label5.Text = UserLog.getUserName();
            this.label1.Text = UserLog.getRole();
            this.label6.Text = SchoolYearModel.getSchoolYear();

            statusEnrollment = en.getStatusEnrollment();
            if (statusEnrollment == 0)
            {
                btnEnroll.Enabled = true;
                btnRecord.Enabled = true;
                button2.Enabled   = true;
                button1.Enabled   = true;
            }
            else
            {
                btnEnroll.Enabled = false;
                btnRecord.Enabled = false;
                button2.Enabled   = false;
                button1.Enabled   = false;
            }
        }
Exemple #4
0
 public GradeLevel()
 {
     InitializeComponent();
     timer1.Start();
     label4.Text = SchoolYearModel.getSchoolYear();
 }