private void cmdCfgConMch_Click(object sender, EventArgs e)
 {
     frmConnection frmconnect = new frmConnection(ref m_config.m_driverconfig.m_connection);
     frmconnect.ShowDialog();
     UpdateMainConnection();
 }
 private void connectionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmConnection frmconnect = new frmConnection();
     frmconnect.ShowDialog();
 }
 private void cmdCfgConDsp_Click(object sender, EventArgs e)
 {
     int idx = lbConfigured.SelectedIndex;
     if (idx == -1) return;
     Configs.MonitorConfig mc = m_config.m_lstMonitorconfigs[idx];
     frmConnection frmconnect = new frmConnection(ref mc.m_displayconnection);
     frmconnect.ShowDialog();
     UpdateDisplayConnection();
 }
 private void connectionToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     // show connection screen
     frmConnection fconnect = new frmConnection();
     fconnect.ShowDialog();
 }