please test this:
The color it draw with is not SystemColor.Bac kColor but a different one. I don't know if it's by design or a bug. Can I do something to FillRectangle with pure color when double-buffered?
thank you!
If the image below is absent, please see this
Code:
public Form1()
{
InitializeComponent();
this.DoubleBuffered = true;
}
protected override void OnPaint(PaintEventArgs e)
{
e.Graphics.FillRectangle(new SolidBrush(BackColor), 0, 0, 50, 50);
base.OnPaint(e);
}
thank you!
If the image below is absent, please see this
Comment