Paint event of panel not called when shrinking Form from right to left?
问题 I have a Form which has got a parent panel and it had got a child panel where I am drawing items using the drawing mechanism it works good as expected, but when I shrink my form from right to left it doesn't call child panels paint event while if I shrink a little from left to right and again spread it then it calls the paint event, how should I fix it? Below is my code. private void canvas_Paint(object sender, PaintEventArgs e) { drawString(e); this.Invalidate(); //this.Refresh(); //this