RecipeMonitorView.xaml.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  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.Navigation;
  14. using System.Windows.Shapes;
  15. using Aitex.Core.UI.MVVM;
  16. using Aitex.Triton160.UI.ViewModel;
  17. namespace Aitex.Triton160.UI.Views
  18. {
  19. /// <summary>
  20. /// Interaction logic for RecipeMonitorView.xaml
  21. /// </summary>
  22. public partial class RecipeMonitorView : UserControl
  23. {
  24. public RecipeMonitorView()
  25. {
  26. InitializeComponent();
  27. this.DataContext = new RecipeMonitorViewModel();
  28. ((TimerViewModelBase)DataContext).EnableTimer(true);
  29. this.IsVisibleChanged += new DependencyPropertyChangedEventHandler(ProcessView_IsVisibleChanged);
  30. }
  31. void ProcessView_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
  32. {
  33. }
  34. }
  35. }