CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    25

    Text message in a window on the fly

    In C#, if I select a menu item in a window (Radio Button), and press Select, it takes a short while before the next window pops up. How do I display in the menu window a 'Please Wait' message? I'm using WPF as my interface with C# as my underlying code. I tried putting a TextBlock in the XAML code, with "" as the Text Property. Then, when the Click_Select routine is called, changing the Text to 'Please Wait'. Doesn't work until the next window pops up. How do I redisplay the window to display immediately the message or is there a way to just display the message?

    Sutton

  2. #2
    Join Date
    Dec 2011
    Posts
    2

    Re: Text message in a window on the fly

    try "System.Windows.Forms.Application.DoEvents();"

    add a reference to System.Windows.Forms

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured