public void HostControl(Control c) { DocumentForm frm = new DocumentForm(c); frm.ShowHint = DockState.Document; frm.Show(m_dockPanel); }