private void StartEdit(DiagramNode node)
        {
            Network network = _project.Network;
            if (network == null)
                return;

            NetworkNode netNode = network.Nodes.FindById(Int32.Parse(node.Uid));

            DiagramNodeEx nodeEx = new DiagramNodeEx(node, netNode);

            DiagramNetwork.BeginEdit(nodeEx);
        }
Esempio n. 2
0
        public void StartEdit(DiagramNode node)
        {
            Network network = this.Network;
            if (network == null)
                return;

            NetworkNode netNode = network.Nodes.FindById(Int32.Parse(node.Uid));

            DiagramNodeEx nodeEx = new DiagramNodeEx(node, netNode);

            Diagram.BeginEdit(nodeEx);
        }