pre-formatted block reformatter issue
-
Your colourizer is stumbling over arrays.
Private Sub InteropIsothermControl_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
'Retrieve our array of temperatures from our data access layer.
Dim IsothermColors As Double(,)
If Me.DesignMode Then
IsothermColors = New Double(,) {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}
Else
IsothermColors = IsothermDataProvider.GetIsothermTemperatures()
End IfCheck out the spans on the zeros. Only the last in each row is properly colourized.
Without darkness, there are no dreams. -Karla Kuban
-
Your colourizer is stumbling over arrays.
Private Sub InteropIsothermControl_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
'Retrieve our array of temperatures from our data access layer.
Dim IsothermColors As Double(,)
If Me.DesignMode Then
IsothermColors = New Double(,) {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}
Else
IsothermColors = IsothermDataProvider.GetIsothermTemperatures()
End IfCheck out the spans on the zeros. Only the last in each row is properly colourized.
Without darkness, there are no dreams. -Karla Kuban
Added to the bug list.
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP