How do I show commands accessible to the current user in the form?
Add the Workflow bar control to the form.
The control will map to the form automatically.
A standard order of event calls will be set in the Events tab.
You can change it if necessary.
See detailed instruction here.