SIGN UP MEMBER LOGIN:    
ARTICLE

Transparent GUI in Windows Forms

Posted by Camilo III Lozano Articles | Windows Forms C# April 23, 2010
My article is about a prototype POS system for grocery stores or 24 hours mini marts using Transparency graphical user interface.
Reader Level:
Download Files:
 

My article is about a prototype POS system for grocery stores or 24 hours mini marts using Transparency graphical user interface.

Transparency in MS Visual C# works similar to chroma keys in Adobe After Effects or Premiere. All you have to do is set a color key to make it transparent.

1. As you create a form as Form1, go to Form1 properties and set TransparencyKey to Black.

2. Then set your Backcolor of your form to Black.

3. In Photoshop or any image editing tools, create an GUI or layout design then save as PNG format.

4. In Form1 properties, set BackgroundImage and select the PNG image you created from Photoshop or other image editing tools.

5. Set also the FormBorderStyle to None and Opacity to 95%.

6. Then run your project. You'll see the transparency works well. :)

See my sample source code.

Login to add your contents and source code to this article
share this article :
post comment
 

Thanx a lot...I was looking for the method since a long ago. ThanQ very much.

Posted by Prashant CSE Oct 16, 2010
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor