Create a button that shuts down the host system
    Add a button that shuts down the host operating system on which the 
FactoryTalk Optix Application
 runs.
     IMPORTANT: 
    
Pressing 
Shut down system
 immediately shuts down the host operating system
 on which the FactoryTalk Optix Application
 runs.For example, if you run the 
FactoryTalk Optix Application
 on an emulator target, pressing Shut down system
 immediately shuts down your Windows system.- InProject viewpane, right-clickMainWindow (type)and select .
- Hover-over the button, select, and enter ShutDownSystemButton. ShutDownSystemButton.
- InProperties, setTexttoSHUT DOWN HOST SYSTEM.
- InEvents, next toMouseClick event, selectand select . 
Provide Feedback