private void btnDetect_Click(object sender, EventArgs e)
        {
            SerialRemoteDeviceDriver driver = this.DeviceConfigurationData.Clone();
            SerialDeviceTuningDlg    dlg    = new SerialDeviceTuningDlg(driver);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.DeviceConfigurationData = driver;
                Reload();
            }
        }
        private void btnDetect_Click(object sender, EventArgs e)
        {
            SerialRemoteDeviceDriver driver = this.DeviceConfigurationData.Clone();
            SerialDeviceTuningDlg dlg = new SerialDeviceTuningDlg(driver);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.DeviceConfigurationData = driver;
                Reload();
            }
        }