Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
AnswerRe: Selection in ListBox Pin
freakyit21-Jan-10 3:49
freakyit21-Jan-10 3:49 
GeneralRe: Selection in ListBox Pin
Anu_Bala24-Jan-10 16:41
Anu_Bala24-Jan-10 16:41 
QuestionHow to get shared folder sharing permission for certain user name or group? Pin
cyn820-Jan-10 22:43
cyn820-Jan-10 22:43 
AnswerRe: How to get shared folder sharing permission for certain user name or group? Pin
dan!sh 20-Jan-10 23:08
professional dan!sh 20-Jan-10 23:08 
QuestionParallel lines & rounded line Pin
AlexB4720-Jan-10 22:25
AlexB4720-Jan-10 22:25 
AnswerRe: Parallel lines & rounded line Pin
Anurag Gandhi20-Jan-10 23:02
professionalAnurag Gandhi20-Jan-10 23:02 
GeneralRe: Parallel lines & rounded line Pin
AlexB4720-Jan-10 23:39
AlexB4720-Jan-10 23:39 
AnswerRe: Parallel lines & rounded line Pin
dan!sh 20-Jan-10 23:03
professional dan!sh 20-Jan-10 23:03 
AlexB47 wrote:
The line is curve


Is it a curve or a straight line?

AlexB47 wrote:
My scope is to draw a rounded line of intere line


You mean circle?

Graphics class has methods like DrawLine, DrawCurve and DrawEllipse. Read about them and you should be able to do this.

Make sure you do your drawing in the Paint event and use PaintEventArgs.Graphics object to draw.

Drawing the parallel lines should be simple: get the X coordinate of the "end" from where you need to draw the parallel line. Then with same X coordinate, just change the Y and draw the line. Choice of Y coordinate would depend on the length of the parallel line segment you need to draw.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

GeneralRe: Parallel lines & rounded line Pin
AlexB4720-Jan-10 23:11
AlexB4720-Jan-10 23:11 
GeneralRe: Parallel lines & rounded line Pin
Rob Philpott20-Jan-10 23:34
Rob Philpott20-Jan-10 23:34 
GeneralRe: Parallel lines & rounded line Pin
AlexB4720-Jan-10 23:38
AlexB4720-Jan-10 23:38 
GeneralRe: Parallel lines & rounded line Pin
Rob Philpott21-Jan-10 0:01
Rob Philpott21-Jan-10 0:01 
GeneralRe: Parallel lines & rounded line Pin
Luc Pattyn21-Jan-10 1:22
sitebuilderLuc Pattyn21-Jan-10 1:22 
GeneralRe: Parallel lines & rounded line Pin
Martin#21-Jan-10 1:38
Martin#21-Jan-10 1:38 
GeneralRe: Parallel lines & rounded line Pin
AlexB4721-Jan-10 3:17
AlexB4721-Jan-10 3:17 
GeneralRe: Parallel lines & rounded line Pin
AlexB4731-Jan-10 20:28
AlexB4731-Jan-10 20:28 
QuestionRank my article please Pin
ADNANE-Dev20-Jan-10 22:23
ADNANE-Dev20-Jan-10 22:23 
AnswerRe: Rank my article please Pin
Calla20-Jan-10 22:27
Calla20-Jan-10 22:27 
AnswerRe: Rank my article please Pin
dan!sh 20-Jan-10 22:33
professional dan!sh 20-Jan-10 22:33 
AnswerRe: Rank my article please Pin
Keith Barrow20-Jan-10 23:36
professionalKeith Barrow20-Jan-10 23:36 
AnswerRe: Rank my article please Pin
Luc Pattyn21-Jan-10 1:25
sitebuilderLuc Pattyn21-Jan-10 1:25 
GeneralRe: Rank my article please Pin
Pete O'Hanlon21-Jan-10 3:01
mvePete O'Hanlon21-Jan-10 3:01 
AnswerRe: Rank my article please Pin
Pete O'Hanlon21-Jan-10 3:23
mvePete O'Hanlon21-Jan-10 3:23 
QuestionMemory consumption problem Pin
Eduard Keilholz20-Jan-10 22:20
Eduard Keilholz20-Jan-10 22:20 
AnswerRe: Memory consumption problem Pin
dan!sh 20-Jan-10 22:30
professional dan!sh 20-Jan-10 22: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.