Пример #1
0
 private void btnThem_Click(object sender, EventArgs e)
 {
     _itemsp = new ItemSanPham("");
     _itemsp.ShowDialog();
     if (_itemsp.CheckkQ == true)
     {
         LoadData();
     }
 }
Пример #2
0
        private void btnSua_Click(object sender, EventArgs e)
        {
            string maSP = ShowSanPham.CurrentRow.Cells["MaSP"].Value.ToString();

            _itemsp = new ItemSanPham(maSP);
            _itemsp.ShowDialog();
            if (_itemsp.CheckkQ == true)
            {
                LoadData();
            }
        }