Should this construction be always here?
get { if ((myIndex1 == "") && (ChartControl != null) && (Instruments != null)) for(int i=0; i<ChartControl.BarsArray.Length; i++) if (ChartControl.BarsArray[i].Instrument.FullName != Instruments[0].FullName) { myIndex1 = ChartControl.BarsArray[i].Instrument.FullName; break; } return myIndex1; } set { myIndex1 = value.ToUpper(); }
Comment