J
James
Hello,
I'm drawing to the window and want to then clear it to the standard
background colour.
However I get errors when trying either of the following:
Graphics g = CreateGraphics();
g.Clear(Parent.BackColor);
g.FillRectangle(new SolidBrush(Parent.BackColor), 0, 0, 600, 600);
Can anyone please help?
James Round
I'm drawing to the window and want to then clear it to the standard
background colour.
However I get errors when trying either of the following:
Graphics g = CreateGraphics();
g.Clear(Parent.BackColor);
g.FillRectangle(new SolidBrush(Parent.BackColor), 0, 0, 600, 600);
Can anyone please help?
James Round