Hi everyone,
I trying to insert a new custom shape, a very simple one, to the graphcontrol.
I want to create the shape, set some custom properties and then add
to the graphcontrol, then I used the following code:
DevShape x = new DevShape(graphControl1);
x.Name = "Test";
graphControl1.Nodes.Add(x);
The DevShape show into the graphControl1 and I can move and resize
it, but there is no way to remove it ?
If I use the graphview to add new shapes to the same graphcontrol1 I
can delete then without problem.
Does anyone can give me a tip ?
Thanks in advance.
Ricardo de Oliveira Saldanha
|