Exemplo n.º 1
0
        private void SetUp_Setting()
        {
            SettingForm sF = new SettingForm(this.Location);

            sF.ReadSetting();
            sound.PlayTheme(true);
            sF.Close();
        }
Exemplo n.º 2
0
        private void SettingButton_Click(object sender, EventArgs e)
        {
            sound.Play(sound.click);
            Point       Location = new Point(this.Location.X + 150, this.Location.Y + 120);
            SettingForm sF       = new SettingForm(Location);

            sF.ShowDialog();
        }
Exemplo n.º 3
0
        private void SettingButton_Click(object sender, EventArgs e)
        {
            sound.Play(sound.click);
            Point       Location = new Point(this.Location.X + 250, this.Location.Y + 200);
            SettingForm sF       = new SettingForm(Location);

            //Pause
            sound.Play(sound.announce);
            timer.Stop();
            CheckBoard.HideChessBoard(true);
            //Setting
            sF.ShowDialog();
            //Unpause
            timer.Start();
            sound.Play(sound.announce);
            CheckBoard.HideChessBoard(false);
            Focus_Panel();
        }