private void simpleButton5_Click(object sender, EventArgs e) { // open the config screen for additional configuration of the adapter // which ADC channels mean what // use ADC 1-5 & assign symbolname, max & min value // use thermo & assign symbolname, max & min value frmMultiAdapterConfig multiconfig = new frmMultiAdapterConfig(); multiconfig.AppSettings = m_appSettings; if (multiconfig.ShowDialog() == DialogResult.OK) { DialogResult = DialogResult.None; // nothing really.. all is saved in appsettings already ... } }
private void simpleButton5_Click(object sender, EventArgs e) { // open the config screen for additional configuration of the adapter // which ADC channels mean what // use ADC 1-5 & assign symbolname, max & min value // use thermo & assign symbolname, max & min value frmMultiAdapterConfig multiconfig = new frmMultiAdapterConfig(); multiconfig.AppSettings = m_appSettings; if (multiconfig.ShowDialog() == DialogResult.OK) { DialogResult = DialogResult.None; // nothing really.. all is saved in appsettings already ... } }