private void currentPositionsButton_Click(object sender, EventArgs e) { var positionsForm = new PositionsForm(accountNameTextBox.Text); positionsForm.ShowDialog(); }