The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Great WinForms and GDI+ Tricks for spiffing up your application

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mark Levison

Posts: 877
Nickname: mlevison
Registered: Jan, 2003

Mark Levison an agile software developer who writes Notes from a tool user.
Great WinForms and GDI+ Tricks for spiffing up your application Posted: Sep 28, 2004 2:41 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Mark Levison.
Original Post: Great WinForms and GDI+ Tricks for spiffing up your application
Feed Title: Mark Levison
Feed URL: /WebLog/error.aspx?aspxerrorpath=/WebLog/mlevison/Rss.aspx
Feed Description: Musings on No Touch Deployment, .NET development and photography
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Mark Levison
Latest Posts From Mark Levison

Advertisement
Wesner Moise has some great tips in "Simple Changes To Spiff Up Your App UI". I especially like:
  • GDI+ alphablending and gradients. Most developers know about gradients, but few realize that gradients can be applied with one or more colors partially opaque (an alpha less than 255). For example by creating a new LinearGradientBrush(rect, Color.FromArgb(128, Colors.White), Color.FromArgb(0, Colors.White), 45) and applying it over the drawing area of a control after painting, you can add pseudo-lighting effects on control. Alphablending and gradients are often used to create gel buttons, often seen in the Macintosh.
I was already using a variation of this, doing it the hard way, on a per element in basis some of my charts. This could give me another tiny speedup.
This Blog Hosted On: http://www.DotNetJunkies.com/

Read: Great WinForms and GDI+ Tricks for spiffing up your application

Topic: The power of snow... Previous Topic   Next Topic Topic: Monkey Hacks Diebold Voting Machine...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use