/// <summary> /// Zeigt den Konfigurationsdialog an. /// </summary> /// <param name="owner">Das übergeordnete Fenster.</param> public void ShowConfiguration(IWin32Window owner) { // Create dialog using (var dialog = new ConfigurationDialog(this)) { // Nothing happend if (DialogResult.OK != dialog.ShowDialog(owner)) { return; } // Reset Clear(); // Forward OnConfigurationChanged(); } }
/// <summary> /// Zeigt den Konfigurationsdialog an. /// </summary> /// <param name="owner">Das übergeordnete Fenster.</param> public void ShowConfiguration( IWin32Window owner ) { // Create dialog using (var dialog = new ConfigurationDialog( this )) { // Nothing happend if (DialogResult.OK != dialog.ShowDialog( owner )) return; // Reset Clear(); // Forward OnConfigurationChanged(); } }