private void bgExportCalibration_DoWork(object sender, DoWorkEventArgs e) { var calibExport = new CalibrationExport(this.id, this.dataPath); calibExport.GenerateXML(CalibMethod); }