public void Setup() { frmSetupDialog dialog = new frmSetupDialog(this.m_setupNode); if (dialog.ShowDialog() == DialogResult.OK) { this.SetPort(); } }