I have created custom picture buttons and now need to do some additional drawing in the main Form (that is using these buttons), so I overrode its OnPaint
method.
For some reason it is never called and I do not know why.
public partial class Form1: Form
{
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
}
}