Esempio n. 1
0
        private void pictureBox7_Click(object sender, EventArgs e)
        {
            timer2.Stop();
            timer4.Stop();

            email.Hide();
            calculator.Hide();
            musicplayer.Hide();
            books.Hide();
            pictureBox16.Show();
            Label6.Show();
            twittert.Hide();
            internet4.Visible = true;
            email.Visible     = true;
            books.Visible     = true;

            if (internet4.Visible == true)
            {
                amazon.Visible = false;
            }

            if (Properties.Settings.Default.calculator == "true")
            {
                calculator.Show();
            }

            if (Properties.Settings.Default.music == "true")
            {
                musicplayer.Show();
            }

            if (Properties.Settings.Default.twitter == "true")
            {
                twittert.Visible = true;
            }

            if (Properties.Settings.Default.Achievements == "true")
            {
                achievements.Show();
            }

            if (Properties.Settings.Default.xbox == "true")
            {
                xbox.Show();
            }

            if (Properties.Settings.Default.notepad == "true")
            {
                notepadbox.Visible = true;
            }

            if (Properties.Settings.Default.Achievements == "true")
            {
                achievements.Show();
            }
        }
Esempio n. 2
0
        private void PictureBox2_Click(object sender, EventArgs e)
        {
            Panel1.Size = new Size(136, 727);

            Button1.Show();
            Button2.Show();
            Button3.Show();
            Button4.Show();
            pictureBox1.Show();
            Label6.Show();

            PictureBox2.Hide();
        }