Red.xaml.cs 697 B

12345678910111213141516171819202122232425262728293031
  1. using DemoPractick.VM;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Shapes;
  15. namespace DemoPractick
  16. {
  17. /// <summary>
  18. /// Логика взаимодействия для Red.xaml
  19. /// </summary>
  20. public partial class Red : Window
  21. {
  22. ViewModel VM;
  23. public Red(ViewModel VM)
  24. {
  25. InitializeComponent();
  26. DataContext = VM;
  27. }
  28. }
  29. }