//        private ClsStudent _Student;
//        private FrmStudent _StudentForm; //  = new FrmStudent();
//        private FrmStudent _MOEStudentForm = new FrmMOEStudent();
//        private FrmStudent _IntStudentForm = new FrmInternationalStudent();
//        private FrmStudent _TOPStudentForm = new FrmTOPStudent();
//        private string[] StudentType = { "MOE (local)", "International", "TOP" };

        public FrmMain()
        {
            InitializeComponent();
            try
            {
                ClsInstitute.Retrieve();
                UpdatelblStudent();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
 private void btnClose_Click(object sender, EventArgs e)
 {
     Close();
     ClsInstitute.Save();
 }
 public void UpdatelblStudent()
 {
     lblStudent.Text = string.Format("{0} Student(s) \nTotal Balance: {1:C}",
                                     ClsInstitute.StudentList.Count, ClsInstitute.TotalBalance());
 }