I am using the System.Drawing.Graphics.DrawLines(Pen pen, PointF[] points)
method in a multithreaded application, but the System.Drawing.Graphics
isn't shared between threads.
Why it keeps throwing the System.InvalidOperationException: The object is currently in use elsewhere
?