Click here to Skip to main content
15,914,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: Solution directory Pin
Eddy Vluggen30-Mar-11 12:24
professionalEddy Vluggen30-Mar-11 12:24 
AnswerRe: Solution directory Pin
RobCroll30-Mar-11 13:46
RobCroll30-Mar-11 13:46 
AnswerRe: Solution directory Pin
GenJerDan30-Mar-11 14:50
GenJerDan30-Mar-11 14:50 
GeneralRe: Solution directory Pin
Henry Minute30-Mar-11 14:54
Henry Minute30-Mar-11 14:54 
GeneralRe: Solution directory Pin
Helfdane30-Mar-11 21:10
Helfdane30-Mar-11 21:10 
QuestionDataBinding.CurrentItemChanged Pin
eddieangel30-Mar-11 10:22
eddieangel30-Mar-11 10:22 
AnswerRe: DataBinding.CurrentItemChanged Pin
SledgeHammer0130-Mar-11 11:01
SledgeHammer0130-Mar-11 11:01 
GeneralRe: DataBinding.CurrentItemChanged Pin
eddieangel31-Mar-11 6:17
eddieangel31-Mar-11 6:17 
AnswerRe: DataBinding.CurrentItemChanged Pin
Henry Minute30-Mar-11 14:58
Henry Minute30-Mar-11 14:58 
GeneralRe: DataBinding.CurrentItemChanged Pin
eddieangel31-Mar-11 7:56
eddieangel31-Mar-11 7:56 
QuestionMemory Leak? [modified] Pin
Alaric_30-Mar-11 9:39
professionalAlaric_30-Mar-11 9:39 
AnswerRe: Memory Leak? Pin
David198730-Mar-11 9:47
David198730-Mar-11 9:47 
AnswerRe: Memory Leak? Pin
Luc Pattyn30-Mar-11 9:56
sitebuilderLuc Pattyn30-Mar-11 9:56 
GeneralRe: Memory Leak? Pin
SledgeHammer0130-Mar-11 10:13
SledgeHammer0130-Mar-11 10:13 
GeneralRe: Memory Leak? Pin
Luc Pattyn30-Mar-11 10:18
sitebuilderLuc Pattyn30-Mar-11 10:18 
GeneralRe: Memory Leak? Pin
Alaric_30-Mar-11 10:19
professionalAlaric_30-Mar-11 10:19 
GeneralRe: Memory Leak? Pin
SledgeHammer0130-Mar-11 10:44
SledgeHammer0130-Mar-11 10:44 
GeneralRe: Memory Leak? Pin
David198730-Mar-11 20:21
David198730-Mar-11 20:21 
AnswerRe: Memory Leak? Pin
Luc Pattyn30-Mar-11 11:55
sitebuilderLuc Pattyn30-Mar-11 11:55 
OK, the added code does not refer to client at all, so it still gets collected properly in the end.

The new information is that there is unmanaged memory involved. To deal with that, you should call Dispose(), or apply the using statement, on objects you no longer need if their class offers a Dispose() method; that includes all WinForms Controls, Fonts, Pens, Brushes, Graphics, etc (except for the ones handed to you, e.g. PaintEventArgs.Graphics). I can't help you out in detail, I also am not familiar with Telerik controls. However let's say ServiceClient is a Panel, then you need to call its Dispose().

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerRe: Memory Leak? Pin
Pete O'Hanlon30-Mar-11 12:04
mvePete O'Hanlon30-Mar-11 12:04 
GeneralRe: Memory Leak? Pin
Luc Pattyn30-Mar-11 12:10
sitebuilderLuc Pattyn30-Mar-11 12:10 
GeneralRe: Memory Leak? Pin
Pete O'Hanlon30-Mar-11 12:59
mvePete O'Hanlon30-Mar-11 12:59 
GeneralRe: Memory Leak? Pin
Luc Pattyn30-Mar-11 13:22
sitebuilderLuc Pattyn30-Mar-11 13:22 
GeneralRe: Memory Leak? Pin
Pete O'Hanlon30-Mar-11 20:22
mvePete O'Hanlon30-Mar-11 20:22 
GeneralRe: Memory Leak? Pin
Alaric_31-Mar-11 3:59
professionalAlaric_31-Mar-11 3:59 

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.