public Section() { InitializeComponent(); timer1.Start(); label7.Text = SchoolYearModel.getSchoolYear(); }
public Admin() { InitializeComponent(); this.label5.Text = UserLog.getUserName(); this.label1.Text = UserLog.getRole(); this.label6.Text = SchoolYearModel.getSchoolYear(); }
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; } }
public GradeLevel() { InitializeComponent(); timer1.Start(); label4.Text = SchoolYearModel.getSchoolYear(); }