The form flickers upon loading.
I do the following to prevent it, but that does not help at all.
Private Sub frmNmeaPlayer_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
e.Graphics.DrawImage(background, New Point(0, 0))
End Sub
I do set
SetStyle(ControlStyles.DoubleBuffer Or ControlStyles.UserPaint, True) in form Load event.
If anyone has any suggestions, please advise.
I do the following to prevent it, but that does not help at all.
Private Sub frmNmeaPlayer_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
e.Graphics.DrawImage(background, New Point(0, 0))
End Sub
I do set
SetStyle(ControlStyles.DoubleBuffer Or ControlStyles.UserPaint, True) in form Load event.
If anyone has any suggestions, please advise.