I was tried with Infra 2007. But i didn't known NAME of context menu to create. I want create it when building form and show context menu after right click on form or grid.
Thank you so much.
ps: I used sandbar component before but it not support when running Vista or Seven OS.
I'm afraid I had some difficulty understanding this, but if you are just asking the general question of how to assign a ContextMenu to a control/form, you create a System.Windows.Forms.ContextMenu component, populate its MenuItems collection, and assign it to the control/form's ContentMenu property.