This commit is contained in:
2009-01-27 15:31:59 +00:00
parent ec5874fb87
commit 36323b44a7
12 changed files with 315 additions and 71 deletions

View File

@@ -34,7 +34,8 @@ namespace DataLoader
private string ProcFileName;
private string ProcNumber;
private ROFST rofst;
private ROFstInfo rofstinfo;
private RODb rodb;
private int EditSectId;
private Dictionary<string, int> dicLibDocRef;
@@ -73,7 +74,7 @@ namespace DataLoader
log = lg;
frmMain = fm;
}
public bool LoadFolders()
public bool LoadFolders(string vepromspath)
{
try
{
@@ -91,7 +92,7 @@ namespace DataLoader
at = AnnotationType.MakeAnnotationType("Action Items", null);
frmMain.Status = "Load veproms.ini";
XmlDocument d = cfg.LoadSystemIni();
XmlDocument d = cfg.LoadSystemIni(vepromspath);
frmMain.Status = "Load All Formats";
LoadAllFormats();
@@ -190,9 +191,9 @@ namespace DataLoader
return dts;
}
public bool LoadSecurity(string VeSamPath)
public bool LoadSecurity(string VeSamPath, string VePromsPath)
{
Security sec = new Security(VeSamPath);
Security sec = new Security(VeSamPath, VePromsPath);
return sec.Migrate();
}
private void WaitMS(int n)