Forms Get's Freezed in Visual C#

Hi Guys i am writing an application/project in which processing takes b/w 10-30 sec in the mean while when the processing takes place all the buttons in the forms get disabled/freezed until processing is completed... is there any way to enable the buttons during processing....


Scenario is like this when i press start button it calls/executes a function which is in another package which in turn calls the function in diff package the whole rountrip takes 10-30 seconds in mean while if user wants to stop the process abnormally it is not possible as cancel button is freezed can any one give some solution or hint for this problem,

Thanks and Regards,
Manjunath c.v.


Answer this question

Forms Get's Freezed in Visual C#

  • programmingisfun

    You have to use threading, but read something about it how it works because it's not as simple as just pushing the cancel button.

  • Forms Get's Freezed in Visual C#