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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.