/// <summary> /// Raises <see cref="SMISettingsDlg"/> to change the settings /// for this interface. /// </summary> public override void ChangeSettings() { var dlg = new SMISettingsDlg { SMISettings = this.smiSettings }; if (dlg.ShowDialog() == DialogResult.OK) { this.smiSettings = dlg.SMISettings; this.SerializeSettings(this.smiSettings, this.SettingsFile); } }
/// <summary> /// Raises <see cref="SMISettingsDlg"/> to change the settings /// for this interface. /// </summary> public override void ChangeSettings() { var dlg = new SMISettingsDlg { SMISettings = this.smiSettings }; if (dlg.ShowDialog() == DialogResult.OK) { this.smiSettings = dlg.SMISettings; this.SerializeSettings(this.smiSettings, this.SettingsFile); } }