• June 2023
    M T W T F S S
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  
  • Latest Posts

  • Latest Comments

  • Archives

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 […]