A simple way to snap a form to screen borders
Simple way to snap a form without borders to screen.
I was searching for a way to snap a form to the borders of the screen, like what Winamp does, and found one here. But my form was without border (FormBorderStyle = None) and the code I found here didn’t work great for the forms without border. It also seemed like a little complicated for the beginners (almost like me!) so I tried to write it myself and wrote a more simple and easy to understand code. This is also a very simple way to move forms without border.