Exemple #1
0
        private void Opret_Clicked(object sender, MouseButtonEventArgs e)
        {
            stackwindow.Children.Clear();
            Adminview admin = new Adminview();

            stackwindow.Children.Add(admin);
        }
Exemple #2
0
        private void btnadmin_Click(object sender, RoutedEventArgs e)
        {
            Adminview admin = new Adminview();

            //btnadmin.Visibility = Visibility.Hidden;
            stackwindow.Children.Add(admin);
        }