コード例 #1
0
        protected override void OnClosed(EventArgs e)
        {
            if (SelectedCustomScriptProvider != null)
            {
                Settings.Default.DefaultScriptProvider = SelectedCustomScriptProvider.GetType().ToString();
                Settings.Default.Save();
            }

            base.OnClosed(e);
        }
コード例 #2
0
 private void AddCustomScript_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     AddScripts(SelectedCustomScriptProvider.GetTasks(this.DefaultDatabaseConnection));
 }