The attached source code with this article is a calculator application developed using XAML and WPF.
The attached project is a WPF Calculator built using Visual Studio 2008 and .NET 3.5.
The code is written based on the sample code available in MSDN documentation.
WPF Simplified: Build Windows Apps Using C# and XAML