S
Steve Bonner
I have a simple windows form app written in c# that contains a tab
controll with two tabs. When the app starts, it spawns a new thread
which checks a file every couple of seconds, if the file changes, the
thread changes the selected tab in the main form.
In the form, the tab changes, but does not drawn its contents
correctly (graphics from the previous tab show through). The tab
control is also no longer responsive. And if I click on it, the
application becomes unresponsive.
If I change the tab from the application directly, everything works
fine.
Does anyone have any suggestions on how I can debug this? or what
might be going on?
mike c
controll with two tabs. When the app starts, it spawns a new thread
which checks a file every couple of seconds, if the file changes, the
thread changes the selected tab in the main form.
In the form, the tab changes, but does not drawn its contents
correctly (graphics from the previous tab show through). The tab
control is also no longer responsive. And if I click on it, the
application becomes unresponsive.
If I change the tab from the application directly, everything works
fine.
Does anyone have any suggestions on how I can debug this? or what
might be going on?
mike c