private void blacklistToolStripMenuItem_Click(object sender, EventArgs e) { var frm = new frmBlacklist(); frm.ShowDialog(); if (Settings.Default.blacklist.Cast <string>().Any(appid => appid == CurrentBadge.StringId)) { btnSkip.PerformClick(); } }
////////////////////////////////////////CONTROLS//////////////////////////////////////// private void tsiBlacklist_Click(object sender, EventArgs e) { if (IsLoggedIn && _profile.Library.IsIdling) { StopIdle(); } frmBlacklist form = new frmBlacklist(); form.ShowDialog(); }
private void blacklistToolStripMenuItem_Click(object sender, EventArgs e) { frmBlacklist frm = new frmBlacklist(); frm.ShowDialog(); foreach (String appid in Properties.Settings.Default.blacklist) { if (appid == currentAppID) { btnSkip.PerformClick(); } } }
private void blacklistToolStripMenuItem_Click(object sender, EventArgs e) { var frm = new frmBlacklist(); frm.ShowDialog(); if (Settings.Default.blacklist.Cast<string>().Any(appid => appid == CurrentBadge.StringId)) btnSkip.PerformClick(); }