Make form1 transparent, and have a picture box (The GUI) over it, then add your buttons etc
Form1 Properties > Backcolor > Transparent
There is another way to do that, I just can't remember it
i am working on a project and i want to make a gui.
how can i cut out edges to make them transparent??
Example:
Make form1 transparent, and have a picture box (The GUI) over it, then add your buttons etc
Form1 Properties > Backcolor > Transparent
There is another way to do that, I just can't remember it
2vivi (01-11-2010)
go to form opacity and set it to zero i think.
wait, that will prolly make the picture box transparent to..
2vivi (01-11-2010)
(do it programatically)
or use transparencyKeyCode:Private Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.Opacity = 0 ' or Me.Opacity = 0.0 , can't remember End Sub
There are also ways of using custom shapes + GDI for the same effect, but it's a little more complexCode:Me.FormBorderStyle = _ System.Windows.Forms.FormBorderStyle.None Me.TransparencyKey = System.Drawing.Color.Green 'or whatever your backround color is
Last edited by NextGen1; 01-11-2010 at 10:02 AM.
Can be... But still an alternative programatically, I prefer to give code versus built in properties, it's good to know how to do it on the fly, if necessary .
but also keep in mind, if not done right , Opacity can be tricky as well, opacity can make the whole form and it's controls transparent (by default inherit) so keep that in mind as well
k thanks guys ill try it out
Thanks for this! really helps!
-Rest in peace leechers-
Your PM box is 100% full.