Beispiel #1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            frmThemSuaNCC frm = new frmThemSuaNCC();

            frm.themnhacungcap += HamTHemNCC;
            frm.ShowDialog();
        }
Beispiel #2
0
        private void btnSua_Click(object sender, EventArgs e)
        {
            MaNCC = dgvNhaCungCap.SelectedRows[0].Cells["colMaNCC"].Value.ToString();
            frmThemSuaNCC frm = new frmThemSuaNCC(MaNCC);

            frm.suanhacungcap += HamSuaNCC;
            frm.ShowDialog();
        }