L
linda.chen
We have a window appliccation, which is written in .C# (.net 2003).
One of the feature of this application is to allow users to download
data from our repository database (Oracle) and then display the data.
The "download" dialog is simple: a window form with a progress bar and
a cancel button. The dialog closes itself when download is completed.
Our problem is: when data download starts, if a user click on the
cancel button, it does not response. The break point inside the
button_click event menthos is never reached. That also happens even
when I stop the progress bar update.
If I just open the dialog without downloading any data (comment out
downloading code), the cancel button responses correctly. I was able
to make break points in all event methods and test them.
Data downloading only take about 10% of my CPU process.
How do I fix this problem?
Thanks in advance.
Linda
One of the feature of this application is to allow users to download
data from our repository database (Oracle) and then display the data.
The "download" dialog is simple: a window form with a progress bar and
a cancel button. The dialog closes itself when download is completed.
Our problem is: when data download starts, if a user click on the
cancel button, it does not response. The break point inside the
button_click event menthos is never reached. That also happens even
when I stop the progress bar update.
If I just open the dialog without downloading any data (comment out
downloading code), the cancel button responses correctly. I was able
to make break points in all event methods and test them.
Data downloading only take about 10% of my CPU process.
How do I fix this problem?
Thanks in advance.
Linda