'setup canvas for the visualise runway/wind
Dim cvs As Canvas
cvs.Initialize(pnlVisualise)
Dim rwy1 As Rect
Dim rwy2 As Rect
Dim rwy1Angle, rwy2Angle As Int
rwy1Angle = common.Val(lblRWY1L.Text) * 10
rwy2Angle = common.Val(lblRWY2L.Text) * 10
rwy1.Initialize(200dip,100dip,220dip,350dip)
cvs.DrawRectRotated(rwy1,Colors.Gray,True,5,rwy1Angle)
rwy2.Initialize(200dip,100dip,220dip,350dip)
cvs.DrawRectRotated(rwy2,Colors.DarkGray,True,5,rwy2Angle)
Activity.Invalidate
End Sub