How to add MenuItem with a method

Hi Everyone. I’ve been evaluating Servoy and several other products for the past few months and i’ve decided to choose Servoy as my development platform. That said, I’m having a little trouble deciphering how to implement methods for a menuitem… Let’s say to open a form?

Thanks

Best Regards
Using Servoy 6.1.2