private void btnthemlop_Click(object sender, EventArgs e) { var f = new frmLopchitiet(); 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 frmLopchitiet(lopDangChon); if (f.ShowDialog() == DialogResult.OK) { LoadDanhSachLopHoc(); } } }