Microsoft
Software
Hardware
Network
Question : Transparent Form (Only) in C#
I was just wondering how to make a form transparent (as in through 0% Opacity) but having all the controls showing up as usual (without becoming transparent too).. Thus showing only the controls without the back of the form... Thanks!
Answer : Transparent Form (Only) in C#
To not to make controls transparent but only the form, use TransparencyKey property like:
public Form2()
{
InitializeComponent();
//this.Opacity = 0.5;
this.TransparencyKey = BackColor;
}
Random Solutions
Sql Query New data at 9am only
Running Access VBA on Open Office Base
Draytek Vigor 2820 - x2 PPPOA ADSL connections
Access 2010 VBA - determining which "Yes/No" boxes are checked on a continupus form
Editable dropdown list in ASP.net 3.5 using C#
can I use my hard drive with XP and data on it with a system with replaced motherboard ?
Operation Must Use an Updateable Query
Restarting a WPF application to apply updates
SQL Reporting Services - OnPrint event
Intel VT vs. AMD-V for Hyper-V