Ejemplo n.º 1
0
 public RadarWindow(List <Sensor> sensorList, Window1 authForm, DataEnterWindow dew)
 {
     InitializeComponent();
     this.sensorList = sensorList;
     this.authForm   = authForm;
     this.dew        = dew;
 }
Ejemplo n.º 2
0
 private void AuthButton_Click(object sender, RoutedEventArgs e)
 {
     if (LoginTB.Text == "admin" && PasswordTB.Password == "12456")
     {
         DataEnterWindow dew = new DataEnterWindow();
         dew.authWindow = this;
         dew.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Zdes' mogla bit' vasha reklama, no parol ne pravilniy(");
         MessageBox.Show("Raid: Shadow Legends - это пошаговая стратегия...");
     }
 }