Detaches the menu assigned with the Attach method. Use the Command event to notify your application that the user clicks an item.