The manner I have used before is to use a wild color (a color no one in their right mind would use) for the BackColor and then set the transparency key to that.
this.BackColor = Color.LimeGreen;
this.TransparencyKey = Color.LimeGreen;
More Related Contents:
- Transparent background image for Form – Smooth edge shape for the Form
- How to change ListBox selection background color?
- Make a form’s background transparent
- Make overlapping picturebox transparent in C#.net
- Interaction between forms — How to change a control of a form from another form?
- How to access a form control for another form?
- Cursor.Current vs. this.Cursor
- Changing the user agent of the WebBrowser control
- How do I drag and drop files into an application?
- How to hide only the Close (x) button?
- How to handle click event in Button Column in Datagridview?
- How do you pass an object from form1 to form2 and back to form1?
- Force GUI update from UI Thread
- How do I execute code AFTER a form has loaded?
- Forms not responding to KeyDown events
- Foreach Control in form, how can I do something to all the TextBoxes in my Form?
- Why do I get “System.Data.DataRowView” instead of real values in my WinForms Listbox?
- How to highlight wrapped text in a control using the graphics?
- winforms html editor [closed]
- C#: multiline text in DataGridView control
- DataGridView keydown event not working in C#
- Detect change of resolution c# WinForms
- How do I center a window on the screen in C# & WinForms?
- Windows Forms application like Google Chrome with multiple processes
- Custom browsable property for Form at design time
- Prevent AutoSelect behavior of a System.Window.Forms.ComboBox (C#)
- Winforms TableLayoutPanel adding rows programmatically
- Int to string: cannot convert from ‘method group’ to ‘string’ [closed]
- How to determine the size of a string given a font
- How to pass string value from one form to another form’s load event in C #