if you mean to do this at design-time, consider to write a custom ControlDesigner for your MyControl, override Initialize method to make sure the passed in component is of MyForm type
see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsdesigncontroldesignerclasstopic.asp