Click here to Skip to main content
16,005,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: .NET Ftp class problem Pin
Stevo Z1-Oct-07 3:11
Stevo Z1-Oct-07 3:11 
GeneralRe: .NET Ftp class problem Pin
Stevo Z1-Oct-07 3:17
Stevo Z1-Oct-07 3:17 
GeneralRe: .NET Ftp class problem [modified] Pin
TJoe1-Oct-07 3:20
TJoe1-Oct-07 3:20 
GeneralRe: .NET Ftp class problem Pin
Stevo Z1-Oct-07 3:44
Stevo Z1-Oct-07 3:44 
Questionitem in combobox Pin
justintimberlake30-Sep-07 22:20
justintimberlake30-Sep-07 22:20 
AnswerRe: item in combobox Pin
Stevo Z30-Sep-07 22:30
Stevo Z30-Sep-07 22:30 
QuestionHow to select and edit a line with Graphics GDI+ in C#? Pin
Seraph_summer30-Sep-07 22:11
Seraph_summer30-Sep-07 22:11 
AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Martin#30-Sep-07 22:25
Martin#30-Sep-07 22:25 
Hello,

You have to do it all by yourselve, AFAIK.

I think the fastest way is to handle the MouseDown and MouseUp event of the Panel.
Save the two MousePoints, as this will discripe an rectangle, SelectionRectangle.

Then you have to iterade over all your lines and validate each of the lines.
You could use the IntersectsWith method of the Rectangle class for that.


Hope it helps!

All the best,

Martin

AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Guffa30-Sep-07 22:43
Guffa30-Sep-07 22:43 
GeneralRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Seraph_summer30-Sep-07 22:53
Seraph_summer30-Sep-07 22:53 
GeneralRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Pete O'Hanlon30-Sep-07 22:58
mvePete O'Hanlon30-Sep-07 22:58 
AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Guffa1-Oct-07 0:40
Guffa1-Oct-07 0:40 
AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Christian Graus30-Sep-07 23:18
protectorChristian Graus30-Sep-07 23:18 
QuestionUpdate data base Pin
Tamimi - Code30-Sep-07 22:11
Tamimi - Code30-Sep-07 22:11 
GeneralRe: Update data base Pin
ESTAN30-Sep-07 22:32
ESTAN30-Sep-07 22:32 
GeneralRe: Update data base Pin
Tamimi - Code30-Sep-07 23:04
Tamimi - Code30-Sep-07 23:04 
AnswerRe: Update data base Pin
Mandaar Kulkarni1-Oct-07 0:48
Mandaar Kulkarni1-Oct-07 0:48 
QuestionLive Video Transmission using Windows Media Services Pin
DeepOceans30-Sep-07 21:47
DeepOceans30-Sep-07 21:47 
QuestionSet Parent Pin
Maddie from Dartford30-Sep-07 21:43
Maddie from Dartford30-Sep-07 21:43 
AnswerRe: Set Parent Pin
Guffa30-Sep-07 21:53
Guffa30-Sep-07 21:53 
AnswerRe: Set Parent Pin
Martin#30-Sep-07 22:06
Martin#30-Sep-07 22:06 
QuestionImage Combobox Pin
Xmen Real 30-Sep-07 21:39
professional Xmen Real 30-Sep-07 21:39 
AnswerRe: Image Combobox Pin
TJoe1-Oct-07 2:56
TJoe1-Oct-07 2:56 
QuestionCrystal report Problem [modified] Pin
Raza Hussain30-Sep-07 21:21
Raza Hussain30-Sep-07 21:21 
QuestionSystem.IO.File.Delete() Pin
M Riaz Bashir30-Sep-07 20:33
M Riaz Bashir30-Sep-07 20:33 

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.