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. How to refresh child picturebox when moving (with mouse) on parent picturebox.

How to refresh child picturebox when moving (with mouse) on parent picturebox.

Scheduled Pinned Locked Moved C#
csharpcssvisual-studiocomhelp
1 Posts 1 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
    Chintan Desai
    wrote on last edited by
    #1

    HI guys, I have resize picturebox (say picMain) to the size of form.There are many picturebox inside picMain. Now I am moving child picturebox ( on mouse_move event) on picMain. I am getting refresh problem while dragging child picturebox. I had use Invalidate(),Update() and Refresh() method of current movable child picturebox but not getting precise solution. It seems like child picturebox ghost is following it. Child picturebox takes more times to refresh. Instead of picMain if I work with main form then it work very well. I think picturebox has less ability to refresh faster compare to form (am I write??). I want same effect as what we dragged item from visual studio toolbox and move around in the form.(its so smooth) pls give the solution thanks in advance.

    Regards Chintan www.visharadsoft.com (I am thinking to change humans to computer, but unfortunately GOD will not give me the source code)

    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