I have two panels of equal length. Lets say 100x100 and I am drawing a line from (0,0) to (50,50) on both of the panels
This is the result of it. Both panels are transparent in color. Is it not possible to show the both the drawings together when two panels overlap each other?
panel1.CreateGraphics().DrawLine(new Pen(Color.Red,3),new Point(0,0), new Point(100,100));
panel2.CreateGraphics().DrawLine(new Pen(Color.Red,3),new Point(0,0), new Point(100,100));
The code is very basic.
Both panels draw a basic line via Pen.