private void loadcalibration_Click(object sender, EventArgs e) { int ret = 0; try { ret = ETDevice.iV_LoadCalibration(new StringBuilder(calibrationID.Text)); if (ret == 1) { logger.Text = "iV_LoadCalibration: loaded calibration successfully"; } if (ret != 1) { logger.Text = "iV_LoadCalibration: failed to load calibration: " + ret; } } catch (System.Exception exc) { logger.Text = "iV_LoadCalibration Exception: " + exc.Message; } }