How to flush the user input buffer
Posted on 1997-10-10
Given a button that hides one form and shows another, if the user clicks the button twice, the second click will cause a click event to occur on the new form before it is displayed.
One solution is to flush the input cache during the "OnShow" handler of the second form. How is this accomplished?