C2018-009 logic to pass the PROMS version number down to the iTechSharp

C2018-004 Close the DebugMeta.txt file after printing
C2018-004 Added class for generate a DebugMeta file.
This commit is contained in:
2018-04-12 20:29:31 +00:00
parent aa7a427dd1
commit 6732591fc5
3 changed files with 22 additions and 1 deletions

View File

@@ -536,6 +536,7 @@ namespace VEPROMS
{
string msg = string.Empty;
bool ok = MySessionInfo.CanCheckOutItem(fi.FolderID, CheckOutType.Session, ref msg);
//bool ok = MySessionInfo.CanCheckOutItem(fi.FolderID, (args.Index == 0)? CheckOutType.Folder : CheckOutType.Session, ref msg);
if (!ok)
{
if (args.Index == 0)
@@ -546,6 +547,7 @@ namespace VEPROMS
else
{
int ownerid = MySessionInfo.CheckOutItem(fi.FolderID, CheckOutType.Session);
//int ownerid = MySessionInfo.CheckOutItem(fi.FolderID, (args.Index == 0) ? CheckOutType.Folder : CheckOutType.Session);
dlgExportImport dlg = new dlgExportImport(args.Index == 0 ? "Export" : "Import", fi, this);//Added frmVEPROMS Parameter
dlg.ShowDialog(this);
MySessionInfo.CheckInItem(ownerid);
@@ -1222,6 +1224,7 @@ namespace VEPROMS
//Settings.Default.Save();
Volian.Base.Library.DebugPagination.Close();
Volian.Base.Library.DebugText.Close();
Volian.Base.Library.BaselineMetaFile.Close(); // C2018-004 create meta file for baseline compares
}
}
void frmVEPROMS_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)