public void Copy_Command(Object sender, EventArgs e) { GoView v = GoContextMenu.FindView(sender as ToolStripMenuItem); if (v != null) { v.EditCopy(); } }
public void Delete_Command(Object sender, EventArgs e) { GoView v = GoContextMenu.FindView(sender as MenuItem); if (v != null) { v.EditDelete(); } }
public void DrawRelationship_Command(Object sender, EventArgs e) { GoView v = GoContextMenu.FindView(sender as ToolStripMenuItem); if (v != null) { //RelationshipTool t = new RelationshipTool(v); //t.Predecessor = this; //v.Tool = t; } }
public void DrawRelationship_Command(Object sender, EventArgs e) { GoView v = GoContextMenu.FindView(sender as MenuItem); if (v != null) { linkTool t = new linkTool(v); t.Predecessor = this; v.Tool = t; } }