コード例 #1
0
 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();
     }
 }
コード例 #2
0
        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();
            }
        }