Exemple #1
0
        private void ButtonLogout_Click(object sender, RoutedEventArgs e)
        {
            AuthUser.Role          = "";
            AuthUser.Client        = null;
            AuthUser.RecipeCreator = null;
            PageLogin pageLogin = new PageLogin();

            ((MainWindow)Parent).Content = pageLogin;
        }
        private void ButtonLoginRedirect_Click(object sender, RoutedEventArgs e)
        {
            PageLogin PageLogin = new PageLogin();

            ((MainWindow)Parent).Content = PageLogin;
        }