Development #612
@@ -720,7 +720,6 @@ namespace VEPROMS
 | 
			
		||||
				ImportProcedureNew(xd);
 | 
			
		||||
				isImported = true;
 | 
			
		||||
			}
 | 
			
		||||
			//if (isImported && UCFImportCase == E_UCFImportOptions.LoadForSetOnly) UpdateFormatForUCFInSet();
 | 
			
		||||
			return true;// Import Suceeded
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -128,7 +128,7 @@ namespace VEPROMS
 | 
			
		||||
		private LocalAnnotationTypeInfoList myLocalAnnotationTypeInfoList = null; 
 | 
			
		||||
		private StageInfoList myStageInfoList = null;
 | 
			
		||||
		private LocalStageInfoList myLocalStageInfoList = null;
 | 
			
		||||
        private int? _cmbxformatOriginal = null;
 | 
			
		||||
 | 
			
		||||
		private void frmFolderProperties_Load(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			_Initializing = true;
 | 
			
		||||
@@ -149,7 +149,7 @@ namespace VEPROMS
 | 
			
		||||
			ppCmbxFormat.DisplayMember = "FullName";
 | 
			
		||||
			ppCmbxFormat.ValueMember = "FullName";
 | 
			
		||||
			ppCmbxFormat.DataSource = FormatUtility.GetFilteredFormatList(FormatInfoList.SortedFormatInfoList);
 | 
			
		||||
			if (_FolderConfig != null && _FolderConfig.MyFolder != null) _cmbxformatOriginal = _FolderConfig.MyFolder.FormatID;
 | 
			
		||||
 | 
			
		||||
			if (_FolderConfig.FormatSelection != null)
 | 
			
		||||
			{
 | 
			
		||||
				ppCmbxFormat.SelectedValue = _FolderConfig.FormatSelection;
 | 
			
		||||
 
 | 
			
		||||
@@ -213,14 +213,7 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
		[TypeConverter(typeof(ExpandableObjectConverter))]
 | 
			
		||||
		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;
 | 
			
		||||
			[DisplayName("Partial Step Compression")]
 | 
			
		||||
			[Description("Automatically compress last sub-steps to fit on page")]
 | 
			
		||||
@@ -286,14 +279,6 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
				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;
 | 
			
		||||
			[XmlAttribute("ReplaceWord")]
 | 
			
		||||
			[DisplayName("Replace Word")]
 | 
			
		||||
 
 | 
			
		||||
@@ -2195,7 +2195,6 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
			//int profileDepth = ProfileTimer.Push(">>>> DoReplaceWords2.ForLoop");
 | 
			
		||||
			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
 | 
			
		||||
				if (!dopartial)     // F2021-093: Partials moved into their own method and done first
 | 
			
		||||
				{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user