This example shows how to use a CheckMenuItem
This example shows a submenu