示例#1
0
        public Form1()
        {
            InitializeComponent();

            Size = new Size(Properties.Resources.MenuWall.Width, Properties.Resources.MenuWall.Height);

            Help.Click += Help_Click;

            Musics.play_sound();
        }
示例#2
0
 private void Music_CheckedChanged(object sender, EventArgs e)
 {
     if (Music.Checked == true)
     {
         Musics.sound_on();
         Music.Text = "Music on";
     }
     else
     {
         Musics.sound_off();
         Music.Text = "Music off";
     }
 }