예제 #1
0
        private void VolumeCheckBoxClicked(object sender, EventArgs e)
        {
            MenuCheckBox buttonSender = (MenuCheckBox)sender;

            buttonSender.Change();
            GameSettings._Volume = buttonSender.IsChecked;
            GameSettings.SaveSettings();
        }
예제 #2
0
        private void FullScreenCheckBoxClicked(object sender, EventArgs e)
        {
            MenuCheckBox buttonSender = (MenuCheckBox)sender;

            buttonSender.Change();
            GameSettings._FullScreen = buttonSender.IsChecked;
            GameSettings.SaveSettings();
            GlobalDevices._GraphicsDeviceManager.IsFullScreen = GameSettings._FullScreen;
            GlobalDevices._GraphicsDeviceManager.ApplyChanges();
        }