The DataSamples sample (pp. 291-303) in Expert F# has an annoying
flicker that can be fixed by adding the following line of code after
line 101:
do base.SetStyle(ControlStyles.AllPaintingInWmPaint |||
ControlStyles.UserPaint |||
ControlStyles.DoubleBuffer,
true)
If you're writing the code yourself, put the above line after this line in the GraphControl type:
do base.BackColor <- Color.DarkBlue