public Student_Affairs_Officer_formcs()
 {
     InitializeComponent();
     officer_obj = new Officer();
     officer_obj.load();
     notify = false;
 }
Example #2
0
 public Officer_form(string mail)
 {
     Notify = false;
     InitializeComponent();
     current_officer_mail = mail;
     officer_obj          = new Officer();
     officer_obj.load();
     student_obj = new Student();
     student_obj.load();
 }
        private void Form1_Load(object sender, EventArgs e)
        {
            dean                 = student = officer = doctor = login = register = Student_Affairs_Officer = false;
            log_btn.Visible      = false;
            register_btn.Visible = false;
            ok_btn.Visible       = false;
            mail_txt.Visible     = false;
            password_txt.Visible = false;
            mail_lbl.Visible     = false;
            pass_lbl.Visible     = false;


            //#########################3
            student_obj = new Student();
            student_obj.load();

            doctor_obj = new Doctor();
            doctor_obj.load();
            Officer_obj = new Officer();
            Officer_obj.load();
        }