public TabDebugWindow(TabControlParts tab) { InitializeComponent(); _tab = tab; _vm = (TabControlPartsVM_FixedSupply)tab.DataContext; this.Title = _vm.Token.ToString(); _timer = new DispatcherTimer(); _timer.Interval = TimeSpan.FromMilliseconds(100); _timer.Tick += Timer_Tick; _timer.IsEnabled = true; }
public TabDebugWindow(TabControlParts tab) { InitializeComponent(); _tab = tab; _vm = (TabControlPartsVM_FixedSupply)tab.DataContext; this.Title = _vm.Token.ToString(); _timer = new DispatcherTimer(); _timer.Interval = TimeSpan.FromMilliseconds(100); _timer.Tick += Timer_Tick; _timer.IsEnabled = true; }