in Microsoft Visual Studio Ultimate 2012, using C# and .NET Framework 4.5. This means that it can be developed as a Visio 2013 Add-in using VSTO 2013, as in the following screenshot. This will make deployment simple using ClickOnce, because once it has been installed it will periodically check to see if there is an updated version available.
We have called the project ValidationExplorer2
; it will be extended in later chapters to provide enhanced capabilities.
We are using Windows Presentation Foundation (WPF) to create the UI elements wherever possible because it has become a popular preference over the last few years. Visio is a COM application; therefore the WPF elements have to be hosted within a WinForm control. The effort is worth it, though, because of the superior data-binding and UI element flexibility.
Programming in WPF promotes the adoption of a data-driven model, rather than the event-driven model more common...