private bool loadComponent()
        {
            this.student = CStudentBusiness.loadStudentInfor(this.strStudentId);
            if (student == null)
            {
                MessageBox.Show("Error load data!");
                return(false);
            }
            picStudentImage.Image = loadStudentImage();
            txtStudentName.Text   = student.StudentName;
            txtGenders.Text       = student.Genders?"Nam": "Nữ";
            txtDateOfBirth.Text   = student.DateOfBirth.Value.ToShortDateString();
            txtAddress.Text       = student.Address;

            return(true);
        }
        private bool loadComponent()
        {
            this.student = CStudentBusiness.loadStudentInfor(student.StudentId);
            if (student == null)
            {
                MessageBox.Show("Error load data!");
                return(false);
            }
            picStudentImage.Image = loadStudentImage();
            txtStudentName.Text   = student.StudentName;
            if (student.Genders)
            {
                rdoGenders.SelectedIndex = 0;
            }
            else
            {
                rdoGenders.SelectedIndex = 1;
            }
            txtDateOfBirth.Text = student.DateOfBirth.Value.ToShortDateString();
            txtAddress.Text     = student.Address;

            return(true);
        }