Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. pre-formatted block reformatter issue

pre-formatted block reformatter issue

Scheduled Pinned Locked Moved Site Bugs / Suggestions
data-structureshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    knockNrod
    wrote on last edited by
    #1

    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 If

    Check out the spans on the zeros. Only the last in each row is properly colourized.

    Without darkness, there are no dreams. -Karla Kuban

    C 1 Reply Last reply
    0
    • K knockNrod

      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 If

      Check out the spans on the zeros. Only the last in each row is properly colourized.

      Without darkness, there are no dreams. -Karla Kuban

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      Added to the bug list.

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups