private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Usermode1 um = new Usermode1();

            App.Current.MainWindow = um;
            um.Show();
            this.Close();
        }
        private void usermode_Click(object sender, RoutedEventArgs e)
        {
            Usermode1 user1 = new Usermode1();

            App.Current.MainWindow = user1;
            user1.Show();
            this.Close();
        }