public MainForm( )
        {
            InitializeComponent( );

            m_Workspace = new WorkspaceEx( this );
            m_CommandUi = new MenuCommandUiManager( mainMenu, new WorkspaceCommandTriggerDataFactory( m_Workspace ) );
            m_CommandUi.AddCommands( DefaultCommands.HelpCommands );
            m_CommandUi.AddCommands( DefaultCommands.ViewCommands );
            m_CommandUi.AddCommands( DefaultCommands.FileCommands );

            m_CommandUi.AddCommands( new Command[] { ProjectCommands.NewProject } );

            m_ViewManager = new DockedHostPaneViewManager( m_CommandUi, mainDockPanel, "Properties" );
            m_MessageUi = new MessageUiProvider( this );
            m_ViewFactory = new ViewFactory( m_MessageUi );
            m_CommandViewFactory = new DefaultCommandDockingViews( m_ViewManager );
            IPlanetViews planetViews = new SpherePlanetDockingViews( m_ViewManager, m_ViewFactory );

            m_Workspace.ProjectGroups = new ProjectGroupContainer
                (
                    "All Project Types", "All Project Types",
                    new ProjectGroupContainer
                    (
                        "Planets", "Planet Project Types",
                        new ProjectGroup
                        (
                            "Spherical Planets", "Spherical Planet Project Types",
                //new ProjectGroup
                //(
                //    "Spherical Planet Environments", "Spherical Planet Environment Project Types",
                //    new SpherePlanetAtmosphereProjectType( )
                //),
                            new SpherePlanetAtmosphereTestProjectType( planetViews ),
                            new TerrestrialSpherePlanetProjectType( planetViews ),
                            new SpherePlanetProjectType( planetViews )
                        )
                    )
                );

            m_ViewManager.BeginLayout( m_Workspace, "Default", m_CommandViewFactory.Views );

            DefaultCommandListener defaultListener = new DefaultCommandListener( m_CommandViewFactory );
            defaultListener.StartListening( );

            ProjectCommandListener listener = new ProjectCommandListener( m_ViewFactory );
            listener.StartListening( );

            //DockContent content = new DockContent( );

            //content.Text = "test";
            //BiomeDistributionDisplay control = new BiomeDistributionDisplay( );
            //BiomeListModel biomes = new BiomeListModel( );
            //biomes.Models.Add( new BiomeModel( "arctic" ) );
            //biomes.Models.Add( new BiomeModel( "temperate" ) );
            //biomes.Models.Add( new BiomeModel( "desert" ) );
            //control.Distributions = new BiomeListLatitudeDistributionModel( biomes );
            //content.Controls.Add( control );
            //content.AutoScroll = true;
            //content.HideOnClose = true;

            //control.Dock = DockStyle.Fill;

            //content.Show( mainDockPanel, DockState.Float );
        }