I have a simple widget I'm building, a button that does something when you click it, and something else when you click it again.
I plan on hiding the border via this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
, but when I do this, I lose the ability to move the window around.
How do I allow my button to be moved when the mouse button is held down, and the button to be activated when the mouse button is clicked?