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.
IMPORTANTE:
Pressing the
Shut down system
button 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 the button will immediately shut down your Windows system.- In theProject viewpane, right-clickMainWindow (type)and select .
- Hover-over the button, select , and enterShutDownSystemButton.
- In thePropertiespane, set theTextproperty value toSHUT DOWN HOST SYSTEM.
- In theEventspane, next toMouseClick event, select and select .
Fornire un feedback