Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
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 
Iam trying to paint a button to get a shade in a button. How do i do it.
Iam using this code below. Iam using a LinearGradientBrush but it doesn't
seem to do anything

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 just get the 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
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 
AnswerRe: Project Pin
User 171649223-Aug-06 7:58
professionalUser 171649223-Aug-06 7:58 
GeneralRe: Project Pin
Not Active23-Aug-06 8:01
mentorNot Active23-Aug-06 8:01 
GeneralRe: Project Pin
User 171649223-Aug-06 8:35
professionalUser 171649223-Aug-06 8:35 
GeneralRe: Project Pin
drc_no123-Aug-06 8:55
drc_no123-Aug-06 8:55 
GeneralRe: Project Pin
Not Active23-Aug-06 9:04
mentorNot Active23-Aug-06 9:04 
QuestionCircular layout algorithm Pin
Vitaliy Tsvayer23-Aug-06 5:11
Vitaliy Tsvayer23-Aug-06 5:11 
AnswerRe: Circular layout algorithm Pin
Ravi Bhavnani23-Aug-06 5:30
professionalRavi Bhavnani23-Aug-06 5:30 
QuestionLogical Expressions Evaluation... Pin
Shy Agam23-Aug-06 4:49
Shy Agam23-Aug-06 4:49 
AnswerRe: Logical Expressions Evaluation... Pin
Kevin McFarlane23-Aug-06 4:54
Kevin McFarlane23-Aug-06 4:54 
AnswerRe: Logical Expressions Evaluation... Pin
Nader Elshehabi23-Aug-06 5:01
Nader Elshehabi23-Aug-06 5:01 
QuestionBardcode reader query Pin
Rocky#23-Aug-06 4:19
Rocky#23-Aug-06 4:19 
AnswerRe: Bardcode reader query Pin
Nader Elshehabi23-Aug-06 4:51
Nader Elshehabi23-Aug-06 4:51 
GeneralRe: Bardcode reader query Pin
Rocky#24-Aug-06 4:09
Rocky#24-Aug-06 4:09 
QuestionConnect to a remote server Pin
pranu_1323-Aug-06 4:09
pranu_1323-Aug-06 4:09 

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.