ho fatto soluzione vuota ed ho aggiunto una
class MainForm : System.Windows.Forms.Form