/////////////////////////////////////////////////////////////////////////////// // Inherited methods // /////////////////////////////////////////////////////////////////////////////// #region OVERRIDES /// <summary> /// An implementation of this method should show a hardware /// system specific dialog to change its settings like /// sampling rate or connection properties. It should also /// provide a xml serialization possibility of the settings, /// so that the user can store and backup system settings in /// a separate file. These settings should be implemented in /// a separate class and are stored in a special place of /// Ogama's directory structure. /// </summary> /// <remarks>Please have a look at the existing implementation /// of the Smart Eye system in the namespace SmartEye.</remarks> public override void ChangeSettings() { var dlg = new SmartEyeSettingsDialog { SmartEyeSettings = this.smartEyeSettings }; switch (dlg.ShowDialog()) { case DialogResult.OK: this.smartEyeSettings = dlg.SmartEyeSettings; dlg.UpdateSmartEyeSettings(); this.SerializeSettings(this.smartEyeSettings, this.SettingsFile); break; } }