Click here to Skip to main content
15,917,652 members

Comments by Member 10014315 (Top 4 by date)

Member 10014315 5-Feb-14 14:33pm View    
Thanks for this. I'm kind of self-teaching myself C# and locked onto lambda expressions a little while back as the simpler way to connect events and methods. Without (explicitly at least) using delegates. The fog is lifting slowly for me, but I still don't fully understand quite a lot.
The question arises, then, when WOULD one need to use lambda expressions? If the answer is long and/or complicated, then a link to something that might illuminate it for me would be much appreciated.
Member 10014315 5-Feb-14 14:11pm View    
Many thanks for the detailed, well explained response.
Member 10014315 11-Jun-13 10:04am View    
Thanks for your posts, Sergey. I generally follow what your code does - but am not yet proficient enough to understand exactly how(!). I need to read up on anonymous methods and lamda operators, neither of which I'd heard of. I've stored your code to revisit later when I'm sure I'll understand it better.
I think you have a typo near the top where you declare the CheckBox variable. You have "public int" whereas it presumably should be "public Checkbox"(?).
Thanks again for taking the time to reply in such detail.
Member 10014315 8-Jun-13 12:07pm View    
Thanks, Sergey. I've tried a few approaches that didn't seem to be getting anywhere. Using a WinForms ContainerControl seems the most promising, but I'm currently stuck on how to detect events firing from the ListView controls within the ContainerControl. I'll continue to work at it, but the intention of my post was primarily just to get confirmation that my approach is at least feasible. Side benefit might be if somebody knew of a better way to accomplish what I'm trying to do.
TIA