Compare commits
	
		
			4 Commits
		
	
	
		
			F2025-027_
			...
			C2024-016-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| be3a5f64db | |||
| d00d69b7af | |||
| ff940005f9 | |||
| 10ecad47b2 | 
| @@ -223,6 +223,12 @@ | |||||||
|     <Compile Include="dlgUCFDetail.Designer.cs"> |     <Compile Include="dlgUCFDetail.Designer.cs"> | ||||||
|       <DependentUpon>dlgUCFDetail.cs</DependentUpon> |       <DependentUpon>dlgUCFDetail.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="frmAnnotationResults.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="frmAnnotationResults.Designer.cs"> | ||||||
|  |       <DependentUpon>frmAnnotationResults.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="frmAnnotationsCleanup.cs"> |     <Compile Include="frmAnnotationsCleanup.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -340,6 +346,9 @@ | |||||||
|     <EmbeddedResource Include="dlgUCFDetail.resx"> |     <EmbeddedResource Include="dlgUCFDetail.resx"> | ||||||
|       <DependentUpon>dlgUCFDetail.cs</DependentUpon> |       <DependentUpon>dlgUCFDetail.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="frmAnnotationResults.resx"> | ||||||
|  |       <DependentUpon>frmAnnotationResults.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="frmAnnotationsCleanup.resx"> |     <EmbeddedResource Include="frmAnnotationsCleanup.resx"> | ||||||
|       <DependentUpon>frmAnnotationsCleanup.cs</DependentUpon> |       <DependentUpon>frmAnnotationsCleanup.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|   | |||||||
							
								
								
									
										158
									
								
								PROMS/VEPROMS User Interface/frmAnnotationResults.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										158
									
								
								PROMS/VEPROMS User Interface/frmAnnotationResults.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,158 @@ | |||||||
