public DockContentHandler(Form form, GetPersistStringCallback getPersistStringCallback)
{
if (!(form is IDockContent))
throw new ArgumentException(Strings.DockContent_Constructor_InvalidForm, "form");
this._mForm = form;
this.m_getPersistStringCallback = getPersistStringCallback;
(form as DockContent).Size = form.Size;
this._mEvents = new EventHandlerList();
this.Form.Disposed += this.Form_Disposed;
this.Form.TextChanged += this.Form_TextChanged;
}