private void buttonX15_Click(object sender, EventArgs e) { if (!xprof.HasDashGPD) { return; } MultiAdder x = new MultiAdder(); if (x.ShowDialog() != DialogResult.OK) { return; } tabControl1.Enabled = false; foreach (ListViewItem y in x.listView1.Items) { try { GameGPD z = null; try { z = new GameGPD(y.SubItems[2].Text, Convert.ToUInt32(y.SubItems[1].Text, 16)); } catch { continue; } if (xprof.AddGame(z)) { listBox3.Items.Add(y.SubItems[0].Text + " (" + y.SubItems[1].Text + ")"); } else { SetList(); } z.Close(); } catch { } Application.DoEvents(); } SetNmric(GPDIDs.GCardCredit, textBoxX15); tabControl1.Enabled = true; }
private void buttonX15_Click(object sender, EventArgs e) { if (!xprof.HasDashGPD) return; MultiAdder x = new MultiAdder(); if (x.ShowDialog() != DialogResult.OK) return; tabControl1.Enabled = false; foreach (ListViewItem y in x.listView1.Items) { try { GameGPD z = null; try { z = new GameGPD(y.SubItems[2].Text, Convert.ToUInt32(y.SubItems[1].Text, 16)); } catch { continue; } if (xprof.AddGame(z)) listBox3.Items.Add(y.SubItems[0].Text + " (" + y.SubItems[1].Text + ")"); else SetList(); z.Close(); } catch { } Application.DoEvents(); } SetNmric(GPDIDs.GCardCredit, textBoxX15); tabControl1.Enabled = true; }