private void chooseIPButton_Click(object sender, EventArgs e) { var ipAddressForm = new IPAddressForm(); ipAddressForm.ShowDialog(); }