예제 #1
0
        private void button_back_Click(object sender, RoutedEventArgs e)
        {
            this.Close();

            Window tmp = new manegerwind();

            tmp.ShowDialog();
        }
예제 #2
0
 //button
 private void GoBotton_Click(object sender, RoutedEventArgs e)
 {
     if (password_box.Password == x.code)
     {
         this.Close();
         Window tmp = new manegerwind();
         tmp.ShowDialog();
     }
     else
     {
         MessageBox.Show("הסיסמה שגויה,\n נסה שוב!", "ERROR", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }