123456789101112131415161718192021222324252627282930313233343536373839 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using Aitex.Core.UI.MVVM;
- using Triton160.UI.ViewModel;
- namespace Aitex.Triton160.UI.Views
- {
- /// <summary>
- /// Interaction logic for EventView.xaml
- /// </summary>
- public partial class JetEventView : UserControl
- {
- public JetEventView()
- {
- InitializeComponent();
- this.DataContext = new JetEventViewModel();
- this.IsVisibleChanged += JetEventView_IsVisibleChanged;
- }
- void JetEventView_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
- {
- (this.DataContext as TimerViewModelBase).EnableTimer(this.IsVisible);
- }
- }
- }
|