Click here to Skip to main content
16,018,202 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parsing source code and matching methods with regex Pin
Genbox25-Feb-07 2:25
Genbox25-Feb-07 2:25 
QuestionHow To Create transparent Form Pin
Ankush Komarwar24-Feb-07 2:00
Ankush Komarwar24-Feb-07 2:00 
AnswerRe: How To Create transparent Form Pin
sharpiesharpie24-Feb-07 6:51
sharpiesharpie24-Feb-07 6:51 
QuestionDatagrid without a Table Pin
Nooie24-Feb-07 0:34
Nooie24-Feb-07 0:34 
AnswerRe: Datagrid without a Table Pin
tgrt24-Feb-07 7:10
tgrt24-Feb-07 7:10 
QuestionPutting image to right of text in ListView ColumnHeader. Pin
David Fleming23-Feb-07 22:02
David Fleming23-Feb-07 22:02 
QuestionCustomizing WINDOW? Pin
Member 323963623-Feb-07 21:57
Member 323963623-Feb-07 21:57 
AnswerRe: Customizing WINDOW? Pin
Christian Graus23-Feb-07 22:23
protectorChristian Graus23-Feb-07 22:23 
wrote:
as soon as possible..


This is not the way to ask. People will answer, when they can.

You need to do two things. First, you need to handle the mousedown event, and store the co-ordinates where the user clicks, into a List<point> or something.

Second, you need to handle your forms Paint routine, and if you have more than two points stored, you need to iterate over them and draw lines onto your form.

You force your paint routine to run by calling Invalidate().


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

Questionsetting start up form Pin
sarojkumarjena23-Feb-07 18:25
sarojkumarjena23-Feb-07 18:25 
AnswerRe: setting start up form Pin
Stefan Troschuetz23-Feb-07 21:10
Stefan Troschuetz23-Feb-07 21:10 
GeneralRe: setting start up form Pin
sarojkumarjena23-Feb-07 21:38
sarojkumarjena23-Feb-07 21:38 
GeneralRe: setting start up form Pin
Stefan Troschuetz23-Feb-07 21:44
Stefan Troschuetz23-Feb-07 21:44 
GeneralRe: setting start up form Pin
Christian Graus23-Feb-07 22:25
protectorChristian Graus23-Feb-07 22:25 
QuestionHow to get the Name of the Item in ListView? Pin
Khoramdin23-Feb-07 17:36
Khoramdin23-Feb-07 17:36 
AnswerRe: How to get the Name of the Item in ListView? Pin
Christian Graus23-Feb-07 18:07
protectorChristian Graus23-Feb-07 18:07 
AnswerRe: How to get the Name of the Item in ListView? [modified] Pin
Khoramdin24-Feb-07 4:17
Khoramdin24-Feb-07 4:17 
Questionplaying mp3 in csharp using wmp [modified] Pin
MoKaLux23-Feb-07 15:02
MoKaLux23-Feb-07 15:02 
Questionpass large xmlstring to sql server 2000 stored proc Pin
arkiboys23-Feb-07 10:49
arkiboys23-Feb-07 10:49 
AnswerRe: pass large xmlstring to sql server 2000 stored proc Pin
Mark J. Miller23-Feb-07 12:24
Mark J. Miller23-Feb-07 12:24 
GeneralRe: pass large xmlstring to sql server 2000 stored proc Pin
arkiboys24-Feb-07 8:55
arkiboys24-Feb-07 8:55 
GeneralRe: pass large xmlstring to sql server 2000 stored proc Pin
Mark J. Miller26-Feb-07 2:10
Mark J. Miller26-Feb-07 2:10 
Questionhttp/1.0 425 http Error Pin
LCI23-Feb-07 9:55
LCI23-Feb-07 9:55 
AnswerRe: http/1.0 425 http Error Pin
Vasudevan Deepak Kumar23-Feb-07 10:26
Vasudevan Deepak Kumar23-Feb-07 10:26 
GeneralRe: http/1.0 425 http Error Pin
LCI23-Feb-07 10:31
LCI23-Feb-07 10:31 
GeneralRe: http/1.0 425 http Error Pin
Vasudevan Deepak Kumar23-Feb-07 10:39
Vasudevan Deepak Kumar23-Feb-07 10:39 

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.