Ejemplo n.º 1
0
        public DefaultGreenzoneSettings(ZwinderStateManagerSettings settings, Action <ZwinderStateManagerSettings> saveSettings)
        {
            InitializeComponent();
            Icon = Properties.Resources.TAStudioIcon;

            _saveSettings = saveSettings;
            _settings     = settings;
            SettingsPropertyGrid.SelectedObject = _settings;
        }
        public GreenzoneSettings(ZwinderStateManagerSettings settings, Action <ZwinderStateManagerSettings, bool> saveSettings, bool isDefault)
        {
            InitializeComponent();
            Icon = Properties.Resources.TAStudioIcon;

            _saveSettings = saveSettings;
            _settings     = settings;
            _isDefault    = isDefault;
            if (!isDefault)
            {
                Text = "Savestate History Settings";
            }
            SettingsPropertyGrid.SelectedObject = _settings;
        }
 private void DefaultsButton_Click(object sender, EventArgs e)
 {
     _settings = new ZwinderStateManagerSettings();
     SettingsPropertyGrid.SelectedObject = _settings;
 }