December 14th, 2010, 08:59 AM
Calling methods on unnamed objects
We are building a graphing application in which we define the different components of the form as user controls.
We have defined a number of series on the graph such as bar, candlesticks, line etc. and at a time, only one series is visible on the graph. The user selects a radio button and based on the selection, one of the series is made visible and the others are disabled.
The problem we are facing is that we are unable to access the method defined for disabling/enabling a series in the class for creating the chart as there is no way to reference the object created at run-time for the chart.
We are coding in Visual Studio.
What can be done to call methods in run-time objects which cannot be referenced?
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!