public Inactive_State() { InitializeComponent(); Count = 0; MaxCount = MaxCount.GiveCount(); PIReel = PIReel.Paths(); DispatcherTimer Timer = new DispatcherTimer(); Timer.Interval = TimeSpan.FromSeconds(3); Timer.Tick += dispatcherTimer_Tick; Timer.Start(); PIBtn.Focus(); }