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. C#
  4. ControlPaint.DrawBorder

ControlPaint.DrawBorder

Scheduled Pinned Locked Moved C#
questiongraphics
3 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.
  • S Offline
    S Offline
    Saksida Bojan
    wrote on last edited by
    #1

    I am currently using ControlPain.DrawBorder. it has 2 overloades.

    DrawBorder(Graphics, Rectangle, Color, Int32, ButtonBorderStyle,
    Color, Int32, ButtonBorderStyle, Color, Int32, ButtonBorderStyle,
    Color, Int32, ButtonBorderStyle)
    DrawBorder(Graphics, Rectangle, Color, ButtonBorderStyle)

    With first overload, each size can be set a line width. However the second overload it doesn't. Is this a always constant? if not how can I programaticly acquire this info?

    RaviBeeR 1 Reply Last reply
    0
    • S Saksida Bojan

      I am currently using ControlPain.DrawBorder. it has 2 overloades.

      DrawBorder(Graphics, Rectangle, Color, Int32, ButtonBorderStyle,
      Color, Int32, ButtonBorderStyle, Color, Int32, ButtonBorderStyle,
      Color, Int32, ButtonBorderStyle)
      DrawBorder(Graphics, Rectangle, Color, ButtonBorderStyle)

      With first overload, each size can be set a line width. However the second overload it doesn't. Is this a always constant? if not how can I programaticly acquire this info?

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      See SystemInformation[^]. /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      S 1 Reply Last reply
      0
      • RaviBeeR RaviBee

        See SystemInformation[^]. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        S Offline
        S Offline
        Saksida Bojan
        wrote on last edited by
        #3

        Thanks, that is just what i needed

        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