codice:
using System.Windows.Forms;
in testa al file.