private void Window_Loaded(object sender, RoutedEventArgs e) { var logInPage = new LogInPage(); logInPage.owner = this; ContentFrame.Navigate(logInPage); }
private void LogOut_MouseDown(object sender, MouseEventArgs e) { AdminMenu.Visibility = Visibility.Hidden; UserMenu.Visibility = Visibility.Hidden; var logInPage = new LogInPage(); logInPage.owner = this; ContentFrame.Navigate(logInPage); }