[Solved] make a rectangle move in a different thread? [closed]
You are using the wrong timer. The System.Windows.Forms.Timer is made to run on the UI thread. This Windows timer is designed for a single-threaded environment where UI threads are used to perform processing. Your rectangle is not drawn because the Tick event is never fired! Solution: Use instead a timer that is made to run … Read more