public void EnsureStatisticsWindow(bool instantCalculation = false)
        {
            foreach (var form in MdiChildren.Where(form => form is AccountTradeResultsForm))
            {
                form.Focus();
                return;
            }

            var child = new AccountTradeResultsForm {InstantCalculation = instantCalculation};
            SetupNonMdiForm(child);
            child.Show();
        }
 // ReSharper restore MemberCanBeMadeStatic.Local
 // ReSharper disable MemberCanBeMadeStatic.Local
 private void BtnStatClick(object sender, EventArgs e)
 {
     var dlg = new AccountTradeResultsForm { InstantCalculation = true, MdiParent = MainForm.Instance };
     dlg.Show();
 }