コード例 #1
0
        private void Easybtn_Click(object sender, EventArgs e)
        {
            ProgressBarlbl.Show();
            progressBar.Show();

            Easybtn.Hide();
            Mediumbtn.Hide();
            Hardbtn.Hide();
            Extremebtn.Hide();

            label1.Hide();
            label2.Hide();
            label3.Hide();
            label4.Hide();
            label5.Hide();
            label6.Hide();
            label7.Hide();
            label16.Hide();
            label21.Hide();
            label26.Hide();
            label31.Hide();
            label36.Hide();
            label41.Hide();
            label46.Hide();
            label51.Hide();
            label56.Hide();
            label57.Hide();

            Name1lbl.Hide();
            Name2lbl.Hide();
            Name3lbl.Hide();
            Name4lbl.Hide();
            Name5lbl.Hide();
            Name6lbl.Hide();
            Name7lbl.Hide();
            Name8lbl.Hide();
            Name9lbl.Hide();
            Name10lbl.Hide();

            Score1lbl.Hide();
            Score2lbl.Hide();
            Score3lbl.Hide();
            Score4lbl.Hide();
            Score5lbl.Hide();
            Score6lbl.Hide();
            Score7lbl.Hide();
            Score8lbl.Hide();
            Score9lbl.Hide();
            Score10lbl.Hide();

            EnemyKilled1lbl.Hide();
            EnemyKilled2lbl.Hide();
            EnemyKilled3lbl.Hide();
            EnemyKilled4lbl.Hide();
            EnemyKilled5lbl.Hide();
            EnemyKilled6lbl.Hide();
            EnemyKilled7lbl.Hide();
            EnemyKilled8lbl.Hide();
            EnemyKilled9lbl.Hide();
            EnemyKilled10lbl.Hide();

            BossesKilled1lbl.Hide();
            BossesKilled2lbl.Hide();
            BossesKilled3lbl.Hide();
            BossesKilled4lbl.Hide();
            BossesKille51lbl.Hide();
            BossesKilled6lbl.Hide();
            BossesKilled7lbl.Hide();
            BossesKilled8lbl.Hide();
            BossesKilled9lbl.Hide();
            BossesKilled10lbl.Hide();

            Difficult = 1;
            LoadTable();
        }