示例#1
0
 public RegistrarRecord()
 {
     InitializeComponent();
     timer1.Start();
     yrids       = yearController.fillComboSy(ref comboBox1);
     label6.Text = yearController.getSyActivated();
 }
示例#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;
            }
        }
示例#3
0
 public Facilities()
 {
     InitializeComponent();
     label2.Text = UserLog.getRole();
     label3.Text = UserLog.getUserName();
     label4.Text = yrController.getSyActivated();
 }
示例#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;
            }
        }
示例#5
0
 public TeacherFrm()
 {
     InitializeComponent();
     label1.Text = UserLog.getRole();
     label5.Text = UserLog.getUserName();
     label6.Text = yearController.getSyActivated();
     timer1.Start();
 }
示例#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;
 }
示例#7
0
        private void Classroom_Load(object sender, EventArgs e)
        {
            label5.Hide();
            label7.Hide();
            timer1.Start();
            label5.Text = yr.getSyActivated();
            syid        = yr.getSchoolYearId();

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

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

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