Error 1 The base class or interface 'System.ComponentModel.Component' in assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referenced by type 'System.Windows.Forms.Timer' could not be resolved
k:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Windows.Forms.dll App2
I got this error message after adding system.windows.forms reference.
Since you are using Wpf I made quick working example. Make sure your project references look like this.
MainWindow
And as roken stated it would be easier if you could use the Wpf Dispatcher Timer. IN looking at the example link there is no pressing need to be using a Windows Form Timer, the Dispatcher timer will work fine in this case since this is a WPF program.
Edit Modified based on your link