private void ShowToolsPanel()
        {
            if (ProjectManager.Tools != null && ProjectManager.Tools.Any())
            {
                if (toolManager != null)
                {
                    return;
                }
                toolManager = new ModelToolManager
                {
                    Location = new Point(208, 12),
                    Name     = "pcktoolManager",
                    Size     = new Size(192, 308),
                    TabIndex = 1
                };

                ProjectManager.ShellService.PackageToolManager = toolManager;
                ProjectManager.ShellService.AddChild(toolManager);
                App.CompositionContainer.ComposeParts(toolManager);
                App.DockManager.Add(new DockablePanel("kModelToolbox", "Model Toolbox", toolManager, DockStyle.Fill)
                {
                    SmallImage = toolManager.ImageList.Images[0]
                });
            }
        }
 public override void Deactivate()
 {
     App.HeaderControl.RemoveAll();
     App.DockManager.Remove("kModelToolbox");
     toolManager = null;
     base.Deactivate();
 }