Ejemplo n.º 1
0
 /// <summary>
 ///		Inicializa el manager de vistas de DbStudio
 /// </summary>
 public void Initialize(PluginsStudio.Views.Base.Interfaces.IAppViewsController appViewsController,
                        PluginsStudio.ViewModels.Base.Controllers.IPluginsController pluginController)
 {
     AppViewsController = appViewsController;
     MainViewModel      = new BlogReaderViewModel(new Controllers.BlogController(this, pluginController));
     MainViewModel.Initialize();
     MainViewModel.ConfigurationViewModel.PathBlogs = @"C:\Users\Usuario\Documents\BauPlugStudio\BlogsData";
 }
Ejemplo n.º 2
0
 /// <summary>
 ///		Inicializa el manager de vistas de DbStudio
 /// </summary>
 public void Initialize(PluginsStudio.Views.Base.Interfaces.IAppViewsController appViewsController,
                        PluginsStudio.ViewModels.Base.Controllers.IPluginsController pluginController)
 {
     AppViewsController = appViewsController;
     MainViewModel      = new ViewModels.DbStudioViewModel("DbStudio", new Controllers.DbStudioController(this, pluginController));
 }