• Post Calendar

    July 2017
    S M T W T F S
    « Jun    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  

Posts Tagged ‘C#’


How can I unit test unsubscribing from an event? (C#)

I’ve seen some strange bugs that occur when you don’t properly unsubscribe from events. But it seems I’m always stuck when it comes to unit testing that. Well, I use Moq for most of my mocking and there are some techniques you can use for testing that your subscribed, namely by Raise(ing) the event in […]

Silverlight AND WPF–Table of Contents

This post is a table of contents for posts I have regarding my project that attempts to provide both a Silverlight and a WPF (Windows Presentation Foundation) application with similar if not identical functionality. I’m currently using Visual Studio 2010 with .NET 4.0 and Silverlight 4. I don’t know if you call it writing compatible […]

A Tale of Two Mice

Technorati Tags: Dell,C#,.NET User Story: As a Windows 7 user of an IntelliPoint mouse I want to switch from left-handed to right-handed (and vice-versa) with a single double click. The Old Way I have a really nice mouse, but it uses IntelliPoint… ok, that’s fine. But at home I use the mouse left handed while […]