private void btnEdit_Click(object sender, EventArgs e) { var frm = new frmEditWavelengthConfigName(m_SelectedConfiguration, m_Width, m_Height); if (frm.ShowDialog(this) == DialogResult.OK) { m_SelectedConfiguration = frm.Config; LoadConfigurations(); } }
private void btnNewConfig_Click(object sender, EventArgs e) { var frm = new frmEditWavelengthConfigName(null, m_Width, m_Height); if (frm.ShowDialog(this) == DialogResult.OK) { m_SelectedConfiguration = frm.Config; LoadConfigurations(); } }