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
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
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.