Exemplo n.º 1
0
        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();
 }
Exemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = new MainVM();
        }