I did additional test, it may not be the the number of times. But rather the elapse time when I click the button since launching the first form.
What I realise is after launching the first screen, if I leave it there for 1 to 2 mins, and return to click on the button the samee error occures.
In addition,after clicking a couple of times in quick succession, I intentionally left the first sceen as it is over an elapse time of 1-2 mins. The same error occurs.
Not sure what is going on here.
The reason for doing it was I've got a
listing in a table with data from an xml generated by .net dataset. When I click on the a "Details" button of the selected, another form with details information related to current selected record is supposed to be shown.