Setting.xaml.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Shapes;
  14. namespace nukakto
  15. {
  16. /// <summary>
  17. /// Логика взаимодействия для Setting.xaml
  18. /// </summary>
  19. public partial class Setting : Window
  20. {
  21. public Setting()
  22. {
  23. InitializeComponent();
  24. }
  25. private void Button_Click(object sender, RoutedEventArgs e)
  26. {
  27. this.Hide();
  28. Maps map = new Maps();
  29. map.Show();
  30. }
  31. private void Button_Click_1(object sender, RoutedEventArgs e)
  32. {
  33. this.Hide();
  34. StockWindow sto = new StockWindow();
  35. sto.Show();
  36. }
  37. private void Button_Click_2(object sender, RoutedEventArgs e)
  38. {
  39. this.Hide();
  40. OneWindow at = new OneWindow();
  41. at.Show();
  42. }
  43. }
  44. }