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;
        }
예제 #2
0
        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;
        }