Ejemplo n.º 1
0
        public void Copy_Command(Object sender, EventArgs e)
        {
            GoView v = GoContextMenu.FindView(sender as ToolStripMenuItem);

            if (v != null)
            {
                v.EditCopy();
            }
        }
Ejemplo n.º 2
0
        public void Delete_Command(Object sender, EventArgs e)
        {
            GoView v = GoContextMenu.FindView(sender as MenuItem);

            if (v != null)
            {
                v.EditDelete();
            }
        }
Ejemplo n.º 3
0
        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;
            }
        }
Ejemplo n.º 4
0
        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;
            }
        }