Dallas, TX
Experience: Intermediate
Platform: MultiCharts
Trading: Stocks
Posts: 4 since Jan 2012
Thanks Given: 0
Thanks Received: 0
|
Hi,
I am fairly new to C# and I think this question will probably expose that rather quickly! I am building WinForm apps to use along side MultiCharts. I have everything working except that I want to implement a refresh button on my forms. I have 4 classes in my Indicator .cs file, the indicator class and then 3 Forms.
I am unable to call ExecControl.Recalculate() from any of the other classes since it doesn't inherit from IndicatorObject (at least I think thats the reason). I attempted to create a delegate to pass the Recalculate() method however, I always get an error saying that ExecControl is inaccessible from any class other than the indicator class.
Any suggestions on how I can refresh my charts from a WinForm or how i can pass the recalculate method to another class that doesn't inherit from IndicatorObject?
|