public RegistrarRecord() { InitializeComponent(); timer1.Start(); yrids = yearController.fillComboSy(ref comboBox1); label6.Text = yearController.getSyActivated(); }
public Payment() { InitializeComponent(); label2.Text = yearController.getSyActivated(); label5.Text = UserLog.getUserName(); foreach (string grade in DataClass.getAllGrade()) { comboBox2.Items.Add(grade); } enStatus = en.getStatusEnrollment(); if (enStatus == 0) { button1.Enabled = false; button6.Enabled = false; } else { button1.Enabled = true; button6.Enabled = true; } }
public Facilities() { InitializeComponent(); label2.Text = UserLog.getRole(); label3.Text = UserLog.getUserName(); label4.Text = yrController.getSyActivated(); }
private void Login_Load(object sender, EventArgs e) { btnLogin.Enabled = false; txtUN.Hide(); txtUT.Hide(); DateTime my = DateTimeOffset.Now.DateTime.ToLocalTime().ToUniversalTime(); DateTime mys = DateTimeOffset.Now.UtcDateTime.ToLocalTime(); label7.Text = my.ToString("MM/dd/yyyy hh:mm:ss tt"); timer1.Enabled = true; isConnected = dbConnection.EstablishConnection(); if (isConnected) { label1.Text = "Connected"; sy = year.getSyActivated(); SchoolYearModel sc = new SchoolYearModel(sy); label6.Text = sy; label6.Visible = true; } }
public TeacherFrm() { InitializeComponent(); label1.Text = UserLog.getRole(); label5.Text = UserLog.getUserName(); label6.Text = yearController.getSyActivated(); timer1.Start(); }
public gradeReport(DataSet dataset, int sectionId, string subname) { InitializeComponent(); ds = dataset; sy = yearController.getSyActivated(); sectionName = sectionController.getSectionName(sectionId); gradeLevel = sectionController.getSectionGrade(sectionId); subject = subname; }
private void Classroom_Load(object sender, EventArgs e) { label5.Hide(); label7.Hide(); timer1.Start(); label5.Text = yr.getSyActivated(); syid = yr.getSchoolYearId(); refreshGrid(); }
public ClassListReport(DataSet ds, int sectionId) { InitializeComponent(); dataset = ds; syLevel = yearController.getSyActivated(); gradelevel = sectionController.getSectionGrade(sectionId); sectionName = sectionController.getSectionName(sectionId); teacherId = sectionController.getTeacherId(sectionId); adviserName = specializationController.AdviserName(teacherId); }
private void button3_Click(object sender, EventArgs e) { yearC.updateSY(int.Parse(dgSY.SelectedRows[0].Cells[0].Value.ToString())); yearC.fillDataGridSY(ref dgSY); SchoolYearModel.setSchoolYear(dgSY.SelectedRows[0].Cells[1].Value.ToString()); string sy = yearC.getSyActivated(); SchoolYearModel sc = new SchoolYearModel(sy); auditTrail.addAudit(label7.Text, "Activate School Year" + " " + sy); MessageBox.Show("Succesfully Updated School Year"); }
public RegistrarForm() { InitializeComponent(); label5.Text = UserLog.getUserName(); label1.Text = UserLog.getRole(); timer1.Start(); label6.Text = yearController.getSyActivated(); statusEn = en.getStatusEnrollment(); if (statusEn == 0) { btnEnroll.Enabled = false; } else { btnEnroll.Enabled = true; } }
public Subject(string a, string b, string c) { InitializeComponent(); timer1.Start(); label5.Text = YearController.getSyActivated(); }
public addUserAccounts() { InitializeComponent(); sy = yr.getSyActivated(); }
public SchoolFees() { InitializeComponent(); label6.Text = yrController.getSyActivated(); }
public enrolledstudent(DataSet ds) { InitializeComponent(); this.ds = ds; sy = yearController.getSyActivated(); }
public StudentForm() { InitializeComponent(); currentSy = yearcontroller.getSyActivated(); dateTimePicker1.MaxDate = DateTime.Now; }
private void Records_Load(object sender, EventArgs e) { label6.Text = yr.getSyActivated(); timer1.Enabled = true; }
public RequirmentsRep(DataSet ds) { InitializeComponent(); this.ds = ds; syLevel = yearController.getSyActivated(); }