altariamx2003
asked on
System.StackOverflowException when a I use a custom class
Im doing a system that draw customized diagrams
Im trying to implement this code
After I add the new node to the workspace everything looks fine but when I try to move the node with the mouse visual basic show the following error: "exception System.StackOverflowExcept ion on mscorlib.dll
I would like to know what is happend???
My custom form is ok???
Do I need to add another thing???
Im trying to implement this code
Imports System
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.Drawing
Imports Nevron.Diagram
Imports Nevron.GraphicsCore
Imports Nevron.Dom
<Serializable()> _
Public Class tanques
Inherits NRectangleShape
#Region " properties ..."
Private e_conectado As String
Public Property conectado() As String
Get
Return e_conectado
End Get
Set(ByVal value As String)
e_conectado = value
End Set
End Property
#End Region
Public Sub New(ByVal a As Single, ByVal b As Single, ByVal c As Single, ByVal d As Single)
MyBase.New(a, b, c, d)
End Sub
End Class
to use a customized shape when I add a new nodeAfter I add the new node to the workspace everything looks fine but when I try to move the node with the mouse visual basic show the following error: "exception System.StackOverflowExcept
I would like to know what is happend???
My custom form is ok???
Do I need to add another thing???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I know that there is a big problem, nrectangleshape is provided by the libraries of nevron
I know that you need the souce code, but right know its impossible to me
thx anyway for your time
I know that you need the souce code, but right know its impossible to me
thx anyway for your time
ASKER
Open in new window