Menu.xaml.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 kursach_2._0.Windows
  15. {
  16. /// <summary>
  17. /// Логика взаимодействия для Menu.xaml
  18. /// </summary>
  19. public partial class Menu : Window
  20. {
  21. public Menu()
  22. {
  23. InitializeComponent();
  24. }
  25. private void InvoicesClick(object sender, RoutedEventArgs e)
  26. {
  27. Windows.Invoices inv = new Windows.Invoices();
  28. inv.Show();
  29. Close();
  30. }
  31. private void HandbooksClick(object sender, RoutedEventArgs e)
  32. {
  33. Windows.Handbooks hb = new Windows.Handbooks();
  34. hb.Show();
  35. Close();
  36. }
  37. private void ProfileClick(object sender, RoutedEventArgs e)
  38. {
  39. Windows.Profile prof = new Windows.Profile();
  40. prof.Show();
  41. Close();
  42. }
  43. private void Button_Click(object sender, RoutedEventArgs e)
  44. {
  45. MainWindow mw = new MainWindow();
  46. mw.Show();
  47. Close();
  48. }
  49. }
  50. }