diff --git a/PROMS/VEPROMS User Interface/dlgExportImportEP.cs b/PROMS/VEPROMS User Interface/dlgExportImportEP.cs deleted file mode 100644 index f6c466be..00000000 --- a/PROMS/VEPROMS User Interface/dlgExportImportEP.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using VEPROMS.CSLA.Library; - -namespace VEPROMS -{ - //C2025-024 Electronic Procedures - Phase 2 (PROMS XML output) - //class inherits from normal import/export form - //then adds additional functionality - public partial class dlgExportImportEP : dlgExportImport - { - private readonly AnnotationTypeInfo _AnnotationType; - - public dlgExportImportEP(string mode, FolderInfo folderInfo, frmVEPROMS myFrmVEPROMS, int annotationTypeId) : base(mode, folderInfo, myFrmVEPROMS, (E_UCFImportOptions) 0) - { - _AnnotationType = AnnotationTypeInfo.Get(annotationTypeId); - _ExportBothConvertedandNot = true; - DocReplace = new Dictionary(); - FormClosed += OnClose; - Text = $"{mode} Electronic Procedure ({_AnnotationType.Name}) Dialog for {folderInfo.Name}"; - } - - public dlgExportImportEP(string mode, DocVersionInfo docVersionInfo, frmVEPROMS myFrmVEPROMS, int annotationTypeId) : base(mode, docVersionInfo, myFrmVEPROMS, (E_UCFImportOptions)0) - { - _AnnotationType = AnnotationTypeInfo.Get(annotationTypeId); - _ExportBothConvertedandNot = true; - DocReplace = new Dictionary(); - FormClosed += OnClose; - Text = $"{mode} Electronic Procedure ({_AnnotationType.Name}) Dialog for {docVersionInfo.Name} of {docVersionInfo.MyFolder.Name}"; - } - public dlgExportImportEP(string mode, ProcedureInfo procedureInfo, frmVEPROMS myFrmVEPROMS, int annotationTypeId) : base(mode, procedureInfo, myFrmVEPROMS, (E_UCFImportOptions)0) - { - _AnnotationType = AnnotationTypeInfo.Get(annotationTypeId); - _ExportBothConvertedandNot = true; - DocReplace = new Dictionary(); - FormClosed += OnClose; - Text = $"{mode} Electronic Procedure ({_AnnotationType.Name}) Dialog for {procedureInfo.DisplayNumber}"; - } - private void OnClose(object sender, EventArgs e) - { - DocReplace.Clear(); - DocReplace = null; - } - - - } -}