예제 #1
0
        public override void OnCreateContextMenu(IContextMenu menu, View v, IContextMenuContextMenuInfo menuInfo)
        {
            ISubMenu sm = menu.AddSubMenu("File");

            sm.Add(Menu.None, IDM_CNTX_OPEN, Menu.None, "Open");

            sm.Add(Menu.None, IDM_CNTX_OPEN, Menu.None, "Save");

            base.OnCreateContextMenu(menu, v, menuInfo);
        }