How To- Custom Form Border

Use this board to post your code snippets - tips and tricks
6 posts Page 1 of 1
Contributors
User avatar
Coolblade
VIP - Site Partner
VIP - Site Partner
Posts: 126
Joined: Mon Oct 24, 2011 7:04 pm

How To- Custom Form Border
Coolblade
First make or find a good picture to use then go to vb and set fromborderstyle to none then change background image to the picture you want as theme then add picturebox's over the X/-/

CODES

Maximize Form
Code: Select all
Me.WindowState= FormWindowState.Mazimized
Minimize Form
Code: Select all
Me.WindowState= FormWindowState.Minimized
Close Form
Code: Select all
Application.Exit
http://www.codingpalace.tk/
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: How To- Custom Form Border
Agust1337
You know... using screen shots, helps a lot, when I say a lot, I mean a lot...
Or well, could be much better.
You're crazy!
I'm not crazy, my mother had me tested. ~Sheldon Cooper
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: How To- Custom Form Border
MrAksel
Why did you put this under XNA? This is normal .NET
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Coolblade
VIP - Site Partner
VIP - Site Partner
Posts: 126
Joined: Mon Oct 24, 2011 7:04 pm

Re: How To- Custom Form Border
Coolblade
oH i didnt mean to
http://www.codingpalace.tk/
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: How To- Custom Form Border
clanc789
For the Maximumbuttoncode you better use this:
If Me.WindowState = FormWindowState.Maximized Then
Me.WindowState = FormWindowState.Normal
Else Me.WindowState = FormWindowState.Maximized
End If
Practice makes perfect!

VIP since: 6-10-2011
User avatar
Coolblade
VIP - Site Partner
VIP - Site Partner
Posts: 126
Joined: Mon Oct 24, 2011 7:04 pm

Re: How To- Custom Form Border
Coolblade
I know i was to lazy
http://www.codingpalace.tk/
6 posts Page 1 of 1
Return to “Quick Snips”