예제 #1
0
        private void btnSuaHang_Click(object sender, EventArgs e)
        {
            frmSuaHang frmSH = new frmSuaHang();

            frmSH.ShowDialog();
            loadDuLieu();
        }
예제 #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();
        }