|
From: Illumineo <Net...@ho...> - 2004-10-16 06:20:53
|
Ricardo,
Looking at your code snippet I guess you implement ths custom shape a little
different than the standard way. It's indeed true that one can add shapes
independently of the Abstract class (which is what you do) but then you will
need to implement your own events, like the delete event handled in the
Abstract class.
The standard way is something like:
Shape shape =
this.graphControl1.AddShape("4F878611-3196-4d12-BA36-705F502C8A6B", new
PointF(80,20));
If you take a look at the various examples/applications (the generic
application in particular) you will see how things are done. If you are
stuck, send me your code and I'll have a look at it.
Kind regards, I.
__________________________________
Illumineo
Ill...@us...
The Netron Project
http://netron.sf.net
|