protected override void OnClosed(EventArgs e) { if (SelectedCustomScriptProvider != null) { Settings.Default.DefaultScriptProvider = SelectedCustomScriptProvider.GetType().ToString(); Settings.Default.Save(); } base.OnClosed(e); }
private void AddCustomScript_Executed(object sender, ExecutedRoutedEventArgs e) { AddScripts(SelectedCustomScriptProvider.GetTasks(this.DefaultDatabaseConnection)); }