Exemplo n.º 1
0
        private void BtnThem_Click(object sender, EventArgs e)
        {
            frmThemNhanVien frmthem = new frmThemNhanVien();

            frmthem.ThemThanhCong += FillGridView;
            frmthem.ThemThanhCong += NhatKyThem;
            frmthem.ShowDialog();
        }
Exemplo n.º 2
0
        private void BtnSua_Click(object sender, EventArgs e)
        {
            if (CurRowIndex >= 0)
            {
                NhanVien nv = LayNVDangChon();

                frmThemNhanVien frmSua = new frmThemNhanVien(nv);
                frmSua.CapNhatThanhCong += FillGridView;
                frmSua.CapNhatThanhCong += NhatKySua;
                frmSua.ShowDialog();
            }
        }