private void rSIToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (fxAnalyzerControl.ASession != null)
     {
         AnalyzerSessionIndicatorsControl control = new AnalyzerSessionIndicatorsControl(fxAnalyzerControl.ASession, fxAnalyzerControl.OpChartControl.Panes);
         control.AddIndicatorEvent += new AnalyzerSessionIndicatorsControl.AddIndicatorDelegate(((AnalyzerSessionControl)(fxAnalyzerControl.ControlButton.Tag)).control_AddIndicatorEvent);
         HostingForm form = new HostingForm("Session " + fxAnalyzerControl.ASession.SessionInfo.Id + " Indicators", control);
         form.FormBorderStyle = FormBorderStyle.FixedDialog;
         form.ShowDialog();
     }
 }
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     if (asession != null)
     {
         AnalyzerSessionIndicatorsControl control = new AnalyzerSessionIndicatorsControl(asession, OpChartControl.Panes);
         control.AddIndicatorEvent += new AnalyzerSessionIndicatorsControl.AddIndicatorDelegate(((AnalyzerSessionControl)(ControlButton.Tag)).control_AddIndicatorEvent);
         HostingForm form = new HostingForm("Session " + asession.SessionInfo.Id + " Indicators", control);
         form.FormBorderStyle = FormBorderStyle.FixedDialog;
         form.ShowDialog();
     }
 }