private void add_Click(object sender, EventArgs e) { var childForm = new PortManager(); var result = childForm.ShowDialog(); if (result == DialogResult.OK) { MultiSettingForm_Load(sender, e); } }