Ejemplo n.º 1
0
        private int UpdateMau()
        {
            int kq = 0;
            if (grdMaster.SelectedRows.Count != 0)
            {
                DataGridViewRow row = this.grdMaster.SelectedRows[0];
                string MaMauVaChePhamMau = row.Cells["MaMauVaChePhamMau"].Value.ToString();

                frmDanhMucMauChiTiet frmChiTiet = new frmDanhMucMauChiTiet();
                frmChiTiet.MaDM = MaMauVaChePhamMau;
                frmChiTiet.ShowDialog();
                LoadGridView();
            }
            return kq;
        }
Ejemplo n.º 2
0
 private int Insert()
 {
     int kq = 0;
     frmDanhMucMauChiTiet frmChiTiet = new frmDanhMucMauChiTiet();
     frmChiTiet.ShowDialog();
     LoadGridView();
     return kq;
 }