Hello,
this morning I saw some strange code from one of my coworkers. In an winforms application the whole Mainform was given into a thread as reference. He did this to invoke methods from the Form. Nothing to interact with the UI, just plain calculation methods. I am already sure this is not a best-practice but I wonder something. If I call methods from the Mainform from inside a thread are these methods still processed as multithreading? Or do they run inside the Mainform? Will the UI thread be affected when I call methods from the Mainfrom from a thread?