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
Sutton Mehaffey
NA
19
7.1k
Text Message in a window while waiting for an event to occur
Dec 9 2011 11:59 AM
I am trying to display a message like 'Please Wait...' in a window, while an event is taking place. I don't want a message box, because that requires a button press. I just want this to be message that I can display and erase.
I've tried adding a TextBlock in the window (WPF), with an initial value of "", then changing the value right before I start the event (in C#), but the message doesn't appear until after the event happens. The event I am doing is creating a window with removable drives, which takes a short amount of time. I think the message appears when the ShowDialog for the new window happens. How do I redraw/refresh the current window with the TexBlock before my event starts so that I get the 'Please Wait...' message immediately? Or, is there a different way of doing this?
Sutton
Reply
Answers (
5
)
Adjust grid size to window size?
Datagridview in WPF