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. sraw method

sraw method

Scheduled Pinned Locked Moved C#
graphicshelp
5 Posts 5 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.
  • O Offline
    O Offline
    om_metab
    wrote on last edited by
    #1

    I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((

    H L D R 4 Replies Last reply
    0
    • O om_metab

      I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      How can we possibly help you? We cannot see the code that causes you these problems. The only thing that I can say is that if you are not drawing the rectangles in the panel's OnPaint event handler they will disappear each time the panel is redrawn.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

      1 Reply Last reply
      0
      • O om_metab

        I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        you did not provide any detail nor code, so all I can do is suggest you read this[^]. :)

        Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

        1 Reply Last reply
        0
        • O om_metab

          I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #4

          There are many members willing to help you, but your question is ambiguous. What actually is the problem?

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

          1 Reply Last reply
          0
          • O om_metab

            I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((

            R Offline
            R Offline
            RaviRanjanKr
            wrote on last edited by
            #5

            your question is not clear. please be clear while asking question so we can help you :)

            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