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

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

            if (v != null)
            {
                v.EditDelete();
            }
        }
Example #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;
            }
        }
Example #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;
            }
        }