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. Trapeze-shaped form...

Trapeze-shaped form...

Scheduled Pinned Locked Moved C#
question
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.
  • C Offline
    C Offline
    c_onica
    wrote on last edited by
    #1

    Hi everybody,I'm new here and I have a question... I'd like to create a form which would simulate a perspective view, so my form will have to have a trapeze shape. I don't want to use Region(myShape) because that will clip my form and I want to have the entire form. Thanks in advance for any suggestions.

    A 1 Reply Last reply
    0
    • C c_onica

      Hi everybody,I'm new here and I have a question... I'd like to create a form which would simulate a perspective view, so my form will have to have a trapeze shape. I don't want to use Region(myShape) because that will clip my form and I want to have the entire form. Thanks in advance for any suggestions.

      A Offline
      A Offline
      AB7771
      wrote on last edited by
      #2

      U have to create a image of the same shape as u want the form to be.(set some color in the image region e.g. black) then set this image as the background image of the form. and then set the transparency key of the form to the image's color i.e. Black Hope that works for u.

      Thanks & Regards, Pramod "Everyone is a genius at least once a year"

      C 1 Reply Last reply
      0
      • A AB7771

        U have to create a image of the same shape as u want the form to be.(set some color in the image region e.g. black) then set this image as the background image of the form. and then set the transparency key of the form to the image's color i.e. Black Hope that works for u.

        Thanks & Regards, Pramod "Everyone is a genius at least once a year"

        C Offline
        C Offline
        c_onica
        wrote on last edited by
        #3

        10x for the suggestion, but as I said, I want to know if there is a way to reshape the form, I dont want to use transparency keys or to overwrite OnPaint method

        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