Things needed:
*Your desired image.
*Photoshop or Paint.net(
).. - Edit your image make sure to remove the background.(some image has white background color) I uses paint.net to remove it.*VisualStudio
Instructions:
First make a new Windows Form Project :
Change BorderStyle to None:
Import a background image to your GUI:
BackgroundImageLayout should be : Stretch
Change the BackColor and the TransparencyKey to your desire color! Take note BackColor and TransparencyKey should be the same Color.:
In this case i use black:
BackColor:
TransparencyKey:
Set StartPosition to CenterScreen : so it will start at center of your screen. It doesnt really matter..
It should look like this:
YOU ARE GOOD TO GO!
Debug it.
This is what it looks like after:
Last part for draggable GUI:
Here some reference code to make it draggable:
Code:
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case 132:
base.WndProc(ref m);
if ((int)m.Result == 1)
m.Result = (IntPtr)2;
return;
}
base.WndProc(ref m);
}
There you go you have now your draggable borderless GUI!
Heres my custom AutoPatcher GUI:
PS: CREDITS TO OCULARIS FOR THE TEMPLATE!
Enjoy your new custom GUI! Good luck.






