Esempio n. 1
0
 public RegistrarRecord()
 {
     InitializeComponent();
     timer1.Start();
     yrids       = yearController.fillComboSy(ref comboBox1);
     label6.Text = yearController.getSyActivated();
 }
Esempio n. 2
0
        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;
            }
        }
Esempio n. 3
0
 public Facilities()
 {
     InitializeComponent();
     label2.Text = UserLog.getRole();
     label3.Text = UserLog.getUserName();
     label4.Text = yrController.getSyActivated();
 }
Esempio n. 4
0
        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;
            }
        }
Esempio n. 5
0
 public TeacherFrm()
 {
     InitializeComponent();
     label1.Text = UserLog.getRole();
     label5.Text = UserLog.getUserName();
     label6.Text = yearController.getSyActivated();
     timer1.Start();
 }
Esempio n. 6
0
 public gradeReport(DataSet dataset, int sectionId, string subname)
 {
     InitializeComponent();
     ds          = dataset;
     sy          = yearController.getSyActivated();
     sectionName = sectionController.getSectionName(sectionId);
     gradeLevel  = sectionController.getSectionGrade(sectionId);
     subject     = subname;
 }
Esempio n. 7
0
        private void Classroom_Load(object sender, EventArgs e)
        {
            label5.Hide();
            label7.Hide();
            timer1.Start();
            label5.Text = yr.getSyActivated();
            syid        = yr.getSchoolYearId();

            refreshGrid();
        }
Esempio n. 8
0
        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);
        }
Esempio n. 9
0
        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");
        }
Esempio n. 10
0
        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;
            }
        }
Esempio n. 11
0
 public Subject(string a, string b, string c)
 {
     InitializeComponent();
     timer1.Start();
     label5.Text = YearController.getSyActivated();
 }
Esempio n. 12
0
 public addUserAccounts()
 {
     InitializeComponent();
     sy = yr.getSyActivated();
 }
Esempio n. 13
0
        public SchoolFees()
        {
            InitializeComponent();

            label6.Text = yrController.getSyActivated();
        }
Esempio n. 14
0
 public enrolledstudent(DataSet ds)
 {
     InitializeComponent();
     this.ds = ds;
     sy      = yearController.getSyActivated();
 }
Esempio n. 15
0
 public StudentForm()
 {
     InitializeComponent();
     currentSy = yearcontroller.getSyActivated();
     dateTimePicker1.MaxDate = DateTime.Now;
 }
Esempio n. 16
0
        private void Records_Load(object sender, EventArgs e)
        {
            label6.Text = yr.getSyActivated();

            timer1.Enabled = true;
        }
Esempio n. 17
0
 public RequirmentsRep(DataSet ds)
 {
     InitializeComponent();
     this.ds = ds;
     syLevel = yearController.getSyActivated();
 }