How To Unit Test Avalon / Windows Presentation Foundation

WindowRunner helps you launch a window on a separate thread and then stuff your content into it: namespace UnitTestingAvalon{    using System;     public class WindowRunner    {        #region Constructor        internal WindowRunner(RetrieveWindow windowCallback, CreateContent contentCreator, object contentInformation)        {            if (windowCallback == null) { throw new ArgumentNullException(“windowCallback”); }            this.WindowCallback = windowCallback;            if (contentCreator == null) { throw new ArgumentNullException(“contentCreator”); }            this.ContentCreator…


A Mobile Digital Whiteboard Device

Overview Pundits have been predicting the paperless office to be “just around the corner” for decades, but it has yet to arrive. The ease with which digital data can be turned into hardcopy has arguably had the opposite effect, resulting in even more paper in the office than might otherwise exist. Part of the reason…


Interactive Brochures

Many products for sale can really only be understood via direct manipulation. This is especially true for computer hardware and software. Consider for example the problem of selling a Tablet PC. Pictures of the device and screenshots of its display and lengthy descriptions of its capabilities can enable some comprehension of its abilities, but most…


Did I Remember To

[29 Mar 2010: An expanded and annotated version of this is available on my website at http://www.thebraidytester.com/downloads/YouAreNotDoneYet.pdf.] Accessibility Check the following MSAA property settings for every control on every dialog, command bar, and other UI feature: NAME, ROLE, STATE, VALUE, KBSHORTCUT, and DEFACTION Change values in edit boxes and verify those values are reflected in the…