Click here to Skip to main content
15,879,096 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Listview and tooltip popup for each cell? Pin
Xmen Real 28-Feb-09 1:34
professional Xmen Real 28-Feb-09 1:34 
GeneralRe: Listview and tooltip popup for each cell? Pin
syntax28uk28-Feb-09 2:03
syntax28uk28-Feb-09 2:03 
GeneralRe: Listview and tooltip popup for each cell? Pin
DaveyM6928-Feb-09 2:58
professionalDaveyM6928-Feb-09 2:58 
QuestionDesktop Calander [modified] Pin
WinSolution28-Feb-09 1:17
WinSolution28-Feb-09 1:17 
AnswerRe: Desktop Calander Pin
Searril28-Feb-09 4:34
Searril28-Feb-09 4:34 
GeneralRe: Desktop Calander Pin
Jaiprakash M Bankolli28-Feb-09 6:18
Jaiprakash M Bankolli28-Feb-09 6:18 
GeneralRe: Desktop Calander Pin
WinSolution28-Feb-09 6:49
WinSolution28-Feb-09 6:49 
QuestionHow To Get Local Printer status Pin
naeemnimi28-Feb-09 1:14
naeemnimi28-Feb-09 1:14 
AnswerRe: How To Get Local Printer status Pin
Philip.F28-Feb-09 5:44
Philip.F28-Feb-09 5:44 
QuestionTaking a Screenshot - but with performance :( Pin
prattel28-Feb-09 0:46
prattel28-Feb-09 0:46 
AnswerRe: Taking a Screenshot - but with performance :( Pin
PIEBALDconsult28-Feb-09 3:43
mvePIEBALDconsult28-Feb-09 3:43 
GeneralRe: Taking a Screenshot - but with performance :( Pin
prattel28-Feb-09 3:45
prattel28-Feb-09 3:45 
Questiontriplets extraction from sentence Pin
kinno27-Feb-09 21:59
kinno27-Feb-09 21:59 
AnswerRe: triplets extraction from sentence Pin
dan!sh 27-Feb-09 22:06
professional dan!sh 27-Feb-09 22:06 
Questionasp controls in web application Pin
Zeyad Jalil27-Feb-09 21:47
professionalZeyad Jalil27-Feb-09 21:47 
AnswerRe: asp controls in web application [modified] Pin
dan!sh 27-Feb-09 21:50
professional dan!sh 27-Feb-09 21:50 

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.