Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
        private void tsiSettings_Click(object sender, EventArgs e)
        {
            if (IsLoggedIn && _profile.Library.IsIdling)
            {
                StopIdle();
            }

            frmSettings form = new frmSettings();

            form.ShowDialog();
        }
Exemplo n.º 3
0
        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;
            }
        }
Exemplo n.º 4
0
        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;
        }
Exemplo n.º 5
0
        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;
            }
        }
Exemplo n.º 6
0
        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;
            }            
        }
Exemplo n.º 7
0
 private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Form frm = new frmSettings();
     frm.ShowDialog();
 }
Exemplo n.º 8
0
        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;
            }
        }