I\'m making a Windows Forms application in Visual Studio 2010 Ultimate, but can\'t get the built-in Vector to work.
Microsoft says that there is a System.Windows.Vec
System.Windows.Vector is a part of WPF, not Windows Forms, hence the difficulty you've having when trying to use it. You could add a reference to WindowsBase.dll
, but given that it's intended for use in WPF applications, rather than Windows Forms applications, it's likely that you'd derive little benefit from doing so.
Microsofts decision to put WPF components in System.Windows
and WinForms in System.Windows.Forms
is a source of endless confusion on the internet, quite what was wrong with System.Windows.Presentation
or similar for WPF, I'll never know!