Right-click your project in Solution Explorer and select Add reference... and then find System.Windows.Forms and add it.