private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { // Show the form String previous = Properties.Settings.Default.sort; frmSettings frm = new frmSettings(); frm.ShowDialog(); if (previous != Properties.Settings.Default.sort) { stopIdle(); badgesLeft.Clear(); tmrReadyToGo.Enabled = true; } if (Properties.Settings.Default.showUsername) { lblSignedOnAs.Text = "Signed in as " + GetUserName(Properties.Settings.Default.steamLogin.Substring(0, 17)); lblSignedOnAs.Visible = true; } else { lblSignedOnAs.Visible = false; } }
private void tsiSettings_Click(object sender, EventArgs e) { if (IsLoggedIn && _profile.Library.IsIdling) { StopIdle(); } frmSettings form = new frmSettings(); form.ShowDialog(); }
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { // Show the form String previous = Properties.Settings.Default.sort; frmSettings frm = new frmSettings(); frm.ShowDialog(); if (previous != Properties.Settings.Default.sort) { stopIdle(); badgesLeft.Clear(); tmrReadyToGo.Enabled = true; } }
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { // Show the form var previous = Settings.Default.sort; var frm = new frmSettings(); frm.ShowDialog(); if (previous != Settings.Default.sort) { StopIdle(); AllBadges.Clear(); tmrReadyToGo.Enabled = true; } if (Settings.Default.showUsername) { lblSignedOnAs.Text = "Signed in as " + GetUserName(); } lblSignedOnAs.Visible = Settings.Default.showUsername; }
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { // Show the form String previous = Settings.Default.sort; Boolean previous_behavior = Settings.Default.OnlyOneGameIdle; Form frm = new frmSettings(); frm.ShowDialog(); if (previous != Settings.Default.sort || previous_behavior != Settings.Default.OnlyOneGameIdle) { StopIdle(); AllBadges.Clear(); tmrReadyToGo.Enabled = true; } if (Settings.Default.showUsername && IsCookieReady) { lblSignedOnAs.Text = SteamProfile.GetSignedAs(); lblSignedOnAs.Visible = Settings.Default.showUsername; } }
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { // Show the form String previous = Settings.Default.sort; Boolean previous_behavior = Settings.Default.OnlyOneGameIdle; Boolean previous_behavior2 = Settings.Default.OneThenMany; Form frm = new frmSettings(); frm.ShowDialog(); if (previous != Settings.Default.sort || previous_behavior != Settings.Default.OnlyOneGameIdle || previous_behavior2 != Settings.Default.OneThenMany) { StopIdle(); AllBadges.Clear(); tmrReadyToGo.Enabled = true; } if (Settings.Default.showUsername && IsCookieReady) { lblSignedOnAs.Text = SteamProfile.GetSignedAs(); lblSignedOnAs.Visible = Settings.Default.showUsername; } }
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { Form frm = new frmSettings(); frm.ShowDialog(); }