private void mnuUndock_Click(object sender, RoutedEventArgs e)
        {
            (this.Parent as TabControl).Items.Remove(this);
            UndockedModule rawr = new UndockedModule((UserControl)this.Content,title,copy);
            imdead = true;
            rawr.Width = Width;
            rawr.Height = Height;
            rawr.Show(); 

        }
 private void btnBibliography_Click(object sender, RoutedEventArgs e)
 {
     WebBrowser2 wb = new WebBrowser2(new Uri(System.IO.Path.GetFullPath(@".\MySci User Documentation.htm#_Bibliography")));
     UndockedModule ud = new UndockedModule(wb, "Help", 0);
     ud.Show();
 }