private void SetUp_Setting() { SettingForm sF = new SettingForm(this.Location); sF.ReadSetting(); sound.PlayTheme(true); sF.Close(); }
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(); }
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(); }