C2025-022-Remove-UCF-2 #606

Merged
mschill merged 14 commits from C2025-022-Remove-UCF-2 into Development 2025-09-04 06:55:26 -04:00
39 changed files with 17063 additions and 3965 deletions
Showing only changes of commit 61853fb71f - Show all commits

View File

@@ -720,7 +720,6 @@ namespace VEPROMS
ImportProcedureNew(xd); ImportProcedureNew(xd);
isImported = true; isImported = true;
} }
//if (isImported && UCFImportCase == E_UCFImportOptions.LoadForSetOnly) UpdateFormatForUCFInSet();
return true;// Import Suceeded return true;// Import Suceeded
} }

View File

@@ -128,7 +128,7 @@ namespace VEPROMS
private LocalAnnotationTypeInfoList myLocalAnnotationTypeInfoList = null; private LocalAnnotationTypeInfoList myLocalAnnotationTypeInfoList = null;
private StageInfoList myStageInfoList = null; private StageInfoList myStageInfoList = null;
private LocalStageInfoList myLocalStageInfoList = null; private LocalStageInfoList myLocalStageInfoList = null;
private int? _cmbxformatOriginal = null;
private void frmFolderProperties_Load(object sender, EventArgs e) private void frmFolderProperties_Load(object sender, EventArgs e)
{ {
_Initializing = true; _Initializing = true;
@@ -149,7 +149,7 @@ namespace VEPROMS
ppCmbxFormat.DisplayMember = "FullName"; ppCmbxFormat.DisplayMember = "FullName";
ppCmbxFormat.ValueMember = "FullName"; ppCmbxFormat.ValueMember = "FullName";
ppCmbxFormat.DataSource = FormatUtility.GetFilteredFormatList(FormatInfoList.SortedFormatInfoList); ppCmbxFormat.DataSource = FormatUtility.GetFilteredFormatList(FormatInfoList.SortedFormatInfoList);
if (_FolderConfig != null && _FolderConfig.MyFolder != null) _cmbxformatOriginal = _FolderConfig.MyFolder.FormatID;
if (_FolderConfig.FormatSelection != null) if (_FolderConfig.FormatSelection != null)
{ {
ppCmbxFormat.SelectedValue = _FolderConfig.FormatSelection; ppCmbxFormat.SelectedValue = _FolderConfig.FormatSelection;

View File

@@ -213,14 +213,7 @@ namespace VEPROMS.CSLA.Library
[TypeConverter(typeof(ExpandableObjectConverter))] [TypeConverter(typeof(ExpandableObjectConverter))]
public class Flags public class Flags
{ {
//private bool? _CheckOffUCF;
//[DisplayName("UCF CheckOffs")]
//[Description("Additional UCF Check Offs and Sign Offs")]
//public bool? CheckOffUCF
//{
// get { return _CheckOffUCF; }
// set { _CheckOffUCF = value; }
//}
private bool? _PartialStepCompression; private bool? _PartialStepCompression;
[DisplayName("Partial Step Compression")] [DisplayName("Partial Step Compression")]
[Description("Automatically compress last sub-steps to fit on page")] [Description("Automatically compress last sub-steps to fit on page")]
@@ -286,14 +279,6 @@ namespace VEPROMS.CSLA.Library
set { _State = value; } set { _State = value; }
} }
//[Editor(typeof(FlagEnumUIEditor), typeof(System.Drawing.Design.UITypeEditor))]
//[XmlAttribute("Flag")]
//[DisplayName("Flags (Use In)")] // Note that [Description] is not used in collection items (that use collection editor)
//public E_ReplaceFlags Flag
//{
// get { return (E_ReplaceFlags)_Flag; }
// set { _Flag = value; }
//}
private string _ReplaceWord; private string _ReplaceWord;
[XmlAttribute("ReplaceWord")] [XmlAttribute("ReplaceWord")]
[DisplayName("Replace Word")] [DisplayName("Replace Word")]

View File

@@ -2195,7 +2195,6 @@ namespace VEPROMS.CSLA.Library
//int profileDepth = ProfileTimer.Push(">>>> DoReplaceWords2.ForLoop"); //int profileDepth = ProfileTimer.Push(">>>> DoReplaceWords2.ForLoop");
foreach (ReplaceStr rs in rsl) foreach (ReplaceStr rs in rsl)
{ {
//bool dopartial = (E_ReplaceFlags)(rs.Flag & E_ReplaceFlags.CaseInsens) == E_ReplaceFlags.Partials; // save it may need to be changed back to this code.
bool dopartial = (rs.Flag & E_ReplaceFlags.Partials) == E_ReplaceFlags.Partials; // from pre-UCF bool dopartial = (rs.Flag & E_ReplaceFlags.Partials) == E_ReplaceFlags.Partials; // from pre-UCF
if (!dopartial) // F2021-093: Partials moved into their own method and done first if (!dopartial) // F2021-093: Partials moved into their own method and done first
mschill marked this conversation as resolved
Review

Commented out code - should this be removed or is there a reason it needs kept?

Commented out code - should this be removed or is there a reason it needs kept?
Review

still valid

still valid
{ {