Hopefully a simple question for some but i'm stumped.
i have a winforms app in c#. i have my buildGraph in another class. when i declare this class i am parsing a few variables like the form handle and picturebox handle, the filename and such.
Everything is working but i'm finding that the UI hangs until the graph is built. i would like to show my wait animation while the graph is being built but can't workout how to build the graph on another thread.
I haven't been able to parse parameters to my buildgraph class via thread th = new thread(new threadstart(.......)); for example.
any help or pointers would be great.