Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            DataAccess.InitializeDatabase();
            LoginSystem.InitializeLoginSystem();
            LoginMenu loginMenu = new LoginMenu();

            mainFrame.NavigationService.Navigate(loginMenu);
        }
Exemplo n.º 2
0
        private void logoutBtn_Click(object sender, RoutedEventArgs e)
        {
            LoginMenu loginMenu = new LoginMenu();

            this.NavigationService.Navigate(loginMenu);
        }