Exemplo n.º 1
0
        private void buttonToAuthWin_Click(object sender, RoutedEventArgs e)
        {
            var w = new AuthorizationWindow(this);

            this.Close();
            w.Show();
        }
Exemplo n.º 2
0
        public MediaCenterWindow(AuthorizationWindow au)
        {
            InitializeComponent();
            NavigationService nav;

            nav = NavigationService.GetNavigationService(this);
            MovieCollectionPage mcp = new MovieCollectionPage();

            //nav.Navigate(mcp);
            frameMediaCenter.Navigate(mcp);
        }
Exemplo n.º 3
0
        public AdminMediaCentreWindow(AuthorizationWindow aw)
        {
            InitializeComponent();
            NavigationService nav;

            nav = NavigationService.GetNavigationService(this);
            AdminMovieCollectionPage mcp = new AdminMovieCollectionPage();

            //nav.Navigate(mcp);
            frameMediaCenterAdmin.Navigate(mcp);
        }