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 -

Installing croogo for cakephp -