private void Form1_Load(object sender, EventArgs e) { var genBossStruct = new Bosses(); _bosses = genBossStruct.Decode(WebClient.GetBosses()); UI_Updater.Enabled = true; }
private void DownloadButton_Click(object sender, EventArgs e) { UI_Updater.Enabled = false; var genBossStruct = new Bosses(); _bosses = genBossStruct.Decode(WebClient.GetBosses()); UI_Updater.Enabled = true; //MessageBox.Show("Completed"); GenerateBossPanels(); }