hi there,

in Delphi, there is a control named TPaintBox which is similar to PictureBox but with a Canvas property that is very useful if we intend to do some drawing on it.

1. is there any control in C# like TPaintBox to draw something on it?

2. would you please write a simple code snippet in which a simple line is drawn on this control?

thanks for your time