Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace : GoContextMenu Class |
'Declaration <SerializableAttribute()> Public Class GoContextMenu Inherits GoMenu
[SerializableAttribute()] public class GoContextMenu : GoMenu
public override GoContextMenu GetContextMenu(GoView view) { GoContextMenu cm = new GoContextMenu(view); cm.MenuItems.Add(new MenuItem("Copy", new EventHandler(this.Copy_Command))); return cm; } private void Copy_Command(Object sender, EventArgs e) { GoView v = GoContextMenu.FindView(sender as MenuItem); if (v != null) v.EditCopy(); }
System.Object
Northwoods.GoWeb.GoMenu
Northwoods.GoWeb.GoContextMenu
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2