Beispiel #1
0
        private void templateToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Point v_ViewPos = nodeGraphPanel.ControlToView(m_MouseLoc);

            CustomNodes.TemplateModule myModule = new CustomNodes.TemplateModule(v_ViewPos.X, v_ViewPos.Y, nodeGraphPanel.View, true);
            this.nodeGraphPanel.AddNode(myModule);
        }
Beispiel #2
0
        private void templateToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Point v_ViewPos = nodeGraphPanel.ControlToView(m_MouseLoc);
            CustomNodes.TemplateModule myModule = new CustomNodes.TemplateModule(v_ViewPos.X, v_ViewPos.Y, nodeGraphPanel.View, true);
            this.nodeGraphPanel.AddNode(myModule);


           
        }