protected override async void OnStartup(StartupEventArgs e) { base.OnStartup(e); mainWindowViewModel = new MainVM(); await displayRootRegistry.ShowModalPresentation(mainWindowViewModel); }
public ActualParsingModel(MainVM mainVM = null) { habrXmlDocument = habrXmlDocumentModel.habrXmlDocument; ListTitle = mainVM.listTitle; newListTitle = ActualParsingTitleNewHabr(); newListDate = ActualParsingPubDateNewHabr(); newListLink = ActualParsingLinkNewHabr(); newListDescription = ActualParsingDescriptionNewHabr(); }
public MainWindow() { InitializeComponent(); DataContext = new MainVM(); }