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. General Programming
  3. .NET (Core and Framework)
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved .NET (Core and Framework)
3 Posts 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    [Message Deleted]

    M M 2 Replies Last reply
    0
    • L Lost User

      [Message Deleted]

      M Offline
      M Offline
      Marc 0
      wrote on last edited by
      #2

      Manaxter wrote:

      PS. Do I need to add it (l_IndexLabel) to a collection? Even if its part of the Slide class?

      You're on the right track: this.Controls.Add(l_IndexLabel); You only have to add it once, so the Slide constructor is probably the best place to add it.


      "..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.." -- Mark McCormick


      || Fold With Us! || Pensieve || VG.Net ||

      1 Reply Last reply
      0
      • L Lost User

        [Message Deleted]

        M Offline
        M Offline
        Marco Stinger
        wrote on last edited by
        #3

        As previously replyed all you need to do is add the control, ...but.... why do you need to add an extra label ? Isn't it simpler and faster to override the OnPaint event and draw a border and some text ? ..ciao Marco

        ;)

        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