S
steve.a.bennett
Hi
My Windows Forms applications consists of a listview control
containing of approximately 1000 items, and a worker thread that
performs a lot of execution. After performing some portion of
execution I update the main UI by using a delegate on the main form to
call an update function on the GUI thread.
However, under times of high load my GUI seems to struggle to apply
the updates requested, and portions of the screen (other buttons etc)
are not repainted when I resize the window.
Does anyone have any ideas how I can improve the responsiveness of the
main window. It is important the list view is updated as execution in
the worker thread requires, whilst at the same time the remainder of
the window needs to stay responsive.
Thanks in advance.
My Windows Forms applications consists of a listview control
containing of approximately 1000 items, and a worker thread that
performs a lot of execution. After performing some portion of
execution I update the main UI by using a delegate on the main form to
call an update function on the GUI thread.
However, under times of high load my GUI seems to struggle to apply
the updates requested, and portions of the screen (other buttons etc)
are not repainted when I resize the window.
Does anyone have any ideas how I can improve the responsiveness of the
main window. It is important the list view is updated as execution in
the worker thread requires, whilst at the same time the remainder of
the window needs to stay responsive.
Thanks in advance.