public void LoadPageTwo() { var windowManager = new WindowManager(); var login = new FirstChildViewModel(); windowManager.ShowDialog(login); }
public FirstChildView() { InitializeComponent(); FirstChildViewModel fCWM = new FirstChildViewModel(); DataContext = fCWM; }
public void ArrangeBeforeEachTest() { secondChildViewModel = new SecondChildViewModel(); firstChildViewModel = new FirstChildViewModel(); auctionService = new AuctionService(); auctionRepos = new AuctionRepos(); userService = new UserService(); }
public void LoadFormOne() { MessageBox.Show("You are about to activate FirstChildViewModel"); var model = new FirstChildViewModel(); ActivateItem(model); window.ShowDialog(model); //or //window.ShowWindow(model); //For non-modal DeactivateItem(model); }