Esempio n. 1
0
 private void admin_Click(object sender, RoutedEventArgs e)
 {
     if (tbpass.Password == Password)
     {
         Forms.adminservis adminservis = new Forms.adminservis();
         adminservis.Show();
         this.Close();
     }
     else
     {
         MessageBox.Show("Неверный пароль админа");
     }
 }
Esempio n. 2
0
 private void BTHome_Click(object sender, RoutedEventArgs e)
 {
     Forms.adminservis adminservis = new adminservis();
     adminservis.Show();
     this.Close();
 }