[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Quick Help Needed Hense points

Posted on 2003-12-10
3
Medium Priority
?
221 Views
Last Modified: 2012-05-04
How do i create a label which uses two backcolors one for the top and one for bottom with the colors merging into each other?
HELP!
thanks in advavce
Chris
0
Comment
Question by:chris_shadow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
testn earned 2000 total points
ID: 9911603
0
 
LVL 10

Expert Comment

by:smegghead
ID: 9912036
I'm not sure what those links do, as they seem to be dead.. maybe it's just my browser.

So I'm sorry if I repeat what's in those links

But what you could do is just draw a rectangle on the screen behind the label, then just set the label's backcolor to be transparent.

Something like

e.Graphics.FillRectangle(new LinearGradientBrush(BoundsOfLabel,Color.LightGreen,Color.Green,30,true),BoundsOfLabel);

HTH

Smg
0
 

Author Comment

by:chris_shadow
ID: 9912090
thanks once again testn
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question