Exemplo n.º 1
0
 public StartPageView(StartPageViewModel viewModel)
 {
     _viewModel = viewModel;
     viewModel.ErrorMessageEvent += ShowErrorMessage;
     DataContext = viewModel;
     InitializeComponent();
 }
Exemplo n.º 2
0
 public void TestInitialize()
 {
     mockDocumentManager = new Mock<IDocumentManager>();
     MassSpecStudio.Core.Properties.Settings.Default.RecentProjects = "test1.mssproj;test2.mssproj";
     viewModel = new StartPageViewModel(mockDocumentManager.Object);
 }