emoved duplicate code created by Source Safe Merge function

This commit is contained in:
2022-05-26 22:04:47 +00:00
parent b8a405d173
commit d6d29a868a
2 changed files with 0 additions and 54 deletions

View File

@@ -2108,28 +2108,6 @@ namespace VEPROMS
ExportROFst(xe, ai.MyROFst, "rofst");
}
private void ExportAssociation(AssociationInfo ai, string nodename)
{
/*
AssociationID
VersionID
ROFstID
Config
DTS
UserID
*/
lblExportStatus.Text = "Exporting Association...";
Application.DoEvents();
XmlElement xe = xn.OwnerDocument.CreateElement(nodename);
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "associationid", ai.AssociationID.ToString()));
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "versionid", ai.VersionID.ToString()));
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "rofstid", ai.ROFstID.ToString()));
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "config", ai.Config));
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "dts", ai.DTS.ToString("MM/dd/yyyy HH:mm:ss.fff")));
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "userid", ai.UserID.ToString()));
xn.AppendChild(xe);
ExportROFst(xe, ai.MyROFst, "rofst");
}
private void ExportAssociation(AssociationInfo ai, string nodename)
{
/*
AssociationID
@@ -4008,14 +3986,6 @@ namespace VEPROMS
return text.Substring(start, firstSlashVeeZero + 3); //everything upto \v0"
}
private void ConvertImportProcedureROsToText(Content content, XmlNode xn)
{
string txt = text.Substring(start);
int firstSlashVeeZero = txt.IndexOf(@"\v0");
if (firstSlashVeeZero == 0 && txt.Length > 3 && txt[3] == ' ') //"\v0 "
return text.Substring(start, 4);
return text.Substring(start, firstSlashVeeZero + 3); //everything upto \v0"
}
private void ConvertImportProcedureROsToText(Content content, XmlNode xn)
{
foreach (XmlNode nd in xn.SelectNodes("rousage"))
{