public UserControl GetConfig(AutoExportPluginConfig configData)
 {
     var cntr = new ExecuteFilePluginConfig()
     {
         DataContext = new ExecuteFilePluginViewModel(configData)
     };
     return cntr;
 }
Example #2
0
        public UserControl GetConfig(AutoExportPluginConfig configData)
        {
            var cntr = new ExecuteFilePluginConfig()
            {
                DataContext = new ExecuteFilePluginViewModel(configData)
            };

            return(cntr);
        }
        public bool Configure(AutoExportPluginConfig config)
        {
            ExecuteFilePluginConfig wnd = new ExecuteFilePluginConfig();

            wnd.DataContext = new ExecuteFilePluginViewModel(config);
            wnd.Owner       = ServiceProvider.PluginManager.SelectedWindow as Window;
            wnd.ShowDialog();
            return(true);
        }