Click here to Skip to main content
12,698,292 members (23,290 online)
Click here to Skip to main content

Stats

4.2K views
Posted

Can I Get Real Color After Apply Form Opacity?

, 6 Sep 2011 CPOL
I'm Drawing Rectangle using `Grahpics` Class(GDI+).And I have set the form's opacity to 30%.this is my code. Graphics gr = e.Graphics; Pen pen = new Pen(new SolidBrush(Color.FromArgb(255,Color.Red)),1); gr.Clear(this.BackColor); ...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available Yes 6-Sep-11 18:42 Available CS2011
2 No 5-Sep-11 20:40 Available Toniyo Jackson
1 No 5-Sep-11 20:36 Available rus204

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

rus204
Korea (Republic of) Korea (Republic of)
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 7 Sep 2011
Article Copyright 2011 by rus204
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid