Beispiel #1
0
 private void btInAdmin_Click(object sender, RoutedEventArgs e)
 {
     if (tbPass.Password == "admin" && tbLog.Text == "admin")
     {
         Forms.MenuForm menuForm = new Forms.MenuForm();
         menuForm.Show();
         this.Close();
     }
 }
 private void btHome_Click(object sender, RoutedEventArgs e)
 {
     Forms.MenuForm menuForm = new MenuForm();
     menuForm.Show();
     this.Close();
 }