Drag a borderless window in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Drag a borderless window in c#

Ok, so I have window in c# that I created with vs community. All I have are 2 pictureboxes that display a grey area for the top of the window and an x button that closes the application. However, with FormBorderStyle set to none, the window becomes fixed and I can't move it around. Is there a fix for this? Or am I stuck using an annoying windows border? (This question seems a bit off topic, aka not Sololearn related, so feel free to tell me if it needs to be deleted)

4th Dec 2018, 7:15 PM
Daniel Cooper
Daniel Cooper - avatar
1 Answer