MDI child form flickered while opening.
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Jun 23, 2015, 2:24 AM EDT
Ranjit PowarRank #553 · 4.4K reputationPosted Jun 23, 2015, 2:40 AM EDT
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Jun 23, 2015, 5:00 AM EDT
// Stop the flicker
SetStyle(ControlStyles.DoubleBuffer, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
Ranjit PowarRank #553 · 4.4K reputationPosted Jun 24, 2015, 8:12 PM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jun 24, 2015, 8:57 PM EDT
Have you tried the following?
Put this in the constructor after the InitializeComponent.
Ranjit PowarRank #553 · 4.4K reputationPosted Jun 25, 2015, 9:41 PM EDT