If i build buttons with the code provided in this forum post below, how do I access indexed values of the bar series without producing an unhandled exception when accessing through the button click void?
For example the following code procuces a "Unhandled Exception : index was out of range etc,,," when the button is clicked. It seems I cant access the bar series through event driven voids.... am i missing something here?
private void OnBuyButtonClick(object sender, RoutedEventArgs rea)
{
Button button = sender as System.Windows.Controls.Button;
if (button != null)
{
Print(button.Name + " Clicked");
Print("Hiigh 3 Bars ago = "+High[3]);
}
}

Comment