public void showBacktestPage() { hideManageDataSourcePage(); hideCreateStrategyPage(); chart2.Visible = true; startBacktestButton.Visible = true; label1.Visible = true; label2.Visible = true; TPTextBox.Visible = true; SLTextBox.Visible = true; chart3.Visible = true; label3.Visible = true; maxDrawDownLabel.Visible = true; label4.Visible = true; pnlLabel.Visible = true; chart2.BringToFront(); startBacktestButton.BringToFront(); label1.BringToFront(); label2.BringToFront(); TPTextBox.BringToFront(); SLTextBox.BringToFront(); chart3.BringToFront(); label3.BringToFront(); maxDrawDownLabel.BringToFront(); label4.BringToFront(); pnlLabel.BringToFront(); TPTextBox.Focus(); }
private void startBacktestButton_Leave(object sender, EventArgs e) { TPTextBox.Focus(); }