Example #1
0
        private void btnthemsinhvien_Click(object sender, EventArgs e)
        {
            var f = new ThemSinhVien();

            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadDanhSachLopHoc();
            }
        }
Example #2
0
        private void btnsuasinhvien_Click(object sender, EventArgs e)
        {
            var sinhviendangchon = bdssinhvien.Current as Student;

            if (sinhviendangchon != null)
            {
                var f = new ThemSinhVien(sinhviendangchon);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    LoadDanhSachLopHoc();
                }
            }
        }
Example #3
0
        private void BtnBoSung_Click(object sender, EventArgs e)
        {
            ThemSinhVien form = new ThemSinhVien();

            form.Show();
        }