c# - Moving form made of PictureBox -


I have a picture box that goes from one end to another. I do not have any FormBorderStyle set but when I I run the app so I can not take it anywhere

Is there a code that will help me solve this problem? I tried WndProc but did not work for me.

Hold mouse mouse, mouse down and mouseup events in your form MouseDown event, store relative mouse position Do and set a flag, move the form using the previously stored position and reset the flag.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -