Beispiel #1
0
        public static void HORN(Window window)
        {
            window.Close();
            hotOrNot r = new hotOrNot();

            r.Owner = window.Owner;
            r.Show();
        }
Beispiel #2
0
        private void ImageHotOrNot_MouseLeftButtonDown_1(object sender, MouseButtonEventArgs e)
        {
            this.Hide();
            hotOrNot rk = new hotOrNot();

            rk.Owner = (Owner as MainWindow);
            rk.Show();
        }
Beispiel #3
0
 private void btnlogin_Click(object sender, RoutedEventArgs e)
 {
     for (int i = 0; i < users.Count; i++)
     {
         if (txtusername.Text == users[i].username && Utils.EncryptClave(txtpassword.Password) == users[i].password)
         {
             hotOrNot h = new hotOrNot();
             h.Owner = this;
             h.Show();
             this.Hide();
         }
     }
 }