Question time over openFileDialog

rockieyou

New member
Joined
Jun 29, 2009
Messages
2
Programming Experience
3-5
I want to set a time limit over openFileDialog window, if, for example, 10 seconds elapsed without any user input, it will be killed automatically, how to implement that. any advice is appreciated!
 
One way to do it would be to add a DialogForm to your project and build all the controls and properties you would use, and also add a timer to it. Then in the timer tick event just close the form with a condition. The OpenFileDialog is a notInheritable class, thus making it harder to mimic. Maybe someone will have a better solution.
 
Last edited:
Back
Top