Esempio n. 1
0
        private void btnSuaHang_Click(object sender, EventArgs e)
        {
            frmSuaHang frmSH = new frmSuaHang();

            frmSH.ShowDialog();
            loadDuLieu();
        }
Esempio n. 2
0
        private void btnSuaHang2_Click(object sender, EventArgs e)
        {
            Hang h = new Hang();

            h.MaHang = dgvHang.SelectedRows[0].Cells[0].Value.ToString();
            frmSuaHang formSuaHang = new frmSuaHang(h);

            formSuaHang.ShowDialog();
            loadDuLieu();
        }