I will make a goLink between two Nodes.
By the ObjectDoubleClick i create a new Node and i will make a link between the dobleclicked Node and the new node
How i can get the Node.Text by GoView1_ObjectDoubleClicked1
private void goView1_ObjectDoubleClicked(object sender, Northwoods.Go.GoObjectEventArgs e) {
GoIconicNode n = e.GoObject.ParentNode as GoIconicNode;
if (n != null) {
MessageBox.Show("Double-clicked on " + n.Text);
}
}
Of course, you'll want to substitute the node type you are actually using, instead of GoIconicNode.