Пример #1
0
 public UserControl GetConfig(AutoExportPluginConfig configData)
 {
     var cntr = new PrintPluginConfig()
     {
         DataContext = new PrintPluginViewModel(configData)
     };
     return cntr;
 }
Пример #2
0
        public bool Configure(AutoExportPluginConfig config)
        {
            PrintPluginConfig wnd = new PrintPluginConfig();

            wnd.DataContext = new PrintPluginViewModel(config);
            wnd.Owner       = ServiceProvider.PluginManager.SelectedWindow as Window;
            wnd.ShowDialog();
            return(true);
        }
Пример #3
0
        public UserControl GetConfig(AutoExportPluginConfig configData)
        {
            var cntr = new PrintPluginConfig()
            {
                DataContext = new PrintPluginViewModel(configData)
            };

            return(cntr);
        }