Inveigled By Design

The art of persuasive design

Silverlight 4: Integrating With COM

One new feature introduced in the Silverlight 4 beta that caught my eye was the ability to communicate with a Silverlight app via COM. It definitely opens up some powerful ways to interact with the Windows desktop environment in Silverlight. I mocked up this quick demo just to see how it might work [...]

Isolated Unit Testing using Rhino Mocks and StructureMap

Get the code here: TestingInIsolation.zip

Unit testing classes that touch systems like a database or the file system used to be quite a laborious task, but with some of the free testing tools available on the web today, the job has become much easier. For this example, I’ll use three readily available testing tools:

Rhino Mocks [...]

Maximizing a WPF Window With WindowState=None

When you get set a WPF window’s WindowStyle to None, the window will cover up the task bar when you set its WindowState to Maximized. I’ve seen various approaches to handling this through:

Overriding the WindowProc function and handling the WM_GETMINMAXINFO message
Using the SystemParameters for the primary screen

Another approach that seems to work quite well is [...]

Creative Commons License
Content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 License
Copyright © 2009 Inveigled Software