Table of Contents

Main Panel

Main Panel Layout

  • Top Navigation Menu
    • Project Menu Dropdown
      • Project Path Text Field
      • New MenuItem
      • Load MenuItem
      • Save MenuItem
      • Save As MenuItem
    • Environment Menu Dropdown
    • Mission MenuItem
    • Player MenuItem Link to Player Panel
    • Flex Tool Bars (varied with content of Page Panel, show nothing if no tool bars existed)
    • Preference Menu Dropdown
  • Central Page Panel
  • Bottom Message Bar

Behavior of Navigation Menu/Project

Project Path Text Field Shows the Project Path if the project is assinged.

Tip

Project Path Text Field should not be button style. It should be a pure text field that can be selected and copied.

The Project Menu Managing MachiningProject.

To New (create), Save and Save As the MachiningProject, See DemoBuildGeomOnlyMachiningProject for the example.

To Load MachiningProject, See DemoUseMachiningProject for the example.

Show message for the actions result (successed or has exception) by MessageKit.

Tip

Recommmand using static function of MessageKit to do the job. Read document of MessageKit to ensure the proper usage.

For example, Navigation Menu/Player, If the nav-item is entered, Set Page Panel to Player Panel and add related tool bar (see Player Panel) to Navigation Menu/Flex Tool Bar.

If the nav-item is exited, remove the related tool bar.

On project loaded (Navigation Menu/Project/Load MenuItem) , set the Player.Panel.RenderingCanvas.DispEngine to SetViewToIsometricView().

Tip

Using async to comfort the process

Single-User WPF Application Source Code Path

  • MainWindow

see this page for git repository.