|  |  | ||||||
|  | namespace VEPROMS | ||||||
|  | { | ||||||
|  | 	partial class frmAnnotationResults | ||||||
|  | 	{ | ||||||
|  | 		/// <summary> | ||||||
|  | 		/// Required designer variable. | ||||||
|  | 		/// </summary> | ||||||
|  | 		private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  | 		/// <summary> | ||||||
|  | 		/// Clean up any resources being used. | ||||||
|  | 		/// </summary> | ||||||
|  | 		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  | 		protected override void Dispose(bool disposing) | ||||||
|  | 		{ | ||||||
|  | 			if (disposing && (components != null)) | ||||||
|  | 			{ | ||||||
|  | 				components.Dispose(); | ||||||
|  | 			} | ||||||
|  | 			base.Dispose(disposing); | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		#region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  | 		/// <summary> | ||||||
|  | 		/// Required method for Designer support - do not modify | ||||||
|  | 		/// the contents of this method with the code editor. | ||||||
|  | 		/// </summary> | ||||||
|  | 		private void InitializeComponent() | ||||||
|  | 		{ | ||||||
|  | 			this.lblAnnotationResults = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblResultTotal = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblTotal = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblType = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblTypeTxt = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblPlace1 = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblPlace1Txt = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblPlace2 = new System.Windows.Forms.Label(); | ||||||
|  | 			this.lblPlace2Txt = new System.Windows.Forms.Label(); | ||||||
|  | 			this.SuspendLayout(); | ||||||
|  | 			//  | ||||||
|  | 			// lblAnnotationResults | ||||||
|  | 			//  | ||||||
|  | 			this.lblAnnotationResults.AutoSize = true; | ||||||
|  | 			this.lblAnnotationResults.Location = new System.Drawing.Point(63, 9); | ||||||
|  | 			this.lblAnnotationResults.Name = "lblAnnotationResults"; | ||||||
|  | 			this.lblAnnotationResults.Size = new System.Drawing.Size(138, 13); | ||||||
|  | 			this.lblAnnotationResults.TabIndex = 0; | ||||||
|  | 			this.lblAnnotationResults.Text = "Annotation Cleanup Results"; | ||||||
|  | 			this.lblAnnotationResults.Click += new System.EventHandler(this.label1_Click); | ||||||
|  | 			//  | ||||||
|  | 			// lblResultTotal | ||||||
|  | 			//  | ||||||
|  | 			this.lblResultTotal.AutoSize = true; | ||||||
|  | 			this.lblResultTotal.Location = new System.Drawing.Point(159, 37); | ||||||
|  | 			this.lblResultTotal.Name = "lblResultTotal"; | ||||||
|  | 			this.lblResultTotal.Size = new System.Drawing.Size(27, 13); | ||||||
|  | 			this.lblResultTotal.TabIndex = 1; | ||||||
|  | 			this.lblResultTotal.Text = "*****"; | ||||||
|  | 			//  | ||||||
|  | 			// lblTotal | ||||||
|  | 			//  | ||||||
|  | 			this.lblTotal.AutoSize = true; | ||||||
|  | 			this.lblTotal.Location = new System.Drawing.Point(66, 37); | ||||||
|  | 			this.lblTotal.Name = "lblTotal"; | ||||||
|  | 			this.lblTotal.Size = new System.Drawing.Size(69, 13); | ||||||
|  | 			this.lblTotal.TabIndex = 2; | ||||||
|  | 			this.lblTotal.Text = "Total remved"; | ||||||
|  | 			//  | ||||||
|  | 			// lblType | ||||||
|  | 			//  | ||||||
|  | 			this.lblType.AutoSize = true; | ||||||
|  | 			this.lblType.Location = new System.Drawing.Point(66, 60); | ||||||
|  | 			this.lblType.Name = "lblType"; | ||||||
|  | 			this.lblType.Size = new System.Drawing.Size(85, 13); | ||||||
|  | 			this.lblType.TabIndex = 3; | ||||||
|  | 			this.lblType.Text = "Annotation Type"; | ||||||
|  | 			//  | ||||||
|  | 			// lblTypeTxt | ||||||
|  | 			//  | ||||||
|  | 			this.lblTypeTxt.AutoSize = true; | ||||||
|  | 			this.lblTypeTxt.Location = new System.Drawing.Point(159, 60); | ||||||
|  | 			this.lblTypeTxt.Name = "lblTypeTxt"; | ||||||
|  | 			this.lblTypeTxt.Size = new System.Drawing.Size(27, 13); | ||||||
|  | 			this.lblTypeTxt.TabIndex = 4; | ||||||
|  | 			this.lblTypeTxt.Text = "*****"; | ||||||
|  | 			//  | ||||||
|  | 			// lblPlace1 | ||||||
|  | 			//  | ||||||
|  | 			this.lblPlace1.AutoSize = true; | ||||||
|  | 			this.lblPlace1.Location = new System.Drawing.Point(66, 87); | ||||||
|  | 			this.lblPlace1.Name = "lblPlace1"; | ||||||
|  | 			this.lblPlace1.Size = new System.Drawing.Size(43, 13); | ||||||
|  | 			this.lblPlace1.TabIndex = 5; | ||||||
|  | 			this.lblPlace1.Text = "Place 1"; | ||||||
|  | 			//  | ||||||
|  | 			// lblPlace1Txt | ||||||
|  | 			//  | ||||||
|  | 			this.lblPlace1Txt.AutoSize = true; | ||||||
|  | 			this.lblPlace1Txt.Location = new System.Drawing.Point(159, 87); | ||||||
|  | 			this.lblPlace1Txt.Name = "lblPlace1Txt"; | ||||||
|  | 			this.lblPlace1Txt.Size = new System.Drawing.Size(27, 13); | ||||||
|  | 			this.lblPlace1Txt.TabIndex = 6; | ||||||
|  | 			this.lblPlace1Txt.Text = "*****"; | ||||||
|  | 			//  | ||||||
|  | 			// lblPlace2 | ||||||
|  | 			//  | ||||||
|  | 			this.lblPlace2.AutoSize = true; | ||||||
|  | 			this.lblPlace2.Location = new System.Drawing.Point(66, 115); | ||||||
|  | 			this.lblPlace2.Name = "lblPlace2"; | ||||||
|  | 			this.lblPlace2.Size = new System.Drawing.Size(43, 13); | ||||||
|  | 			this.lblPlace2.TabIndex = 7; | ||||||
|  | 			this.lblPlace2.Text = "Place 2"; | ||||||
|  | 			//  | ||||||
|  | 			// lblPlace2Txt | ||||||
|  | 			//  | ||||||
|  | 			this.lblPlace2Txt.AutoSize = true; | ||||||
|  | 			this.lblPlace2Txt.Location = new System.Drawing.Point(159, 115); | ||||||
|  | 			this.lblPlace2Txt.Name = "lblPlace2Txt"; | ||||||
|  | 			this.lblPlace2Txt.Size = new System.Drawing.Size(27, 13); | ||||||
|  | 			this.lblPlace2Txt.TabIndex = 8; | ||||||
|  | 			this.lblPlace2Txt.Text = "*****"; | ||||||
|  | 			//  | ||||||
|  | 			// frmAnnotationResults | ||||||
|  | 			//  | ||||||
|  | 			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | ||||||
|  | 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|  | 			this.ClientSize = new System.Drawing.Size(253, 157); | ||||||
|  | 			this.Controls.Add(this.lblPlace2Txt); | ||||||
|  | 			this.Controls.Add(this.lblPlace2); | ||||||
|  | 			this.Controls.Add(this.lblPlace1Txt); | ||||||
|  | 			this.Controls.Add(this.lblPlace1); | ||||||
|  | 			this.Controls.Add(this.lblTypeTxt); | ||||||
|  | 			this.Controls.Add(this.lblType); | ||||||
|  | 			this.Controls.Add(this.lblTotal); | ||||||
|  | 			this.Controls.Add(this.lblResultTotal); | ||||||
|  | 			this.Controls.Add(this.lblAnnotationResults); | ||||||
|  | 			this.Name = "frmAnnotationResults"; | ||||||
|  | 			this.Text = "frmAnnotationResults"; | ||||||
|  | 			this.ResumeLayout(false); | ||||||
|  | 			this.PerformLayout(); | ||||||
|  |  | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		#endregion | ||||||
|  |  | ||||||
|  | 		private System.Windows.Forms.Label lblAnnotationResults; | ||||||
|  | 		private System.Windows.Forms.Label lblResultTotal; | ||||||
|  | 		private System.Windows.Forms.Label lblTotal; | ||||||
|  | 		private System.Windows.Forms.Label lblType; | ||||||
|  | 		private System.Windows.Forms.Label lblTypeTxt; | ||||||
|  | 		private System.Windows.Forms.Label lblPlace1; | ||||||
|  | 		private System.Windows.Forms.Label lblPlace1Txt; | ||||||
|  | 		private System.Windows.Forms.Label lblPlace2; | ||||||
|  | 		private System.Windows.Forms.Label lblPlace2Txt; | ||||||
|  | 	} | ||||||
|  | } | ||||||
							
								
								
									
										25
									
								
								PROMS/VEPROMS User Interface/frmAnnotationResults.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								PROMS/VEPROMS User Interface/frmAnnotationResults.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | |||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.ComponentModel; | ||||||
|  | using System.Data; | ||||||
|  | using System.Drawing; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Text; | ||||||
|  | using System.Threading.Tasks; | ||||||
|  | using System.Windows.Forms; | ||||||
|  |  | ||||||
|  | namespace VEPROMS | ||||||
|  | { | ||||||
|  | 	public partial class frmAnnotationResults : Form | ||||||
|  | 	{ | ||||||
|  | 		public frmAnnotationResults() | ||||||
|  | 		{ | ||||||
|  | 			InitializeComponent(); | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		private void label1_Click(object sender, EventArgs e) | ||||||
|  | 		{ | ||||||
|  |  | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | } | ||||||
							
								
								
									
										150
									
								
								PROMS/VEPROMS User Interface/frmAnnotationResults.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										150
									
								
								PROMS/VEPROMS User Interface/frmAnnotationResults.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,150 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="lblAnnotationResults.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblResultTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblType.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblTypeTxt.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblPlace1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblPlace1Txt.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblPlace2.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="lblPlace2Txt.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  | </root> | ||||||
| @@ -22,6 +22,8 @@ namespace VEPROMS | |||||||
| 		string procList = ""; | 		string procList = ""; | ||||||
| 		string docvList = ""; | 		string docvList = ""; | ||||||
| 		int AnnotationTyp; | 		int AnnotationTyp; | ||||||
|  | 		string AnnotationName = ""; | ||||||
|  | 		string totalDeleteCnt = ""; | ||||||
| 		List<ProcedureInfo> pil2 = new List<ProcedureInfo>(); | 		List<ProcedureInfo> pil2 = new List<ProcedureInfo>(); | ||||||
| 		List<DocVersionInfo> dvil2 = new List<DocVersionInfo>(); | 		List<DocVersionInfo> dvil2 = new List<DocVersionInfo>(); | ||||||
| 		private frmBatchRefresh mainForm = null; | 		private frmBatchRefresh mainForm = null; | ||||||
| @@ -102,13 +104,26 @@ namespace VEPROMS | |||||||
| 		// Process used to cleanup annotations "(Proceed?" button) | 		// Process used to cleanup annotations "(Proceed?" button) | ||||||
| 		private void button1_Click(object sender, EventArgs e) | 		private void button1_Click(object sender, EventArgs e) | ||||||
| 		{ | 		{ | ||||||
|  |  | ||||||
|  | 			TextBox frm2 = mainForm.GettxtProcess(); | ||||||
|  | 			TextBox frm3 = mainForm.GettxtResults(); | ||||||
|  | 			AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key); | ||||||
|  | 			AnnotationName = System.Convert.ToString(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Value); | ||||||
|  | 			frm3.AppendText("Deleting Annotations: Annotation Type: " + '"' + AnnotationName + '"'); | ||||||
|  | 			frm3.AppendText(Environment.NewLine + "P = Procedure, F = Folder" + Environment.NewLine); | ||||||
|  | 			int deletecountProc = 0; | ||||||
|  | 			int deletecountDocv = 0; | ||||||
| 			foreach (var p in pil2) | 			foreach (var p in pil2) | ||||||
| 			{ | 			{ | ||||||
| 				if (p.IsProcedure) | 				if (p.IsProcedure) | ||||||
| 				{ | 				{ | ||||||
| 					TextBox frm2 = mainForm.GettxtProcess(); | 					//AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key); | ||||||
| 					frm2.AppendText(p.DisplayNumber + ' ' + p.DisplayText); | 					//AnnotationName = System.Convert.ToString(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Value); | ||||||
| 					AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key); | 					//deletecountProc = Annotation.getAnnotationProcCnt(AnnotationTyp, getAnnotationProcItems(p)); | ||||||
|  | 					deletecountProc = Annotation.getAnnotationProcCnt(AnnotationTyp, p.ItemID.ToString()); | ||||||
|  | 					frm2.AppendText(Environment.NewLine + p.DisplayNumber + ' ' + p.DisplayText); | ||||||
|  | 					//frm3.AppendText(Environment.NewLine + "P: " + p.DisplayNumber + '"' + p.DisplayText + '"' + " Type: " + '"' + AnnotationName + '"' + " count: " + deletecountProc); | ||||||
|  | 					frm3.AppendText(Environment.NewLine + "P: " + p.DisplayNumber + '"' + p.DisplayText + '"' +  " Delete count: " + deletecountProc); | ||||||
| 					Annotation.DeleteAnnotationProcByType(AnnotationTyp, p.ItemID.ToString()); | 					Annotation.DeleteAnnotationProcByType(AnnotationTyp, p.ItemID.ToString()); | ||||||
| 					lblCountNumber.Text = "0"; | 					lblCountNumber.Text = "0"; | ||||||
| 				} | 				} | ||||||
| @@ -118,14 +133,21 @@ namespace VEPROMS | |||||||
| 			{ | 			{ | ||||||
| 				if (d.IsDocVersion) | 				if (d.IsDocVersion) | ||||||
| 				{ | 				{ | ||||||
| 					TextBox frm2 = mainForm.GettxtProcess(); | 					//AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key); | ||||||
| 					frm2.AppendText(d.ActiveParent.ToString()); | 					//AnnotationName = System.Convert.ToString(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Value); | ||||||
|  | 					deletecountDocv = Annotation.getAnnotationCountDocv(AnnotationTyp, d.VersionID.ToString()); | ||||||
|  | 					frm2.AppendText(Environment.NewLine + d.ActiveParent.ToString()); | ||||||
|  | 					frm3.AppendText(Environment.NewLine + "F: " + '"' + d.ActiveParent.ToString() + '"' + " Delete count: " + deletecountDocv); | ||||||
| 					AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key); | 					AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key); | ||||||
| 					Annotation.DeleteAnnotationDocvByType(AnnotationTyp, d.VersionID.ToString()); | 					Annotation.DeleteAnnotationDocvByType(AnnotationTyp, d.VersionID.ToString()); | ||||||
|  |  | ||||||
| 					lblCountNumber.Text = "0"; | 					lblCountNumber.Text = "0"; | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|  | 			frm3.AppendText(Environment.NewLine + Environment.NewLine + "Total Annotations Deleted: " + totalDeleteCnt + Environment.NewLine + Environment.NewLine); | ||||||
|  |  | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		// Retrieve number of annotations that will be deleted. | 		// Retrieve number of annotations that will be deleted. | ||||||
| 		private void lbAnnotationTypes_SelectedIndexChanged(object sender, EventArgs e) | 		private void lbAnnotationTypes_SelectedIndexChanged(object sender, EventArgs e) | ||||||
| 		{ | 		{ | ||||||
| @@ -145,6 +167,7 @@ namespace VEPROMS | |||||||
| 				deletecountDocv = Annotation.getAnnotationCountDocv(AnnotationTyp, getAnnotationDocvItems(dvil2)); | 				deletecountDocv = Annotation.getAnnotationCountDocv(AnnotationTyp, getAnnotationDocvItems(dvil2)); | ||||||
| 			} | 			} | ||||||
| 			lblCountNumber.Text = (deletecountProc + deletecountDocv).ToString(); | 			lblCountNumber.Text = (deletecountProc + deletecountDocv).ToString(); | ||||||
|  | 			totalDeleteCnt = (deletecountProc + deletecountDocv).ToString(); | ||||||
| 			btnClean.Enabled = true; | 			btnClean.Enabled = true; | ||||||
|  |  | ||||||
| 		} | 		} | ||||||
| @@ -156,3 +179,5 @@ namespace VEPROMS | |||||||
|  |  | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -61,6 +61,13 @@ namespace VEPROMS | |||||||
| 		{ | 		{ | ||||||
| 			return txtProcess; | 			return txtProcess; | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|  | 		// Make txtResults text box available to frmAnnotationsClean form. | ||||||
|  | 		internal TextBox GettxtResults() | ||||||
|  | 		{ | ||||||
|  | 			return txtResults; | ||||||
|  | 		} | ||||||
|  |  | ||||||
| 		// NOTE:  removed the Refresh ROs and Refresh Transitions and ROs options (now only Transitions can be refreshed) | 		// NOTE:  removed the Refresh ROs and Refresh Transitions and ROs options (now only Transitions can be refreshed) | ||||||
| 		// the Update ROs and Refresh ROs logic was merged together.  The Update ROs will functionally do both | 		// the Update ROs and Refresh ROs logic was merged together.  The Update ROs will functionally do both | ||||||
| 		// also annotations will be placed on step elements that have RO changes | 		// also annotations will be placed on step elements that have RO changes | ||||||
| @@ -1722,7 +1729,7 @@ namespace VEPROMS | |||||||
| 			else | 			else | ||||||
| 			{ | 			{ | ||||||
| 					// Write progress status | 					// Write progress status | ||||||
| 				txtProcess.AppendText("Deleting Annotations..."); | 				txtProcess.AppendText("Deleting Annotations..." + Environment.NewLine); | ||||||
|  |  | ||||||
| 					// Create a list of procedures the user selected | 					// Create a list of procedures the user selected | ||||||
| 				List<ProcedureInfo> pil = new List<ProcedureInfo>(); | 				List<ProcedureInfo> pil = new List<ProcedureInfo>(); | ||||||
| @@ -1792,3 +1799,5 @@ namespace VEPROMS | |||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user