Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Rx Workshop: Observables versus Events
Jul 04, 2011 at 11:25 AM@staceyw
Nice code, but your Event-Handler Code never prints the final "13", because when the textHandler gets removed, the lenChanged event never gets fired again.
Here is my code, I'm not really happy with it - but anyway:
class Events { public event Action<string> TextChanged; public virtual void OnTextChanged(string text) { var t = TextChanged; if (t != null) { t(text); } } private int lastLength; private Action<int> Length; public event Action<int> LengthChanged { add { Length += value; TextChanged += (s => { if (s.Length != lastLength) { var l = Length; if (l != null) l(s.Length); lastLength = s.Length; } }); } remove { Length -= value; } } }Three Reasons Developers Should Use Expression Blend
Oct 16, 2010 at 1:19 AMnicely done
UML with VS 2010 Part 1: Brainstorming a Project
Oct 15, 2010 at 8:36 AMYay, HQ Content would be very useful - is there any chance to get it?
UML with VS 2010 Part 9: Organizing and Managing Your Models
Jul 31, 2010 at 1:00 PMhi,
look at his blog http://www.notsotrivial.net - there are all the vs projects & ppt's for download available.
Overview of Parallel Computing in Visual Studio 2010
Feb 20, 2010 at 11:37 AMcould be a nice video, but please: deactivate the zoom function next time, its nearly impossible to follow...