private void toolStripButton1_Click(object sender, EventArgs e) { FormEutInfo formEutInfo = new FormEutInfo(); formEutInfo.ShowDialog(); if (formEutInfo.DialogResult == DialogResult.OK && formEutInfo.eut != null) { SetUI(formEutInfo.eut); } }
private void toolStripButton2_Click(object sender, EventArgs e) { Eut eut = FindEut(); FormEutInfo formEutInfo = new FormEutInfo(eut); formEutInfo.ShowDialog(); if (formEutInfo.DialogResult == DialogResult.OK) { SetUI(); } }