Exemplo n.º 1
0
 public UserControl GetConfig(AutoExportPluginConfig configData)
 {
     var cntr = new CopyFilePluginConfig()
     {
         DataContext = new CopyFilePluginViewModel(configData)
     };
     return cntr;
 }
Exemplo n.º 2
0
        public UserControl GetConfig(AutoExportPluginConfig configData)
        {
            var cntr = new CopyFilePluginConfig()
            {
                DataContext = new CopyFilePluginViewModel(configData)
            };

            return(cntr);
        }
        public bool Configure(AutoExportPluginConfig config)
        {
            var wnd = new CopyFilePluginConfig
            {
                DataContext = new CopyFilePluginViewModel(config),
                Owner       = ServiceProvider.PluginManager.SelectedWindow as Window
            };

            wnd.ShowDialog();
            return(true);
        }