C# After adding a background image, press the Tab key, the form flashes

Question: As I described, there are several text boxes in the form. After entering this, I want to enter the next one. I press the Tab key, and the form suddenly flashes.

Solution: Double-buffer the controls of the form.

this.DoubleBuffered=True;

Guess you like

Origin blog.csdn.net/weixin_44126152/article/details/107083843