Add Some Framework Code. About MDIParent.

Add Some Framework Code. About MDIParent.