Click here to Skip to main content
15,891,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to calculate the Profits and loses at the time of Inventory Year closing, when i use to run the ralated form, it put my Application to bussy state nothing else can be done until the current process is not completed, i want to handle it through Multi Threading Technique. So that i can work on other Forms as well at the same time when One Form is closing the year and performing calculations.
Posted
Updated 2-Apr-14 23:21pm
v2

1 solution

Move the code into a
BackgroundWorker[^] - the link includes an example, and the class can easily update a progress display.

[edit]Link updated - truncate bug[/edit]
 
Share this answer
 
v2
Comments
ZeeshanButt 3-Apr-14 6:37am    
OriginalGriff ! the link that you have provide Does contains anything
OriginalGriff 3-Apr-14 6:46am    
Sorry about that - it's a known bug: sometimes pasting a link into existing text truncates the link address when it automatically builds the HTML. Fixed.
ZeeshanButt 8-Apr-14 7:35am    
Never mind. Its ok originalgriff, the task has been done. I have putted the Entire code in .DoWork Event. Thanks for your intres

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900