예제 #1
0
 public UserControl GetConfig(AutoExportPluginConfig configData)
 {
     var cntr = new CopyFilePluginConfig()
     {
         DataContext = new CopyFilePluginViewModel(configData)
     };
     return cntr;
 }
예제 #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);
        }