public static void fixAllFileReferencesOnAssessmentDataObject(O2AssessmentData_OunceV6 oadO2AssessmentDataOunceV6, String sFix_PathToFind, String sFix_PathToReplace) { var rfmresolvedFileMapping = new SourceCodeMappingsUtils.resolvedFileMapping("") { sFix_PathToFind = sFix_PathToFind, sFix_PathToReplace = sFix_PathToReplace }; fixAllFileReferencesOnAssessmentDataObject(oadO2AssessmentDataOunceV6, rfmresolvedFileMapping); }
private void btFileInLocalDisk_Click(object sender, EventArgs e) { String sFileToMap = lbSelectedFile.Text; rfmResolvedFileMapping = new SourceCodeMappingsUtils.resolvedFileMapping(sFileToMap); if (rfmResolvedFileMapping.resolveFileMapping()) { lbMappedFile.Text = rfmResolvedFileMapping.sMappedFile; lbFix_PathToFind.Text = rfmResolvedFileMapping.sFix_PathToFind; lbFix_PathToReplace.Text = rfmResolvedFileMapping.sFix_PathToReplace; O2Forms.addRowToDataGridViewThreadSafe(dataGridView1, new object[] { rfmResolvedFileMapping.sFix_PathToFind, rfmResolvedFileMapping.sFix_PathToReplace }); btExistingMappingsSaveChanges.Visible = true; } }