Ejemplo n.º 1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            var f  = new ThemLop();
            var rs = f.ShowDialog();

            if (rs == DialogResult.OK)
            {
                LoadClassroom();
            }
        }
Ejemplo n.º 2
0
        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)
                {
                    LoadClassroom();
                }
            }
        }