Click here to Skip to main content
15,921,250 members
Home / Discussions / C#
   

C#

 
QuestionRe: End of thread Pin
Parshant Verma12-Oct-06 3:32
Parshant Verma12-Oct-06 3:32 
AnswerRe: End of thread Pin
asator12-Oct-06 6:32
asator12-Oct-06 6:32 
QuestionList of applications Pin
-Yoyosh-12-Oct-06 2:16
-Yoyosh-12-Oct-06 2:16 
AnswerRe: List of applications Pin
Alper Camel12-Oct-06 2:26
Alper Camel12-Oct-06 2:26 
QuestionEMF file getting deleted after creation Pin
cppandey2312-Oct-06 1:36
cppandey2312-Oct-06 1:36 
QuestionEMF plotting API Pin
cppandey2312-Oct-06 1:32
cppandey2312-Oct-06 1:32 
Questionuerasable lines Pin
ssoffline12-Oct-06 0:37
ssoffline12-Oct-06 0:37 
AnswerRe: uerasable lines Pin
Guffa12-Oct-06 2:44
Guffa12-Oct-06 2:44 
That is because you are drawing on the screen where the control happens to be instead of using the control to do the drawing.

Use the Paint event of the control to do the drawing. Then whenever the control has to be redrawn for any reason, the lines will also be redrawn.

Store the coordinates of the lines to draw in a list or something. Add coordinates to the list and use the Invalidate method on the control to make it redraw itself.


---
b { font-weight: normal; }

GeneralRe: uerasable lines Pin
ssoffline12-Oct-06 3:42
ssoffline12-Oct-06 3:42 
GeneralRe: uerasable lines Pin
J4amieC12-Oct-06 3:59
J4amieC12-Oct-06 3:59 
AnswerRe: uerasable lines Pin
Guffa12-Oct-06 7:49
Guffa12-Oct-06 7:49 
GeneralRe: uerasable lines Pin
ssoffline12-Oct-06 9:08
ssoffline12-Oct-06 9:08 
AnswerRe: uerasable lines Pin
Guffa13-Oct-06 7:26
Guffa13-Oct-06 7:26 
GeneralRe: uerasable lines Pin
ssoffline13-Oct-06 19:29
ssoffline13-Oct-06 19:29 
AnswerRe: uerasable lines Pin
Guffa14-Oct-06 1:34
Guffa14-Oct-06 1:34 
GeneralRe: uerasable lines Pin
ssoffline14-Oct-06 9:54
ssoffline14-Oct-06 9:54 
QuestionEmail verification Pin
Parmenio11-Oct-06 23:51
Parmenio11-Oct-06 23:51 
AnswerRe: Email verification Pin
Rob Philpott12-Oct-06 2:20
Rob Philpott12-Oct-06 2:20 
GeneralRe: Email verification Pin
Parmenio12-Oct-06 20:24
Parmenio12-Oct-06 20:24 
QuestionSingle instance of application Pin
Parshant Verma11-Oct-06 23:50
Parshant Verma11-Oct-06 23:50 
AnswerRe: Single instance of application Pin
Andrei Ungureanu12-Oct-06 0:17
Andrei Ungureanu12-Oct-06 0:17 
GeneralRe: Single instance of application Pin
User 665812-Oct-06 2:15
User 665812-Oct-06 2:15 
AnswerRe: Single instance of application Pin
Stefan Troschuetz12-Oct-06 0:20
Stefan Troschuetz12-Oct-06 0:20 
AnswerRe: Single instance of application Pin
engsrini12-Oct-06 3:18
engsrini12-Oct-06 3:18 
GeneralRe: Single instance of application Pin
mav.northwind12-Oct-06 10:20
mav.northwind12-Oct-06 10:20 

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.