/// <summary> /// Raises <see cref="TobiiSettingsDialog" /> to change the settings /// for this interface. /// </summary> public override void ChangeSettings() { var dlg = new TobiiSettingsDialog { TobiiSettings = this.tobiiSettings }; switch (dlg.ShowDialog()) { case DialogResult.OK: this.tobiiSettings = dlg.TobiiSettings; this.UpdateSettings(); this.SerializeSettings(this.tobiiSettings, this.SettingsFile); break; } }
/// <summary> /// Raises <see cref="TobiiSettingsDialog" /> to change the settings /// for this interface. /// </summary> public override void ChangeSettings() { var dlg = new TobiiSettingsDialog { TobiiSettings = this.tobiiSettings }; switch (dlg.ShowDialog()) { case DialogResult.OK: this.tobiiSettings = dlg.TobiiSettings; this.UpdateSettings(); this.SerializeSettings(this.tobiiSettings, this.SettingsFile); break; } }