Torna al Thread

for (int i = 0; i < seedList.Count; i++) { Seed a = new Seed(); seedControlList[i].Harvest = seedList[i].pHarvest; // "Riferimento a un oggetto non impostato su un'istanza di oggetto." seedControlList[i].Xp = seedList[i].pXp; seedControlList[i].SeedName = seedList[i].pName; seedControlList[i].Cost = seedList[i].pCost; seedControlList[i].Sell = seedList[i].pSell; seedControlList[i].Click += new EventHandler(Click_Seed); Controls.Add(seedControlList[i]); }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5