Hello i am getting an Stackoverflow Exception in this two dialog. Dialog A
is being called from a main dialog class. Dialog A have a choice to go to Dialog A
In Visual Studio you can check your call stack
and you will know where is the exact problem in your StackOverflowException
.
If DialogA is the base class of DialogA_child
then in your DialogA_child
's constructor and your base class constructor will be calling themselfs recursively.
So your call stack should look like this:
DialogA
constructor add new DialogA_child
DialogA_child
calls base(so DialogA constructor
)DialogA
constructor add new DialogA_child
DialogA_child
calls base(so DialogA constructor
)