TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pierre Michallet
NA
41
1.6k
Why DispatcherTimer does not click?
Oct 14 2016 8:34 AM
This WPF application (VisualStudio 2015 Community and .NER Framework 4.5.1) is
expected, when a button is pressed, to write on the console, at a rate of one per second,
all the items contained in List<string> playList.
In fact, the DispatcherTimer_Tick method is never called and consequently playListIndex is never called and the program is stucked in the while loop.
Two files are attached:
MainWindow.xaml.cs
MainWindow.xaml
Thank you in advance for any help
Attachment:
DispatcherTimerTest.zip
Reply
Answers (
6
)
how to know if a dynamic cell of a dynamic grid is changed
wpf grdiview select all notworking