private void btnThemLop_Click(object sender, EventArgs e) { var f = new ThemLop(); if (f.ShowDialog() == DialogResult.OK) { LoadDanhSachLopHoc(); } }
private void btnsualop_Click(object sender, EventArgs e) { var lopdangchon = bdslophoc.Current as Classroom; if (lopdangchon != null) { var f = new ThemLop(lopdangchon); if (f.ShowDialog() == DialogResult.OK) { LoadDanhSachLopHoc(); } } }