Hi Herfried,
Thanks for your reply.
I am not clicking on the toolbar, because it is disabled when operations
been carried out.
At the start it works cleanly, but after some time toolbar click event
handler doesn't work, means you can see the buttons are clicking but code
written in event procedure doesn't get executed.
At the same time other toolbar events like "Mouse_Leave" just works fine.
Is there any problem with click event handler?
I will try by adding eventhandler at runtime, when such problem occurs.
I will apreciate any other suggestion.
Thanks and regads,
Sakharam Phapale
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:up**************@TK2MSFTNGP15.phx.gbl...
"Sakharam Phapale" <sp******@annetsite.com> schrieb: I am working on a project, where maximum operations carried out on Files
and
multi-dimensional arrays. Since array data is huge application takes too
much memory.
My problem is, after few operations, toolbar on MDI from doesn't catch
"Click" event.
But it catch all other events like mouse leave etc.
The operation will "block" your main UI thread and prevent it from
processing events. You can put the operation into a separate thread to
keep the UI responding:
Multithreading in Windows Forms applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=multithreading&lang=en>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>