This is driving me nuts...
Good day fellas, and ladies. I have quite a big problem on my hands, and I'm lost for a sollution. Can't find anything on the net to help me either... Perhaps somebody here could provide me with some assistance, I would appreciate it.
Alright, I'm getting the following error : An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll
I have a user control with a tab control on it. Each tab has a chart (TeeChart) on it. There is a total of 5 tabs. The whole application works perfectly, except for when I click on the final tab in runtime.
Then the error occurs. The code breaks in...
static void Main()
Form1 is simply a test environment for my user control.
I wish I could post code, but what code should I post? Considering that the exception occurs when I click on a tab. There are no events triggered when I click on a tab.
To give a little bit more information. I have a seperate class for each Chart (displayed on it's own tab.) Each chart inherits from an abstract chart class. Additionaly I have a Charts class which is a collection of all the charts, and does the initialising and so forth.
Each chart class listens to events on the user control, basically it detects text box changes and updates the charts accordingly. As I said though, the error occurs when clicking on the final tab, all other things happen smoothly.
Please tell me that somebody has an idea of why this is happening.
Thanks in advance.