Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: windows version check Pin
harold aptroot28-Feb-09 10:17
harold aptroot28-Feb-09 10:17 
AnswerRe: windows version check Pin
Ravi Bhavnani28-Feb-09 8:48
professionalRavi Bhavnani28-Feb-09 8:48 
QuestionStrip progress bar using background thread while uploading file in C#? Pin
rasingh128-Feb-09 7:10
rasingh128-Feb-09 7:10 
AnswerRe: Strip progress bar using background thread while uploading file in C#? Pin
Ravi Bhavnani28-Feb-09 8:49
professionalRavi Bhavnani28-Feb-09 8:49 
QuestionRe: Strip progress bar using background thread while uploading file in C#? Pin
rasingh128-Feb-09 20:18
rasingh128-Feb-09 20:18 
AnswerRe: Strip progress bar using background thread while uploading file in C#? Pin
Ravi Bhavnani28-Feb-09 20:24
professionalRavi Bhavnani28-Feb-09 20:24 
GeneralRe: Strip progress bar using background thread while uploading file in C#? Pin
rasingh12-Mar-09 0:42
rasingh12-Mar-09 0:42 
GeneralRe: Strip progress bar using background thread while uploading file in C#? Pin
Ravi Bhavnani2-Mar-09 3:44
professionalRavi Bhavnani2-Mar-09 3:44 
GeneralRe: Strip progress bar using background thread while uploading file in C#? Pin
rasingh14-Mar-09 17:10
rasingh14-Mar-09 17:10 
GeneralRe: Strip progress bar using background thread while uploading file in C#? Pin
Ravi Bhavnani4-Mar-09 17:47
professionalRavi Bhavnani4-Mar-09 17:47 
GeneralRe: Strip progress bar using background thread while uploading file in C#? Pin
rasingh14-Mar-09 18:27
rasingh14-Mar-09 18:27 
QuestionFile caching C# Pin
satsumatable28-Feb-09 5:53
satsumatable28-Feb-09 5:53 
AnswerRe: File caching C# Pin
harold aptroot28-Feb-09 6:24
harold aptroot28-Feb-09 6:24 
QuestionI need real help from some of you! thanks. Pin
Seraph_summer28-Feb-09 4:18
Seraph_summer28-Feb-09 4:18 
AnswerRe: I need real help from some of you! thanks. Pin
Henry Minute1-Mar-09 2:10
Henry Minute1-Mar-09 2:10 
Questionhow to do the custom deployment of c# .net windows applications project ? Pin
pramod251728-Feb-09 4:10
pramod251728-Feb-09 4:10 
AnswerRe: how to do the custom deployment of c# .net windows applications project ? Pin
Calin Tatar28-Feb-09 4:16
Calin Tatar28-Feb-09 4:16 
GeneralRe: how to do the custom deployment of c# .net windows applications project ? Pin
pramod251728-Feb-09 5:51
pramod251728-Feb-09 5:51 
GeneralRe: how to do the custom deployment of c# .net windows applications project ? Pin
Calin Tatar28-Feb-09 13:17
Calin Tatar28-Feb-09 13:17 
QuestionProblem with Matrix control for rdlc file in win forms Pin
Member 305788728-Feb-09 3:32
Member 305788728-Feb-09 3:32 
Questionhow to watch on a directory Pin
WinSolution28-Feb-09 2:28
WinSolution28-Feb-09 2:28 
AnswerRe: how to watch on a directory Pin
[DK]KiloDunse28-Feb-09 2:31
[DK]KiloDunse28-Feb-09 2:31 
QuestionLogging file access Pin
[DK]KiloDunse28-Feb-09 2:25
[DK]KiloDunse28-Feb-09 2:25 
QuestionDrawing Borders' Corners [SOLVED] Pin
Xmen Real 28-Feb-09 1:31
professional Xmen Real 28-Feb-09 1:31 
I found the solution Wink | ;)

I'm drawing a gradient border for a control, everything is drawn but corners.
Here[^] is the screenshot, I tried to draw on top left corner but its looking odd.



Rectangle topLeftRect = new Rectangle(0, 0, borderThickness, borderThickness);

Rectangle topRect = new Rectangle(borderThickness, 0, this.Width - (borderThickness * 2), borderThickness);
Rectangle botRect = new Rectangle(borderThickness, this.Height - borderThickness - 1, this.Width - (borderThickness * 2), borderThickness);
Rectangle leftRect = new Rectangle(0, borderThickness, borderThickness, this.Height - (borderThickness * 2));
Rectangle rightRect = new Rectangle(this.Width - borderThickness - 1, borderThickness, borderThickness, this.Height - (borderThickness * 2));



e.Graphics.FillRectangle(new LinearGradientBrush(topRect, Color.Transparent, Color.Gray, 90, false), topRect);
e.Graphics.FillRectangle(new LinearGradientBrush(botRect, Color.Transparent, Color.Gray, 270, false), botRect);
e.Graphics.FillRectangle(new LinearGradientBrush(leftRect, Color.Transparent, Color.Gray, 0, false), leftRect);
e.Graphics.FillRectangle(new LinearGradientBrush(rightRect, Color.Transparent, Color.Gray, 180, false), rightRect);

e.Graphics.FillRectangle(new LinearGradientBrush(topLeftRect, Color.Transparent, Color.Gray, 35, false), topLeftRect);


TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can

modified on Saturday, February 28, 2009 7:47 AM

QuestionListview and tooltip popup for each cell? Pin
syntax28uk28-Feb-09 1:30
syntax28uk28-Feb-09 1:30 

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.