2

I have the following code...

MessageBox.Show("Your session has been remotely terminated.");
Application.ExitThread;

I am trying to figure out if there is a way to close the MessageBox automatically after a short period of time has elapsed if the user doesn't hit the 'Ok' button.

rene
  • 41,474
  • 78
  • 114
  • 152
Joshua Volearix
  • 313
  • 1
  • 2
  • 11

1 Answers1

0

you can also use Microsoft technology called UI Automation

swcraft
  • 2,014
  • 3
  • 22
  • 43