Click here to Skip to main content
15,886,137 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web Browser Control link re-direction Pin
Josiah Smith23-Aug-06 13:36
Josiah Smith23-Aug-06 13:36 
GeneralRe: Web Browser Control link re-direction Pin
Josiah Smith31-Oct-06 7:41
Josiah Smith31-Oct-06 7:41 
QuestionAgregation vs Heredity Pin
Legolas_Bilbao23-Aug-06 8:37
Legolas_Bilbao23-Aug-06 8:37 
AnswerRe: Agregation vs Heredity Pin
Jun Du23-Aug-06 8:51
Jun Du23-Aug-06 8:51 
GeneralRe: Agregation vs Heredity Pin
Legolas_Bilbao23-Aug-06 21:12
Legolas_Bilbao23-Aug-06 21:12 
GeneralRe: Agregation vs Heredity Pin
Jun Du24-Aug-06 3:26
Jun Du24-Aug-06 3:26 
GeneralRe: Agregation vs Heredity Pin
Legolas_Bilbao25-Aug-06 8:15
Legolas_Bilbao25-Aug-06 8:15 
QuestionPainting a button Pin
kalyanPaladugu23-Aug-06 8:04
kalyanPaladugu23-Aug-06 8:04 
Iam trying to paint a button to get a shade in a button. Iam using a LinearGradientBrush. The code below Worked but it is taking away the
button1.text also.How do i get the text to show after the button is
painted.

void button1_Paint(object sender, PaintEventArgs e)
{
Graphics g = e.Graphics;
Rectangle rcView = this.ClientRectangle;

using (LinearGradientBrush brush = new LinearGradientBrush(rcView, this.ColorStart, this.ColorEnd, this.GradientMode))
{
g.FillRectangle(brush, rcView);
}
base.OnPaint(e);
}

ColorStart and ColorEnd are basically colors. Iam trying shade of the
color from lighter to darker across the button. So my ColorStart is a
little lighter color and ColorEnd is a Darker color.

Thanks
Kal

AnswerRe: Painting a button Pin
BarV23-Aug-06 8:08
BarV23-Aug-06 8:08 
AnswerRe: Painting a button Pin
Nader Elshehabi23-Aug-06 9:39
Nader Elshehabi23-Aug-06 9:39 
GeneralRe: Painting a button Pin
Christian Graus23-Aug-06 12:01
protectorChristian Graus23-Aug-06 12:01 
Questionone instance Pin
TAREQ F ABUZUHRI23-Aug-06 7:07
TAREQ F ABUZUHRI23-Aug-06 7:07 
AnswerRe: one instance Pin
Not Active23-Aug-06 7:59
mentorNot Active23-Aug-06 7:59 
AnswerRe: one instance Pin
Guffa23-Aug-06 8:02
Guffa23-Aug-06 8:02 
QuestionWYSIWYG Html control for Windows Form Pin
Nadia Monalisa23-Aug-06 6:56
Nadia Monalisa23-Aug-06 6:56 
AnswerRe: WYSIWYG Html control for Windows Form Pin
Chris Maunder23-Aug-06 17:06
cofounderChris Maunder23-Aug-06 17:06 
GeneralRe: WYSIWYG Html control for Windows Form Pin
emran83423-Aug-06 18:24
emran83423-Aug-06 18:24 
QuestionSafe Vs. Unsafe Pixel Processing... Pin
Shy Agam23-Aug-06 6:24
Shy Agam23-Aug-06 6:24 
AnswerRe: Safe Vs. Unsafe Pixel Processing... Pin
leppie23-Aug-06 6:51
leppie23-Aug-06 6:51 
Questionevent Pin
TAREQ F ABUZUHRI23-Aug-06 6:20
TAREQ F ABUZUHRI23-Aug-06 6:20 
AnswerRe: event Pin
Nader Elshehabi23-Aug-06 9:23
Nader Elshehabi23-Aug-06 9:23 
QuestionPainting a button Pin
kalyanPaladugu23-Aug-06 6:06
kalyanPaladugu23-Aug-06 6:06 
AnswerRe: Painting a button Pin
Nader Elshehabi23-Aug-06 9:35
Nader Elshehabi23-Aug-06 9:35 
GeneralRe: Painting a button Pin
kalyanPaladugu23-Aug-06 11:02
kalyanPaladugu23-Aug-06 11:02 
QuestionProject Pin
drc_no123-Aug-06 5:36
drc_no123-Aug-06 5:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.