Exemple #1
0
        /// <summary>
        /// Raises <see cref="AleaSettingsDialog"/> to change the settings
        /// for this interface.
        /// </summary>
        public override void ChangeSettings()
        {
            AleaSettingsDialog dlg = new AleaSettingsDialog();

            dlg.AleaSettings = this.Settings;

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.settings = dlg.AleaSettings;
                this.SerializeSettings(this.Settings, this.SettingsFile);
            }
        }
Exemple #2
0
    /// <summary>
    /// Raises <see cref="AleaSettingsDialog"/> to change the settings
    /// for this interface.
    /// </summary>
    public override void ChangeSettings()
    {
      AleaSettingsDialog dlg = new AleaSettingsDialog();
      dlg.AleaSettings = this.Settings;

      if (dlg.ShowDialog() == DialogResult.OK)
      {
        this.settings = dlg.AleaSettings;
        this.SerializeSettings(this.Settings, this.SettingsFile);
      }
    }