private void AddCustomerButton_Click(object sender, EventArgs e) { CreateNewCustomer createCustomer = null; if (createCustomer != null) { createCustomer.Activate(); } else { createCustomer = new CreateNewCustomer(); createCustomer.Show(); } }