I'm not sure I followed correctly, but you might consider a Controller object (from the MVC design pattern) to pass the mainform object:
PhotoController photoController = new PhotoController(...
Type: Posts; User: GregBrannon
I'm not sure I followed correctly, but you might consider a Controller object (from the MVC design pattern) to pass the mainform object:
PhotoController photoController = new PhotoController(...