Ejemplo n.º 1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         BasketWPF basketWPF = new BasketWPF(LOGIN, ADMIN);
         basketWPF.Show();
         this.Close();
     }
     catch
     {
         MessageBox.Show("Нет подключения к интернету");
     }
 }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         BasketWPF basketWPF = new BasketWPF(LOGIN, ADMIN);
         basketWPF.Show();
         this.Close();
     }
     catch
     {
         MessageBox.Show("Ошибка");
     }
 }