Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: serialization in .Net Pin
seee sharp19-Sep-05 19:39
seee sharp19-Sep-05 19:39 
QuestionMemory usage in C# .Net Pin
ppp00119-Sep-05 17:53
ppp00119-Sep-05 17:53 
AnswerRe: Memory usage in C# .Net Pin
Christian Graus19-Sep-05 18:16
protectorChristian Graus19-Sep-05 18:16 
AnswerRe: Memory usage in C# .Net Pin
Andy Brummer19-Sep-05 20:39
sitebuilderAndy Brummer19-Sep-05 20:39 
AnswerRe: Memory usage in C# .Net Pin
Guffa19-Sep-05 22:29
Guffa19-Sep-05 22:29 
Questionthreading in networking Pin
ppp00119-Sep-05 17:48
ppp00119-Sep-05 17:48 
QuestionGDI+:How to clear the graphic? Pin
dreamwinter19-Sep-05 15:06
dreamwinter19-Sep-05 15:06 
AnswerRe: GDI+:How to clear the graphic? Pin
Dave Kreskowiak19-Sep-05 17:12
mveDave Kreskowiak19-Sep-05 17:12 
If you want to clear the entire entire canvas, just call your Graphics object's .Clear() method.

If you want to clear just the line itself, you'll have to create a new pen the same color as the canvas background, then use it to redraw the line exactly the same way it was drawn originally. If your line intersects with other lines or graphics objects, it'll draw a background colored loine through them.

The only other way to do this would be to redraw everything onto the canvas that was originally drawn, but don't draw the line that you want to erase.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Questionchange folder permission during installation Pin
kani9819-Sep-05 13:07
kani9819-Sep-05 13:07 
AnswerRe: change folder permission during installation Pin
Dave Kreskowiak19-Sep-05 17:15
mveDave Kreskowiak19-Sep-05 17:15 
Questionlaunch dotnetfx.exe during installation Pin
kani9819-Sep-05 13:01
kani9819-Sep-05 13:01 
AnswerRe: launch dotnetfx.exe during installation Pin
Christian Graus19-Sep-05 14:09
protectorChristian Graus19-Sep-05 14:09 
GeneralRe: launch dotnetfx.exe during installation Pin
kani9820-Sep-05 13:35
kani9820-Sep-05 13:35 
GeneralRe: launch dotnetfx.exe during installation Pin
Christian Graus20-Sep-05 13:44
protectorChristian Graus20-Sep-05 13:44 
GeneralRe: launch dotnetfx.exe during installation Pin
kani9820-Sep-05 14:25
kani9820-Sep-05 14:25 
Questionperform drag&drop operation in listview Pin
Sasuko19-Sep-05 12:45
Sasuko19-Sep-05 12:45 
QuestionHow to Use satallite Assembly Pin
dwark10619-Sep-05 12:10
dwark10619-Sep-05 12:10 
QuestionDataGrid Columns Pin
jinksk19-Sep-05 11:19
jinksk19-Sep-05 11:19 
AnswerRe: DataGrid Columns Pin
miah alom19-Sep-05 11:36
miah alom19-Sep-05 11:36 
AnswerRe: DataGrid Columns Pin
Taurian11019-Sep-05 16:59
Taurian11019-Sep-05 16:59 
AnswerRe: DataGrid Columns Pin
deep719-Sep-05 20:09
deep719-Sep-05 20:09 
QuestionDataGrid Issue Please HELP Pin
Taurian11019-Sep-05 10:45
Taurian11019-Sep-05 10:45 
AnswerRe: DataGrid Issue Please HELP Pin
Christian Graus19-Sep-05 11:35
protectorChristian Graus19-Sep-05 11:35 
GeneralRe: DataGrid Issue Please HELP Pin
Taurian11019-Sep-05 14:31
Taurian11019-Sep-05 14:31 
GeneralRe: DataGrid Issue Please HELP Pin
Christian Graus19-Sep-05 14:34
protectorChristian Graus19-Sep-05 14:34 

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.