public UserControl GetConfig(AutoExportPluginConfig configData)
 {
     var cnt = new FtpPluginConfig()
     {
         DataContext = new FtpPluginViewModel(configData)
     };
     return cnt;
 }
        public UserControl GetConfig(AutoExportPluginConfig configData)
        {
            var cnt = new FtpPluginConfig()
            {
                DataContext = new FtpPluginViewModel(configData)
            };

            return(cnt);
        }
        public bool Configure(AutoExportPluginConfig config)
        {
            FtpPluginConfig wnd = new FtpPluginConfig();

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