Esempio n. 1
0
        private void btnThemSV_Click(object sender, EventArgs e)
        {
            var f  = new ThemSV();
            var rs = f.ShowDialog();

            if (rs == DialogResult.OK)
            {
                LoadSutdent();
            }
        }
Esempio n. 2
0
        private void btnSuaSV_Click(object sender, EventArgs e)
        {
            var sinhVienDangChon = bdsSinhVien.Current as Student;

            if (sinhVienDangChon != null)
            {
                var f = new ThemSV(sinhVienDangChon);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    LoadSutdent();
                }
            }
        }