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