Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
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 
I don't see anything wrong here. client is a local variable, it dies when the GetAccount() method returns, what has been added/removed to its events is irrelevant for its own survival. In my experience, one seldom needs to deregister an event handler. Things would change however if there were some extra code that would store a reference to client, so it really depends on the "Map returned result to Client entity" part, which you didn't show.

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.

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 
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 
GeneralRe: Memory Leak? Pin
Pete O'Hanlon31-Mar-11 9:54
mvePete O'Hanlon31-Mar-11 9:54 
QuestionSecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority Pin
Le centriste30-Mar-11 4:04
Le centriste30-Mar-11 4:04 
AnswerRe: SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority Pin
Pete O'Hanlon30-Mar-11 4:40
mvePete O'Hanlon30-Mar-11 4:40 
GeneralRe: SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority Pin
Le centriste30-Mar-11 4:56
Le centriste30-Mar-11 4:56 
GeneralRe: SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority Pin
Pete O'Hanlon30-Mar-11 5:12
mvePete O'Hanlon30-Mar-11 5:12 

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.