I'm trying to access the datagridview on a form who's object I've passed to a class but the class doesn't recognise the type datagridview.

Is there a particular namespace I need to declare on the class header before the a class instance can access it?

Thanks.