diff --git a/PROMS/VEPROMS/FixTransitions/App.config b/PROMS/VEPROMS/FixTransitions/App.config
deleted file mode 100644
index e5c55b8d..00000000
--- a/PROMS/VEPROMS/FixTransitions/App.config
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
-
-
- 1
-
-
- 2
-
-
- 192, 255, 255
-
-
- True
-
-
- False
-
-
- Normal
-
-
- True
-
-
-
-
- False
-
-
- 1
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/FixTransitions/FixTransitions.csproj b/PROMS/VEPROMS/FixTransitions/FixTransitions.csproj
deleted file mode 100644
index fefbe0df..00000000
--- a/PROMS/VEPROMS/FixTransitions/FixTransitions.csproj
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {C12F67FB-C11B-4486-B012-2038D64641C4}
- WinExe
- Properties
- FixTransitions
- FixTransitions
- v2.0
-
-
-
-
- 2.0
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- x86
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\Demo\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- true
- bin\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
- true
- bin\Demo\
- TRACE;DEMO
- full
- x86
- prompt
-
-
-
- False
- ..\..\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\bin\Debug\Csla.dll
-
-
- True
-
-
- False
- ..\..\DropDownPanel\bin\Debug\DropDownPanel.dll
-
-
- False
- ..\..\LBWordLibrary\bin\Debug\LBWordLibrary.dll
-
-
- False
- ..\..\Volian.Controls.Library\bin\Debug\log4net.dll
-
-
-
-
-
-
-
-
- False
- ..\..\VEPROMS.CSLA.Library\bin\Debug\VEPROMS.CSLA.Library.dll
-
-
- False
- ..\..\XYPlots\bin\Debug\XYPlots.dll
-
-
-
-
- Form
-
-
- frmFindAndFix.cs
-
-
-
-
- Designer
- frmFindAndFix.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/FixTransitions/FixTransitions.sln b/PROMS/VEPROMS/FixTransitions/FixTransitions.sln
deleted file mode 100644
index f56b4774..00000000
--- a/PROMS/VEPROMS/FixTransitions/FixTransitions.sln
+++ /dev/null
@@ -1,26 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FixTransitions", "FixTransitions.csproj", "{C12F67FB-C11B-4486-B012-2038D64641C4}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Debug|x86.ActiveCfg = Debug|x86
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Debug|x86.Build.0 = Debug|x86
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Release|Any CPU.Build.0 = Release|Any CPU
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Release|x86.ActiveCfg = Release|x86
- {C12F67FB-C11B-4486-B012-2038D64641C4}.Release|x86.Build.0 = Release|x86
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/PROMS/VEPROMS/FixTransitions/Program.cs b/PROMS/VEPROMS/FixTransitions/Program.cs
deleted file mode 100644
index 374643c4..00000000
--- a/PROMS/VEPROMS/FixTransitions/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace FixTransitions
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmFindAndFix());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/FixTransitions/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/FixTransitions/Properties/AssemblyInfo.cs
deleted file mode 100644
index 6e90db98..00000000
--- a/PROMS/VEPROMS/FixTransitions/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("FixTransitions")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("FixTransitions")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("b360547c-de6d-4c68-b60a-d75719d917fb")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/FixTransitions/Properties/Resources.Designer.cs b/PROMS/VEPROMS/FixTransitions/Properties/Resources.Designer.cs
deleted file mode 100644
index d61de82d..00000000
--- a/PROMS/VEPROMS/FixTransitions/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace FixTransitions.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FixTransitions.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/FixTransitions/Properties/Resources.resx b/PROMS/VEPROMS/FixTransitions/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/PROMS/VEPROMS/FixTransitions/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/FixTransitions/Properties/Settings.Designer.cs b/PROMS/VEPROMS/FixTransitions/Properties/Settings.Designer.cs
deleted file mode 100644
index b5e38b83..00000000
--- a/PROMS/VEPROMS/FixTransitions/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace FixTransitions.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/FixTransitions/Properties/Settings.settings b/PROMS/VEPROMS/FixTransitions/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/FixTransitions/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/FixTransitions/frmFindAndFix.Designer.cs b/PROMS/VEPROMS/FixTransitions/frmFindAndFix.Designer.cs
deleted file mode 100644
index 32c63f7d..00000000
Binary files a/PROMS/VEPROMS/FixTransitions/frmFindAndFix.Designer.cs and /dev/null differ
diff --git a/PROMS/VEPROMS/FixTransitions/frmFindAndFix.cs b/PROMS/VEPROMS/FixTransitions/frmFindAndFix.cs
deleted file mode 100644
index 4289ca31..00000000
--- a/PROMS/VEPROMS/FixTransitions/frmFindAndFix.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using VEPROMS.CSLA.Library;
-using Volian.Controls.Library;
-
-namespace FixTransitions
-{
- public partial class frmFindAndFix : Form
- {
- public frmFindAndFix()
- {
- InitializeComponent();
- }
- public string FormStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; Application.DoEvents(); }
- }
- private ItemInfoList _ListToFix = null;
- private void findToolStripMenuItem_Click(object sender, EventArgs e)
- {
- FormStatus = "Searching";
- // Perform a query looking for '(Resolved Transition Text)'
- //_ListToFix = ItemInfoList.GetListFromTextSearch("", "", "(Resolved Transition Text)", 0, ItemSearchIncludeLinks.Value, false, false);\
- _ListToFix = ItemInfoList.GetListFromTextSearch("", "", "Resolved Transition Text", 0, ItemSearchIncludeLinks.Value, false, false, "");
- // Place the results in the ListBox
- lbResults.DataSource=_ListToFix;
- lbResults.DisplayMember="DisplayText";
- FormStatus = string.Format("Searching Complete: {0} Items Found",_ListToFix.Count);
-
- }
- private void fixToolStripMenuItem_Click(object sender, EventArgs e)
- {
- int i = 0;
- foreach (ItemInfo item in _ListToFix)
- {
- i++;
- //if (item.MyContent.ContentID == 363)
- //{
- // Console.WriteLine("Stop Here");
- if (i >= lbResults.SelectedIndex)
- {
- FormStatus = string.Format("Processing {0} of {1} steps ({2})", i, _ListToFix.Count, item.DisplayText);
- //rtb.ViewRTB = false;
- rtb.MyItemInfo = item;
- rtb.RefreshDisplay(true);
- SaveText(rtb);
- }
- //}
- }
- FormStatus = "Refreshing Results";
- findToolStripMenuItem_Click(sender, e);
- FormStatus = "Fix Done";
- }
- public void SaveText(StepRTB myStepRTB)
- {
- if (myStepRTB.ReadOnly) return;
- //if (myStepRTB.ViewRTB) return;
- if (!myStepRTB.IsDirty && myStepRTB.Text.Contains("(Resolved Transition Text)") == false) return;
- bool success = myStepRTB.OrigDisplayText.Save((RichTextBox)myStepRTB);
- if (success)
- {
- myStepRTB.FindAllLinks();
- myStepRTB.OrigRTF = myStepRTB.Rtf;
- myStepRTB.ClearUndo();
- }
- }
- private void processToolStripMenuItem_Click(object sender, EventArgs e)
- {
- ItemInfo item = ItemInfo.Get(int.Parse(tbItemID.Text));
- item.UpdateTransitionText();
- }
-
- private void compareToolStripMenuItem_Click(object sender, EventArgs e)
- {
- // TransitionInfoList transitions = TransitionInfoList.Get();
- // FormStatus = string.Format("Checking {0} transitions", transitions.Count);
- // int differences = 0;
- // foreach (TransitionInfo transition in transitions)
- // {
- // FormStatus = string.Format("Checking transition {0}", transition.TransitionID);
- // string oldPath = transition.ResolvePathTo();
- // string newPath = transition.ResolvePathNew2();
- // if (oldPath != newPath)
- // {
- // differences++;
- // Console.WriteLine("{0},'{1}','{2}'", transition.TransitionID, oldPath, newPath);
- // }
- // }
- // FormStatus = string.Format("{0} transitions checked - {1} differences found", transitions.Count, differences);
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/FixTransitions/frmFindAndFix.resx b/PROMS/VEPROMS/FixTransitions/frmFindAndFix.resx
deleted file mode 100644
index 7de6988d..00000000
--- a/PROMS/VEPROMS/FixTransitions/frmFindAndFix.resx
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- 132, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWord/App.config b/PROMS/VEPROMS/PrintMSWord/App.config
deleted file mode 100644
index e5c55b8d..00000000
--- a/PROMS/VEPROMS/PrintMSWord/App.config
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
-
-
- 1
-
-
- 2
-
-
- 192, 255, 255
-
-
- True
-
-
- False
-
-
- Normal
-
-
- True
-
-
-
-
- False
-
-
- 1
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWord/PrintMSWord.csproj b/PROMS/VEPROMS/PrintMSWord/PrintMSWord.csproj
deleted file mode 100644
index 235f10bf..00000000
--- a/PROMS/VEPROMS/PrintMSWord/PrintMSWord.csproj
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {5731EEAD-30C9-499F-849E-179F11D932B0}
- WinExe
- Properties
- PrintMSWord
- PrintMSWord
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- x86
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\x86\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
-
- False
- F:\CSLA\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\bin\Debug\Csla.dll
-
-
- False
- F:\Log4Net\log4net-1.2.10\bin\net\2.0\debug\log4net.dll
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- frmInfo.cs
-
-
- Form
-
-
- frmPrintMsWord.cs
-
-
-
-
- Designer
- frmInfo.cs
-
-
- Designer
- frmPrintMsWord.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {70F23722-19A3-4AC1-A900-55831C945786}
- LBWordLibrary
-
-
- {41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}
- VEPROMS.CSLA.Library
-
-
- {52D74078-3822-410E-889B-464BD21AAB9E}
- VG
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
- {04E168D0-9CC7-43D9-A9F1-93E481EA86A3}
- XYPlots
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWord/Program.cs b/PROMS/VEPROMS/PrintMSWord/Program.cs
deleted file mode 100644
index 3ca02c65..00000000
--- a/PROMS/VEPROMS/PrintMSWord/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmPrintMSWord());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWord/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/PrintMSWord/Properties/AssemblyInfo.cs
deleted file mode 100644
index 0883c420..00000000
--- a/PROMS/VEPROMS/PrintMSWord/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("PrintMSWord")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("PrintMSWord")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("3b56b3e7-fe71-4d89-9409-7cfd19c6d1d6")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/PrintMSWord/Properties/Resources.Designer.cs b/PROMS/VEPROMS/PrintMSWord/Properties/Resources.Designer.cs
deleted file mode 100644
index d9ca0fb4..00000000
--- a/PROMS/VEPROMS/PrintMSWord/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrintMSWord.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/PrintMSWord/Properties/Resources.resx b/PROMS/VEPROMS/PrintMSWord/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/PROMS/VEPROMS/PrintMSWord/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWord/Properties/Settings.Designer.cs b/PROMS/VEPROMS/PrintMSWord/Properties/Settings.Designer.cs
deleted file mode 100644
index 264d0f51..00000000
--- a/PROMS/VEPROMS/PrintMSWord/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/PrintMSWord/Properties/Settings.settings b/PROMS/VEPROMS/PrintMSWord/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/PrintMSWord/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.Designer.cs b/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.Designer.cs
deleted file mode 100644
index 102e9ec9..00000000
--- a/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.Designer.cs
+++ /dev/null
@@ -1,293 +0,0 @@
-namespace PrintMSWord
-{
- partial class frmPrintMSWord
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tspbStatus = new System.Windows.Forms.ToolStripProgressBar();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.panel1 = new System.Windows.Forms.Panel();
- this.cbDebugOutput = new DevComponents.DotNetBar.Controls.CheckBoxX();
- this.tbTimings = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.cbWatermark = new System.Windows.Forms.ComboBox();
- this.tbRevDate = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.tbRev = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.lbProcs = new System.Windows.Forms.ListBox();
- this.menuStrip1.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // menuStrip1
- //
- this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.pDFToolStripMenuItem,
- this.pDFsToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
- this.menuStrip1.Size = new System.Drawing.Size(1125, 28);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.exitToolStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 24);
- this.fileToolStripMenuItem.Text = "&File";
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(108, 26);
- this.exitToolStripMenuItem.Text = "E&xit";
- //
- // pDFToolStripMenuItem
- //
- this.pDFToolStripMenuItem.Name = "pDFToolStripMenuItem";
- this.pDFToolStripMenuItem.Size = new System.Drawing.Size(47, 24);
- this.pDFToolStripMenuItem.Text = "PDF";
- this.pDFToolStripMenuItem.Click += new System.EventHandler(this.pDFToolStripMenuItem_Click);
- //
- // pDFsToolStripMenuItem
- //
- this.pDFsToolStripMenuItem.Name = "pDFsToolStripMenuItem";
- this.pDFsToolStripMenuItem.Size = new System.Drawing.Size(53, 24);
- this.pDFsToolStripMenuItem.Text = "PDFs";
- this.pDFsToolStripMenuItem.Click += new System.EventHandler(this.pDFsToolStripMenuItem_Click);
- //
- // statusStrip1
- //
- this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tspbStatus,
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 390);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
- this.statusStrip1.Size = new System.Drawing.Size(1125, 25);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tspbStatus
- //
- this.tspbStatus.Name = "tspbStatus";
- this.tspbStatus.Size = new System.Drawing.Size(133, 20);
- this.tspbStatus.Visible = false;
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(50, 20);
- this.tsslStatus.Text = "Ready";
- //
- // panel1
- //
- this.panel1.Controls.Add(this.cbDebugOutput);
- this.panel1.Controls.Add(this.tbTimings);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.cbWatermark);
- this.panel1.Controls.Add(this.tbRevDate);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.tbRev);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel1.Location = new System.Drawing.Point(646, 28);
- this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(479, 362);
- this.panel1.TabIndex = 2;
- //
- // cbDebugOutput
- //
- //
- //
- //
- this.cbDebugOutput.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.cbDebugOutput.Checked = true;
- this.cbDebugOutput.CheckState = System.Windows.Forms.CheckState.Checked;
- this.cbDebugOutput.CheckValue = "Y";
- this.cbDebugOutput.Location = new System.Drawing.Point(11, 39);
- this.cbDebugOutput.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
- this.cbDebugOutput.Name = "cbDebugOutput";
- this.cbDebugOutput.Size = new System.Drawing.Size(147, 23);
- this.cbDebugOutput.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.cbDebugOutput.TabIndex = 9;
- this.cbDebugOutput.Text = "Debug Output";
- //
- // tbTimings
- //
- this.tbTimings.AcceptsReturn = true;
- this.tbTimings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tbTimings.Location = new System.Drawing.Point(0, 69);
- this.tbTimings.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tbTimings.Multiline = true;
- this.tbTimings.Name = "tbTimings";
- this.tbTimings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.tbTimings.Size = new System.Drawing.Size(477, 292);
- this.tbTimings.TabIndex = 8;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(240, 39);
- this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(77, 17);
- this.label3.TabIndex = 5;
- this.label3.Text = "Watermark";
- //
- // cbWatermark
- //
- this.cbWatermark.FormattingEnabled = true;
- this.cbWatermark.Items.AddRange(new object[] {
- "(None)",
- "Draft",
- "Master",
- "Sample",
- "Reference",
- "Information Only"});
- this.cbWatermark.Location = new System.Drawing.Point(327, 36);
- this.cbWatermark.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.cbWatermark.Name = "cbWatermark";
- this.cbWatermark.Size = new System.Drawing.Size(132, 24);
- this.cbWatermark.TabIndex = 4;
- this.cbWatermark.Text = "(None)";
- //
- // tbRevDate
- //
- this.tbRevDate.AcceptsReturn = true;
- this.tbRevDate.Location = new System.Drawing.Point(327, 4);
- this.tbRevDate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tbRevDate.Name = "tbRevDate";
- this.tbRevDate.Size = new System.Drawing.Size(132, 22);
- this.tbRevDate.TabIndex = 3;
- this.tbRevDate.Text = "07/27/10";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(240, 7);
- this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(38, 17);
- this.label2.TabIndex = 2;
- this.label2.Text = "Date";
- //
- // tbRev
- //
- this.tbRev.Location = new System.Drawing.Point(95, 4);
- this.tbRev.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tbRev.Name = "tbRev";
- this.tbRev.Size = new System.Drawing.Size(132, 22);
- this.tbRev.TabIndex = 1;
- this.tbRev.Text = "25";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(8, 7);
- this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(33, 17);
- this.label1.TabIndex = 0;
- this.label1.Text = "Rev";
- //
- // lbProcs
- //
- this.lbProcs.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lbProcs.FormattingEnabled = true;
- this.lbProcs.ItemHeight = 16;
- this.lbProcs.Location = new System.Drawing.Point(0, 28);
- this.lbProcs.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.lbProcs.Name = "lbProcs";
- this.lbProcs.Size = new System.Drawing.Size(646, 362);
- this.lbProcs.TabIndex = 3;
- this.lbProcs.DoubleClick += new System.EventHandler(this.lbProcs_DoubleClick);
- //
- // frmPrintMSWord
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1125, 415);
- this.Controls.Add(this.lbProcs);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.menuStrip1);
- this.MainMenuStrip = this.menuStrip1;
- this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.Name = "frmPrintMSWord";
- this.Text = "PrintMSWord";
- this.Load += new System.EventHandler(this.frmPrintMSWord_Load);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem pDFToolStripMenuItem;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.ListBox lbProcs;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox cbWatermark;
- private System.Windows.Forms.TextBox tbRevDate;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox tbRev;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox tbTimings;
- private DevComponents.DotNetBar.Controls.CheckBoxX cbDebugOutput;
- private System.Windows.Forms.ToolStripMenuItem pDFsToolStripMenuItem;
- private System.Windows.Forms.ToolStripProgressBar tspbStatus;
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.cs b/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.cs
deleted file mode 100644
index 2ba87b00..00000000
--- a/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.cs
+++ /dev/null
@@ -1,156 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using VEPROMS.CSLA.Library;
-using System.IO;
-using Volian.Svg.Library;
-using Volian.Print.Library;
-using Volian.Base.Library;
-
-namespace PrintMSWord
-{
- public partial class frmPrintMSWord : Form
- {
- public frmPrintMSWord()
- {
- InitializeComponent();
- }
- public string MyStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; Application.DoEvents(); }
- }
- private DateTime _TimerStart;
- public DateTime TimerStart
- {
- get { return _TimerStart; }
- set { _TimerStart = value; }
- }
- private string _ProcedureNumber;
- public string ProcedureNumber
- {
- get { return _ProcedureNumber; }
- set { _ProcedureNumber = value; }
- }
- public string MyTimerStatus
- {
- get { return tsslStatus.Text; }
- set {
- TimeSpan ts = DateTime.Now - _TimerStart;
- DateTime dt = new DateTime(ts.Ticks);
- tsslStatus.Text = string.Format("{0:HH:mm:ss.fff} {1} {2}",dt,ProcedureNumber,value);
- Application.DoEvents();
- }
- }
- private DocVersionInfo GetDocVersionWithContent()
- {
- DocVersionInfoList dvList = DocVersionInfoList.Get();
- foreach (DocVersionInfo docVersion in dvList)
- if (docVersion.Procedures != null)
- if (docVersion.Procedures[0].ItemID != 0)
- return docVersion;
- return null;
- }
- public ProcedureInfo MyProcedure
- {
- get { return lbProcs.SelectedValue as ProcedureInfo; }
- }
- private void lbProcs_DoubleClick(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void CreatePDF()
- {
- TimerStart = DateTime.Now;
- ProcedureInfo myProcedure = MyProcedure;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- CreatePDF(myProcedure,true,false);
- this.Cursor = saveCursor;
- }
-
- private void CreatePDF(ProcedureInfo myProcedure, bool openPdf,bool saveLinks)
- {
- // set up for using format default change bars.
- ChangeBarDefinition cbd = new ChangeBarDefinition();
- ChangeBarData changeBarData = MyProcedure.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData;
- cbd.MyChangeBarType = PrintChangeBar.WithDefault;
- cbd.MyChangeBarText = changeBarData.ChangeBarMessage == "ChgID" ? PrintChangeBarText.ChgID :
- changeBarData.ChangeBarMessage == "DateAndChgID" ? PrintChangeBarText.DateChgID :
- changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
- changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
- PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
- myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'),false,false,"",false,false,null);
- pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
- _ElapsedTime = new Dictionary();
- DateTime tStart = DateTime.Now;
- string pdfFile = pp.Print(@"C:\TEMP\32Bit", false, false); // (pdfpath, makePlaceKeeper, makeContinuousActionSummary)
- DateTime tEnd = DateTime.Now;
- _ElapsedTime.Add(PromsPrinterStatusType.Total, DateTime.Now - tStart);
- MyTimerStatus = pdfFile + " created.";
- ShowElapsedTime();
- //MyStatus = string.Format("{0} created in {1:0.} milliseconds", pdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));
- }
- private void ShowElapsedTime()
- {
- foreach (PromsPrinterStatusType type in _ElapsedTime.Keys)
- tbTimings.Text += "\r\n" + string.Format("'{0}',{1:0.}", type, _ElapsedTime[type].TotalMilliseconds);
- }
- private Dictionary _ElapsedTime;
- private DateTime _LastTime=DateTime.Now;
- private DateTime _StartTime = DateTime.Now;
- void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
- {
- if (args.Type == PromsPrinterStatusType.Start) _LastTime = _StartTime = args.When;
- MyStatus = args.MyStatus;
- TimeSpan delta = TimeSpan.FromTicks(args.When.Ticks - _LastTime.Ticks);
- if (_ElapsedTime.ContainsKey(args.Type))
- _ElapsedTime[args.Type] += delta;
- else
- _ElapsedTime.Add(args.Type, delta);
- //if (tbTimings.Text != "") tbTimings.Text += "\r\n";
- //tbTimings.Text += string.Format("{0},{1},'{2}','{3}'", TimeSpan.FromTicks(args.When.Ticks -_StartTime.Ticks).TotalSeconds, delta.TotalMilliseconds, args.Type, args.MyStatus);
- _LastTime = args.When;
- }
- private void pDFToolStripMenuItem_Click(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void frmPrintMSWord_Load(object sender, EventArgs e)
- {
- DocVersionInfo dvi = GetDocVersionWithContent();
- lbProcs.DataSource = dvi.Procedures;
- }
-
- private void pDFsToolStripMenuItem_Click(object sender, EventArgs e)
- {
- TimerStart = DateTime.Now;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- ItemInfoList myItems = lbProcs.DataSource as ItemInfoList;
- tspbStatus.Maximum = myItems.Count;
- tspbStatus.Value = 0;
- tspbStatus.Visible = true;
- foreach (ItemInfo myItem in myItems)
- {
- ProcedureNumber = myItem.DisplayNumber;
- if (tspbStatus != null) tspbStatus.Value++;
- CreatePDF(myItem.MyProcedure, false,false);
- }
- ProcedureNumber = "";
- MyTimerStatus = "Processing Complete";
- tspbStatus.Visible = false;
- this.Cursor = saveCursor;
- }
- }
-}
diff --git a/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.resx b/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.resx
deleted file mode 100644
index 7de6988d..00000000
--- a/PROMS/VEPROMS/PrintMSWord/frmPrintMsWord.resx
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- 132, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/App.config b/PROMS/VEPROMS/PrintMSWordxxx/App.config
deleted file mode 100644
index e5c55b8d..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/App.config
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
-
-
- 1
-
-
- 2
-
-
- 192, 255, 255
-
-
- True
-
-
- False
-
-
- Normal
-
-
- True
-
-
-
-
- False
-
-
- 1
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/Program.cs b/PROMS/VEPROMS/PrintMSWordxxx/Program.cs
deleted file mode 100644
index 3ca02c65..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmPrintMSWord());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/PrintMSWordxxx/Properties/AssemblyInfo.cs
deleted file mode 100644
index 0883c420..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("PrintMSWord")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("PrintMSWord")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("3b56b3e7-fe71-4d89-9409-7cfd19c6d1d6")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.Designer.cs b/PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.Designer.cs
deleted file mode 100644
index d9ca0fb4..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrintMSWord.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.resx b/PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.Designer.cs b/PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.Designer.cs
deleted file mode 100644
index 264d0f51..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.settings b/PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.Designer.cs b/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.Designer.cs
deleted file mode 100644
index c27f976c..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.Designer.cs
+++ /dev/null
@@ -1,278 +0,0 @@
-namespace PrintMSWord
-{
- partial class frmPrintMSWord
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tspbStatus = new System.Windows.Forms.ToolStripProgressBar();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.panel1 = new System.Windows.Forms.Panel();
- this.cbDebugOutput = new DevComponents.DotNetBar.Controls.CheckBoxX();
- this.tbTimings = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.cbWatermark = new System.Windows.Forms.ComboBox();
- this.tbRevDate = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.tbRev = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.lbProcs = new System.Windows.Forms.ListBox();
- this.menuStrip1.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // menuStrip1
- //
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.pDFToolStripMenuItem,
- this.pDFsToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(844, 24);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.exitToolStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "&File";
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(92, 22);
- this.exitToolStripMenuItem.Text = "E&xit";
- //
- // pDFToolStripMenuItem
- //
- this.pDFToolStripMenuItem.Name = "pDFToolStripMenuItem";
- this.pDFToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
- this.pDFToolStripMenuItem.Text = "PDF";
- this.pDFToolStripMenuItem.Click += new System.EventHandler(this.pDFToolStripMenuItem_Click);
- //
- // pDFsToolStripMenuItem
- //
- this.pDFsToolStripMenuItem.Name = "pDFsToolStripMenuItem";
- this.pDFsToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
- this.pDFsToolStripMenuItem.Text = "PDFs";
- this.pDFsToolStripMenuItem.Click += new System.EventHandler(this.pDFsToolStripMenuItem_Click);
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tspbStatus,
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 315);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(844, 22);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tspbStatus
- //
- this.tspbStatus.Name = "tspbStatus";
- this.tspbStatus.Size = new System.Drawing.Size(100, 16);
- this.tspbStatus.Visible = false;
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(39, 17);
- this.tsslStatus.Text = "Ready";
- //
- // panel1
- //
- this.panel1.Controls.Add(this.cbDebugOutput);
- this.panel1.Controls.Add(this.tbTimings);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.cbWatermark);
- this.panel1.Controls.Add(this.tbRevDate);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.tbRev);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel1.Location = new System.Drawing.Point(485, 24);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(359, 291);
- this.panel1.TabIndex = 2;
- //
- // cbDebugOutput
- //
- //
- //
- //
- this.cbDebugOutput.BackgroundStyle.Class = "";
- this.cbDebugOutput.Checked = true;
- this.cbDebugOutput.CheckState = System.Windows.Forms.CheckState.Checked;
- this.cbDebugOutput.CheckValue = "Y";
- this.cbDebugOutput.Location = new System.Drawing.Point(8, 32);
- this.cbDebugOutput.Margin = new System.Windows.Forms.Padding(2);
- this.cbDebugOutput.Name = "cbDebugOutput";
- this.cbDebugOutput.Size = new System.Drawing.Size(110, 19);
- this.cbDebugOutput.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.cbDebugOutput.TabIndex = 9;
- this.cbDebugOutput.Text = "Debug Output";
- //
- // tbTimings
- //
- this.tbTimings.AcceptsReturn = true;
- this.tbTimings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tbTimings.Location = new System.Drawing.Point(0, 56);
- this.tbTimings.Multiline = true;
- this.tbTimings.Name = "tbTimings";
- this.tbTimings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.tbTimings.Size = new System.Drawing.Size(359, 235);
- this.tbTimings.TabIndex = 8;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(180, 32);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(59, 13);
- this.label3.TabIndex = 5;
- this.label3.Text = "Watermark";
- //
- // cbWatermark
- //
- this.cbWatermark.FormattingEnabled = true;
- this.cbWatermark.Items.AddRange(new object[] {
- "(None)",
- "Draft",
- "Master",
- "Sample",
- "Reference",
- "Information Only"});
- this.cbWatermark.Location = new System.Drawing.Point(245, 29);
- this.cbWatermark.Name = "cbWatermark";
- this.cbWatermark.Size = new System.Drawing.Size(100, 21);
- this.cbWatermark.TabIndex = 4;
- this.cbWatermark.Text = "(None)";
- //
- // tbRevDate
- //
- this.tbRevDate.AcceptsReturn = true;
- this.tbRevDate.Location = new System.Drawing.Point(245, 3);
- this.tbRevDate.Name = "tbRevDate";
- this.tbRevDate.Size = new System.Drawing.Size(100, 20);
- this.tbRevDate.TabIndex = 3;
- this.tbRevDate.Text = "07/27/10";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(180, 6);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(30, 13);
- this.label2.TabIndex = 2;
- this.label2.Text = "Date";
- //
- // tbRev
- //
- this.tbRev.Location = new System.Drawing.Point(71, 3);
- this.tbRev.Name = "tbRev";
- this.tbRev.Size = new System.Drawing.Size(100, 20);
- this.tbRev.TabIndex = 1;
- this.tbRev.Text = "25";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(6, 6);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(27, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = "Rev";
- //
- // lbProcs
- //
- this.lbProcs.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lbProcs.FormattingEnabled = true;
- this.lbProcs.Location = new System.Drawing.Point(0, 24);
- this.lbProcs.Name = "lbProcs";
- this.lbProcs.Size = new System.Drawing.Size(485, 290);
- this.lbProcs.TabIndex = 3;
- this.lbProcs.DoubleClick += new System.EventHandler(this.lbProcs_DoubleClick);
- //
- // frmPrintMSWord
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(844, 337);
- this.Controls.Add(this.lbProcs);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.menuStrip1);
- this.MainMenuStrip = this.menuStrip1;
- this.Name = "frmPrintMSWord";
- this.Text = "PrintMSWord";
- this.Load += new System.EventHandler(this.frmPrintMSWord_Load);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem pDFToolStripMenuItem;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.ListBox lbProcs;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox cbWatermark;
- private System.Windows.Forms.TextBox tbRevDate;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox tbRev;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox tbTimings;
- private DevComponents.DotNetBar.Controls.CheckBoxX cbDebugOutput;
- private System.Windows.Forms.ToolStripMenuItem pDFsToolStripMenuItem;
- private System.Windows.Forms.ToolStripProgressBar tspbStatus;
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.cs b/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.cs
deleted file mode 100644
index 6316362f..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.cs
+++ /dev/null
@@ -1,156 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using VEPROMS.CSLA.Library;
-using System.IO;
-using Volian.Svg.Library;
-using Volian.Print.Library;
-using Volian.Base.Library;
-
-namespace PrintMSWord
-{
- public partial class frmPrintMSWord : Form
- {
- public frmPrintMSWord()
- {
- InitializeComponent();
- }
- public string MyStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; Application.DoEvents(); }
- }
- private DateTime _TimerStart;
- public DateTime TimerStart
- {
- get { return _TimerStart; }
- set { _TimerStart = value; }
- }
- private string _ProcedureNumber;
- public string ProcedureNumber
- {
- get { return _ProcedureNumber; }
- set { _ProcedureNumber = value; }
- }
- public string MyTimerStatus
- {
- get { return tsslStatus.Text; }
- set {
- TimeSpan ts = DateTime.Now - _TimerStart;
- DateTime dt = new DateTime(ts.Ticks);
- tsslStatus.Text = string.Format("{0:HH:mm:ss.fff} {1} {2}",dt,ProcedureNumber,value);
- Application.DoEvents();
- }
- }
- private DocVersionInfo GetDocVersionWithContent()
- {
- DocVersionInfoList dvList = DocVersionInfoList.Get();
- foreach (DocVersionInfo docVersion in dvList)
- if (docVersion.Procedures != null)
- if (docVersion.Procedures[0].ItemID != 0)
- return docVersion;
- return null;
- }
- public ProcedureInfo MyProcedure
- {
- get { return lbProcs.SelectedValue as ProcedureInfo; }
- }
- private void lbProcs_DoubleClick(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void CreatePDF()
- {
- TimerStart = DateTime.Now;
- ProcedureInfo myProcedure = MyProcedure;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- CreatePDF(myProcedure,true);
- this.Cursor = saveCursor;
- }
-
- private void CreatePDF(ProcedureInfo myProcedure, bool openPdf)
- {
- // set up for using format default change bars.
- ChangeBarDefinition cbd = new ChangeBarDefinition();
- ChangeBarData changeBarData = MyProcedure.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData;
- cbd.MyChangeBarType = PrintChangeBar.WithDefault;
- cbd.MyChangeBarText = changeBarData.ChangeBarMessage == "ChgID" ? PrintChangeBarText.ChgID :
- changeBarData.ChangeBarMessage == "DateAndChgID" ? PrintChangeBarText.DateChgID :
- changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
- changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
- PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
- myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'),false);
- pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
- _ElapsedTime = new Dictionary();
- DateTime tStart = DateTime.Now;
- string pdfFile = pp.Print(@"C:\TEMP\32Bit", false);
- DateTime tEnd = DateTime.Now;
- _ElapsedTime.Add(PromsPrinterStatusType.Total, DateTime.Now - tStart);
- MyTimerStatus = pdfFile + " created.";
- ShowElapsedTime();
- //MyStatus = string.Format("{0} created in {1:0.} milliseconds", pdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));
- }
- private void ShowElapsedTime()
- {
- foreach (PromsPrinterStatusType type in _ElapsedTime.Keys)
- tbTimings.Text += "\r\n" + string.Format("'{0}',{1:0.}", type, _ElapsedTime[type].TotalMilliseconds);
- }
- private Dictionary _ElapsedTime;
- private DateTime _LastTime=DateTime.Now;
- private DateTime _StartTime = DateTime.Now;
- void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
- {
- if (args.Type == PromsPrinterStatusType.Start) _LastTime = _StartTime = args.When;
- MyStatus = args.MyStatus;
- TimeSpan delta = TimeSpan.FromTicks(args.When.Ticks - _LastTime.Ticks);
- if (_ElapsedTime.ContainsKey(args.Type))
- _ElapsedTime[args.Type] += delta;
- else
- _ElapsedTime.Add(args.Type, delta);
- //if (tbTimings.Text != "") tbTimings.Text += "\r\n";
- //tbTimings.Text += string.Format("{0},{1},'{2}','{3}'", TimeSpan.FromTicks(args.When.Ticks -_StartTime.Ticks).TotalSeconds, delta.TotalMilliseconds, args.Type, args.MyStatus);
- _LastTime = args.When;
- }
- private void pDFToolStripMenuItem_Click(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void frmPrintMSWord_Load(object sender, EventArgs e)
- {
- DocVersionInfo dvi = GetDocVersionWithContent();
- lbProcs.DataSource = dvi.Procedures;
- }
-
- private void pDFsToolStripMenuItem_Click(object sender, EventArgs e)
- {
- TimerStart = DateTime.Now;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- ItemInfoList myItems = lbProcs.DataSource as ItemInfoList;
- tspbStatus.Maximum = myItems.Count;
- tspbStatus.Value = 0;
- tspbStatus.Visible = true;
- foreach (ItemInfo myItem in myItems)
- {
- ProcedureNumber = myItem.DisplayNumber;
- if (tspbStatus != null) tspbStatus.Value++;
- CreatePDF(myItem.MyProcedure, false);
- }
- ProcedureNumber = "";
- MyTimerStatus = "Processing Complete";
- tspbStatus.Visible = false;
- this.Cursor = saveCursor;
- }
- }
-}
diff --git a/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.resx b/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.resx
deleted file mode 100644
index 7de6988d..00000000
--- a/PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.resx
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- 132, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/App.config b/PROMS/VEPROMS/TestFullLoad/App.config
deleted file mode 100644
index 77266108..00000000
--- a/PROMS/VEPROMS/TestFullLoad/App.config
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Normal
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/Program.cs b/PROMS/VEPROMS/TestFullLoad/Program.cs
deleted file mode 100644
index 31f0930b..00000000
--- a/PROMS/VEPROMS/TestFullLoad/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace TestFullLoad
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmLoadAtOnce());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/TestFullLoad/Properties/AssemblyInfo.cs
deleted file mode 100644
index ed2a3ed5..00000000
--- a/PROMS/VEPROMS/TestFullLoad/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("TestFullLoad")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TestFullLoad")]
-[assembly: AssemblyCopyright("Copyright © 2008")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("16ad9c0b-b1c9-4ccd-9115-83e0878aa9b0")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/TestFullLoad/Properties/Resources.Designer.cs b/PROMS/VEPROMS/TestFullLoad/Properties/Resources.Designer.cs
deleted file mode 100644
index cb5ca591..00000000
--- a/PROMS/VEPROMS/TestFullLoad/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18444
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace TestFullLoad.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TestFullLoad.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/TestFullLoad/Properties/Resources.resx b/PROMS/VEPROMS/TestFullLoad/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/PROMS/VEPROMS/TestFullLoad/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/Properties/Settings.Designer.cs b/PROMS/VEPROMS/TestFullLoad/Properties/Settings.Designer.cs
deleted file mode 100644
index 3c170d3f..00000000
--- a/PROMS/VEPROMS/TestFullLoad/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18444
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace TestFullLoad.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Drawing.Size Size {
- get {
- return ((global::System.Drawing.Size)(this["Size"]));
- }
- set {
- this["Size"] = value;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Drawing.Point Location {
- get {
- return ((global::System.Drawing.Point)(this["Location"]));
- }
- set {
- this["Location"] = value;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("Normal")]
- public global::System.Windows.Forms.FormWindowState WindowState {
- get {
- return ((global::System.Windows.Forms.FormWindowState)(this["WindowState"]));
- }
- set {
- this["WindowState"] = value;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
- public string LastDatabase {
- get {
- return ((string)(this["LastDatabase"]));
- }
- set {
- this["LastDatabase"] = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/TestFullLoad/Properties/Settings.settings b/PROMS/VEPROMS/TestFullLoad/Properties/Settings.settings
deleted file mode 100644
index 38d9c056..00000000
--- a/PROMS/VEPROMS/TestFullLoad/Properties/Settings.settings
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- Normal
-
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/TestFullLoad.csproj b/PROMS/VEPROMS/TestFullLoad/TestFullLoad.csproj
deleted file mode 100644
index 51d2c5ad..00000000
--- a/PROMS/VEPROMS/TestFullLoad/TestFullLoad.csproj
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {5938BB0C-611D-4BE2-A21D-459D9C9B63C5}
- WinExe
- Properties
- TestFullLoad
- TestFullLoad
- v2.0
-
-
-
-
- 2.0
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- bin\Demo\
-
-
- true
- bin\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
- bin\Demo\
- x86
-
-
-
- False
- F:\CSLA\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\bin\Debug\Csla.dll
-
-
- False
- F:\Log4Net\log4net-1.2.10\bin\net\2.0\release\log4net.dll
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- frmTestLoadAtOnce.cs
-
-
-
-
- Designer
- frmTestLoadAtOnce.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {34ADDF19-CBBA-4A11-BC99-D141BA2D29EC}
- DropDownPanel
-
-
- {23DECB23-7CEA-433E-88BD-67DA7689B89E}
- TablePicker
-
-
- {41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}
- VEPROMS.CSLA.Library
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.Designer.cs b/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.Designer.cs
deleted file mode 100644
index d765fff9..00000000
--- a/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.Designer.cs
+++ /dev/null
@@ -1,225 +0,0 @@
-namespace TestFullLoad
-{
- partial class frmLoadAtOnce
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.lbProcedures = new System.Windows.Forms.ListBox();
- this.pg = new System.Windows.Forms.PropertyGrid();
- this.panel1 = new System.Windows.Forms.Panel();
- this.label2 = new System.Windows.Forms.Label();
- this.cbUnits = new System.Windows.Forms.ComboBox();
- this.label1 = new System.Windows.Forms.Label();
- this.tbItemID = new System.Windows.Forms.TextBox();
- this.btnRunOne = new System.Windows.Forms.Button();
- this.btnRunAll = new System.Windows.Forms.Button();
- this.cbType = new System.Windows.Forms.ComboBox();
- this.statusStrip1.SuspendLayout();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 544);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(1047, 22);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(39, 17);
- this.tsslStatus.Text = "Ready";
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.Location = new System.Drawing.Point(0, 30);
- this.splitContainer1.Name = "splitContainer1";
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.lbProcedures);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.pg);
- this.splitContainer1.Size = new System.Drawing.Size(1047, 514);
- this.splitContainer1.SplitterDistance = 406;
- this.splitContainer1.TabIndex = 2;
- //
- // lbProcedures
- //
- this.lbProcedures.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lbProcedures.FormattingEnabled = true;
- this.lbProcedures.Location = new System.Drawing.Point(0, 0);
- this.lbProcedures.Name = "lbProcedures";
- this.lbProcedures.Size = new System.Drawing.Size(406, 511);
- this.lbProcedures.TabIndex = 0;
- //
- // pg
- //
- this.pg.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pg.Location = new System.Drawing.Point(0, 0);
- this.pg.Name = "pg";
- this.pg.Size = new System.Drawing.Size(637, 514);
- this.pg.TabIndex = 0;
- //
- // panel1
- //
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.cbUnits);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.tbItemID);
- this.panel1.Controls.Add(this.btnRunOne);
- this.panel1.Controls.Add(this.btnRunAll);
- this.panel1.Controls.Add(this.cbType);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1047, 30);
- this.panel1.TabIndex = 3;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(504, 9);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(34, 13);
- this.label2.TabIndex = 6;
- this.label2.Text = "Units:";
- //
- // cbUnits
- //
- this.cbUnits.Enabled = false;
- this.cbUnits.FormattingEnabled = true;
- this.cbUnits.Location = new System.Drawing.Point(544, 6);
- this.cbUnits.Name = "cbUnits";
- this.cbUnits.Size = new System.Drawing.Size(224, 21);
- this.cbUnits.TabIndex = 5;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(315, 8);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(38, 13);
- this.label1.TabIndex = 4;
- this.label1.Text = "ItemID";
- //
- // tbItemID
- //
- this.tbItemID.Location = new System.Drawing.Point(359, 5);
- this.tbItemID.Name = "tbItemID";
- this.tbItemID.Size = new System.Drawing.Size(40, 20);
- this.tbItemID.TabIndex = 3;
- this.tbItemID.Text = "4545";
- //
- // btnRunOne
- //
- this.btnRunOne.Location = new System.Drawing.Point(405, 3);
- this.btnRunOne.Name = "btnRunOne";
- this.btnRunOne.Size = new System.Drawing.Size(75, 23);
- this.btnRunOne.TabIndex = 2;
- this.btnRunOne.Text = "Run One";
- this.btnRunOne.UseVisualStyleBackColor = true;
- this.btnRunOne.Click += new System.EventHandler(this.btnRunOne_Click);
- //
- // btnRunAll
- //
- this.btnRunAll.Location = new System.Drawing.Point(198, 3);
- this.btnRunAll.Name = "btnRunAll";
- this.btnRunAll.Size = new System.Drawing.Size(75, 23);
- this.btnRunAll.TabIndex = 1;
- this.btnRunAll.Text = "Run All";
- this.btnRunAll.UseVisualStyleBackColor = true;
- this.btnRunAll.Click += new System.EventHandler(this.btnRunAll_Click);
- //
- // cbType
- //
- this.cbType.FormattingEnabled = true;
- this.cbType.Items.AddRange(new object[] {
- "One at a time",
- "CSLA - All at Once - Spin Through Children",
- "SQL - All at Once - Query"});
- this.cbType.Location = new System.Drawing.Point(12, 5);
- this.cbType.Name = "cbType";
- this.cbType.Size = new System.Drawing.Size(177, 21);
- this.cbType.TabIndex = 0;
- this.cbType.Text = "One at a time";
- //
- // frmLoadAtOnce
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1047, 566);
- this.Controls.Add(this.splitContainer1);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.panel1);
- this.Name = "frmLoadAtOnce";
- this.Text = "Test Load at Once";
- this.Load += new System.EventHandler(this.frmLoadAtOnce_Load);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmLoadAtOnce_FormClosing);
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- this.splitContainer1.ResumeLayout(false);
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- private System.Windows.Forms.SplitContainer splitContainer1;
- private System.Windows.Forms.PropertyGrid pg;
- private System.Windows.Forms.ListBox lbProcedures;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.ComboBox cbType;
- private System.Windows.Forms.Button btnRunAll;
- private System.Windows.Forms.Button btnRunOne;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox tbItemID;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.ComboBox cbUnits;
- }
-}
-
diff --git a/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.cs b/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.cs
deleted file mode 100644
index 036be741..00000000
--- a/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.cs
+++ /dev/null
@@ -1,302 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using VEPROMS.CSLA.Library;
-
-namespace TestFullLoad
-{
- public partial class frmLoadAtOnce : Form
- {
- public frmLoadAtOnce()
- {
- InitializeComponent();
- }
- private ItemInfoList _Procedures;
- private bool _IsMultiUnit = false;
- private void frmLoadAtOnce_Load(object sender, EventArgs e)
- {
- LoadSettings();
- // Set these events after loading settings - otherwise the settings will be updated to the defaults
- Move+=new EventHandler(frmLoadAtOnce_Move);
- Resize+=new EventHandler(frmLoadAtOnce_Resize);
- try
- {
- DocVersionInfo docVersion = GetDocVersionWithContent();
- if (docVersion.MultiUnitCount > 1)
- {
- foreach (string s in docVersion.UnitNames)
- cbUnits.Items.Add(s.Trim());
- cbUnits.SelectedIndex = 0;
- cbUnits.Enabled = true;
- _IsMultiUnit = true;
- }
- _Procedures = docVersion.Procedures;
- lbProcedures.DataSource = _Procedures;
- lbProcedures.SelectedIndex = -1;
- lbProcedures.SelectedValueChanged+=new EventHandler(lbProcedures_SelectedValueChanged);
- }
- catch (Exception ex)
- {
- Console.WriteLine("ex - {0}", ex);
- }
- }
- private void LoadSettings()
- {
- if (GetPropertyString("Location") != "")
- this.Location = Properties.Settings.Default.Location;
- if ((Properties.Settings.Default["Size"] ?? "") != "")
- this.Size = Properties.Settings.Default.Size;
- this.WindowState = Properties.Settings.Default.WindowState;
- Database.ConnectionName = "VEPROMS_BODINE_DEBUG";
- if (Properties.Settings.Default.LastDatabase != string.Empty)
- {
- if (MessageBox.Show(string.Format("use database {0}?", Properties.Settings.Default.LastDatabase), "use database", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
- Database.SelectedDatabase = Properties.Settings.Default.LastDatabase;
- }
- Properties.Settings.Default.LastDatabase = Database.SelectedDatabase;
- Properties.Settings.Default.Save();
- }
- private string GetPropertyString(string propertyName)
- {
- object prop = Properties.Settings.Default[propertyName];
- return prop == null ? "" : prop.ToString();
- }
- private DocVersionInfo GetDocVersionWithContent()
- {
- DocVersionInfoList dvList = DocVersionInfoList.Get();
- foreach (DocVersionInfo docVersion in dvList)
- if (docVersion.Procedures != null)
- if (docVersion.Procedures[0].ItemID != 0)
- return docVersion;
- return null;
- }
- private int WalkThroughChildren(ItemInfo itemInfo)
- {
- Console.WriteLine(itemInfo.ItemID);
- if (itemInfo.ItemID == 284)
- Console.WriteLine("stop or spot");
- int retval = 0;
- // Look at siblings and look at children
- if (itemInfo != null)
- {
- if (itemInfo.MyContent.ContentPartCount > 0)
- {
- foreach (PartInfo pi in itemInfo.MyContent.ContentParts)
- {
- foreach (ItemInfo ii in pi.MyItems)
- {
- //retval += WalkThroughSiblings(ii);
- retval++;
- retval += WalkThroughChildren(ii);
- }
- }
- }
- }
- return retval;
- }
- private string ChildList(ItemInfo itm, int level)
- {
- StringBuilder retval = new StringBuilder();
- // Look at siblings and look at children
- //if (itm.MyContent.ContentPartCount > 0 && itm.ItemID != 4078 && itm.ItemID != 4192 && itm.ItemID != 4194 &&
- // itm.ItemID != 4330 && itm.ItemID != 4452)
- if (itm.MyContent.ContentPartCount > 0 )
- {
- //retval.Append(string.Format("\r\n{0}(", "".PadLeft(level, '\t')));
- retval.Append(ShowItem(itm));
- foreach (PartInfo pi in itm.MyContent.ContentParts)
- {
- retval.Append(string.Format("\r\n{0}({1} ", "".PadLeft(level + 1, '\t'), Enum.GetName(typeof(E_FromTypes), pi.FromType)));
- foreach (ItemInfo ii in pi.MyItems)
- {
- //retval += WalkThroughSiblings(ii);
- if (retval.ToString().EndsWith(")"))
- retval.Append(string.Format("\r\n{0}", "".PadLeft(level + 2, '\t')));
- retval.Append(ChildList(ii, level + 1));
- }
- retval.Append(string.Format(")", "".PadLeft(level, '\t')));
- }
- //retval.Append(string.Format("\r\n{0})", "".PadLeft(level, '\t')));
- }
- else
- {
- retval.Append(ShowItem(itm));
- }
- return retval.ToString();
- }
- private string ShowItem(ItemInfo itm)
- {
- return string.Format("{0}{1} ", itm.ItemID, ActiveSection(itm));
- //return string.Format("{0}{1} ", itm.ItemID, ActiveParent(itm));
- }
- private string ActiveParent(ItemInfo itm)
- {
- if (itm == null || itm.MyActiveParent == null) return string.Empty;
- return string.Format("({0})", itm.MyActiveParent);
- }
- private string ActiveSection(ItemInfo itm)
- {
- if (itm == null || itm.MyActiveSection == null) return "";
- return string.Format("({0})", itm.MyActiveSection);
- }
- //private int WalkThroughSiblings(ItemInfo itemInfo)
- //{
- // int retval = 0;
- // if (itemInfo.NextItemCount > 0)
- // {
- // foreach (ItemInfo itm in itemInfo.NextItems)
- // {
- // retval++;
- // retval += WalkThroughChildren(itm);
- // }
- // }
- // return retval;
- //}
- private void lbProcedures_SelectedValueChanged(object sender, EventArgs e)
- {
- ItemInfo itemInfo = lbProcedures.SelectedValue as ItemInfo;
- if (itemInfo != null)
- {
- LoadEntireProcedure(itemInfo.ItemID);
- pg.SelectedObject = MyItemInfo;
- }
- }
- private ItemInfo _MyItemInfo;
- public ItemInfo MyItemInfo
- {
- get { return _MyItemInfo; }
- set { _MyItemInfo = value; }
- }
- private int LoadEntireProcedure(int itemID)
- {
- DateTime dtStart = DateTime.Now;// Record the start time
- MyItemInfo = GetItem(itemID);// Load an item
- DateTime dtLoad = DateTime.Now;// Record the time to this point
- int cnt = WalkThroughChildren(MyItemInfo);// Scan the item counting it's nodes
- DateTime dtEnd = DateTime.Now; // Record the end time
- RecordResults(dtStart,dtLoad,dtEnd,cnt);// Place results on Status Line
- //pg.SelectedObject = itemInfo; // Set the propertygrid to point to the loaded object
- return cnt;
- }
- private ItemInfo GetItem(int itemID)
- {
- switch (cbType.Text as string)
- {
- case("One at a time")://
- return ItemInfo.Get(itemID);
- case ("CSLA - All at Once - Spin Through Children")://
- return ItemInfo.GetItemAndChildren2(itemID);
- case ("SQL - All at Once - Query")://
- if (_IsMultiUnit)
- return ProcedureInfo.GetItemAndChildrenByUnit(itemID, 0, cbUnits.SelectedIndex + 1);
- else
- return ItemInfo.GetItemAndChildren(itemID, 0);
- default:
- return null;
- }
- }
- private TimeSpan _TsLoad;
- private TimeSpan _TsWalk;
- private TimeSpan _TsTotal;
- private int _Count;
- private void ResetResults()
- {
- _TsLoad = _TsWalk = _TsTotal = new TimeSpan(0);
- _Count = 0;
- }
- private void RecordResults(DateTime dtStart, DateTime dtLoad, DateTime dtEnd, int count)
- {
- TimeSpan tsLoad = dtLoad - dtStart;
- TimeSpan tsWalk = dtEnd - dtLoad;
- TimeSpan tsTotal = dtEnd - dtStart;
- _TsLoad += tsLoad;
- _TsWalk += tsWalk;
- _TsTotal += tsTotal;
- _Count += count;
- tsslStatus.Text = string.Format("Load {0}, Check {1}, Total {2}, Items {3}",
- tsLoad.TotalSeconds, tsWalk.TotalSeconds, tsTotal.TotalSeconds, count);
- //Application.DoEvents();
- //Console.WriteLine("{0}\t{1}\t{2}\t{3}", tsLoad.TotalSeconds,tsWalk.TotalSeconds,tsTotal.TotalSeconds, cnt);
- }
- private void DisplaySummary()
- {
- tsslStatus.Text = string.Format("Load {0}, Check {1}, Total {2}, Items {3}",
- _TsLoad.TotalSeconds, _TsWalk.TotalSeconds, _TsTotal.TotalSeconds, _Count);
- Console.WriteLine("{0},{1},{2},{3}",
- _TsLoad.TotalSeconds, _TsWalk.TotalSeconds, _TsTotal.TotalSeconds, _Count);
- }
- private string _MyTitle;
- public string MyTitle
- {
- get { return _MyTitle; }
- set
- {
- if (_MyTitle == value) return;
- _MyTitle = value;
- Console.WriteLine(MyTitle);
- }
- }
-
- private void btnRunAll_Click(object sender, EventArgs e)
- {
- Cursor tmp = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //DateTime dtStart = DateTime.Now;
- MyTitle = cbType.Text;
- ResetResults();
- int cnt = 0;
- foreach(ItemInfo itemInfo in _Procedures)
- cnt += LoadEntireProcedure(itemInfo.ItemID);
- //DateTime dtEnd = DateTime.Now;
- //tsslStatus.Text = string.Format("Total {0} Count {1}",
- // TimeSpan.FromTicks(dtEnd.Ticks - dtStart.Ticks).TotalSeconds,cnt);
- DisplaySummary();
- this.Cursor = tmp;
- }
- private void btnRunOne_Click(object sender, EventArgs e)
- {
- // Run the Gets for
- int itemID = int.Parse(tbItemID.Text);
- //for(int i=1;i<5;i++)
- // ShowItem(ItemInfo.GetItemAndChildren(itemID, 0), string.Format("XX All at Once Query({0})",i));
- //ShowItem(ItemInfo.Get(itemID),"One at a time");
- //ShowItem(ItemInfo.GetItemAndChildren2(itemID),"All at Once");
- ShowItem(ItemInfo.GetItemAndChildren(itemID, 0), "XX All at Once Query");
- }
- private void ShowItem(ItemInfo itemInfo, string title)
- {
- Console.WriteLine("{0}\r\n{1}", title, ChildList(itemInfo, 0));
- }
- private void frmLoadAtOnce_FormClosing(object sender, FormClosingEventArgs e)
- {
- SaveSettings();
- }
- private void SaveSettings()
- {
- Properties.Settings.Default.LastDatabase = Database.SelectedDatabase;
- Properties.Settings.Default.WindowState = this.WindowState;
- Properties.Settings.Default.Save();
- }
- private void frmLoadAtOnce_Move(object sender, EventArgs e)
- {
- if (this.WindowState == FormWindowState.Normal)
- {
- Properties.Settings.Default.Location = this.Location;
- Properties.Settings.Default.Size = this.Size;
- }
- }
- private void frmLoadAtOnce_Resize(object sender, EventArgs e)
- {
- if (this.WindowState == FormWindowState.Normal)
- {
- Properties.Settings.Default.Location = this.Location;
- Properties.Settings.Default.Size = this.Size;
- }
- }
-
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.resx b/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.resx
deleted file mode 100644
index b9c202bf..00000000
--- a/PROMS/VEPROMS/TestFullLoad/frmTestLoadAtOnce.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication1/Form1.Designer.cs b/PROMS/VEPROMS/WindowsApplication1/Form1.Designer.cs
deleted file mode 100644
index 64756a95..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Form1.Designer.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-namespace WindowsApplication1
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.vlnFlexGrid1 = new Volian.Controls.Library.VlnFlexGrid(this.components);
- ((System.ComponentModel.ISupportInitialize)(this.vlnFlexGrid1)).BeginInit();
- this.SuspendLayout();
- //
- // vlnFlexGrid1
- //
- this.vlnFlexGrid1.AllowMerging = C1.Win.C1FlexGrid.AllowMergingEnum.Custom;
- this.vlnFlexGrid1.AllowResizing = C1.Win.C1FlexGrid.AllowResizingEnum.Both;
- this.vlnFlexGrid1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
- this.vlnFlexGrid1.ColumnInfo = "3,0,0,0,0,40,Columns:";
- this.vlnFlexGrid1.DrawMode = C1.Win.C1FlexGrid.DrawModeEnum.OwnerDraw;
- this.vlnFlexGrid1.FocusRect = C1.Win.C1FlexGrid.FocusRectEnum.Solid;
- this.vlnFlexGrid1.HighLight = C1.Win.C1FlexGrid.HighLightEnum.WithFocus;
- this.vlnFlexGrid1.Location = new System.Drawing.Point(13, 13);
- this.vlnFlexGrid1.Name = "vlnFlexGrid1";
- this.vlnFlexGrid1.Rows.Count = 4;
- this.vlnFlexGrid1.Rows.DefaultSize = 20;
- this.vlnFlexGrid1.Rows.Fixed = 0;
- this.vlnFlexGrid1.ScrollBars = System.Windows.Forms.ScrollBars.None;
- this.vlnFlexGrid1.Size = new System.Drawing.Size(240, 150);
- this.vlnFlexGrid1.StyleInfo = resources.GetString("vlnFlexGrid1.StyleInfo");
- this.vlnFlexGrid1.TabIndex = 0;
- this.vlnFlexGrid1.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(284, 262);
- this.Controls.Add(this.vlnFlexGrid1);
- this.Name = "Form1";
- this.Text = "Form1";
- ((System.ComponentModel.ISupportInitialize)(this.vlnFlexGrid1)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private Volian.Controls.Library.VlnFlexGrid vlnFlexGrid1;
- }
-}
-
diff --git a/PROMS/VEPROMS/WindowsApplication1/Form1.cs b/PROMS/VEPROMS/WindowsApplication1/Form1.cs
deleted file mode 100644
index 1f424369..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Form1.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace WindowsApplication1
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication1/Form1.resx b/PROMS/VEPROMS/WindowsApplication1/Form1.resx
deleted file mode 100644
index 90e95ade..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Form1.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Normal{Font:Microsoft Sans Serif, 8.25pt;BackColor:255, 255, 255;TextAlign:LeftCenter;Border:Flat,1,Black,Both;} Alternate{BackColor:255, 255, 255;} Fixed{BackColor:Control;ForeColor:ControlText;Border:Flat,1,ControlDark,Both;BackgroundImageLayout:Hide;} Highlight{BackColor:LightCyan;ForeColor:Black;} Focus{BackColor:LightCyan;} Editor{} Search{BackColor:Highlight;ForeColor:HighlightText;} Frozen{BackColor:Beige;} NewRow{ForeColor:GrayText;} EmptyArea{BackColor:Transparent;Border:None,1,Black,Both;} SelectedColumnHeader{} SelectedRowHeader{} GrandTotal{BackColor:Black;ForeColor:White;} Subtotal0{BackColor:ControlDarkDark;ForeColor:White;} Subtotal1{BackColor:ControlDarkDark;ForeColor:White;} Subtotal2{BackColor:ControlDarkDark;ForeColor:White;} Subtotal3{BackColor:ControlDarkDark;ForeColor:White;} Subtotal4{BackColor:ControlDarkDark;ForeColor:White;} Subtotal5{BackColor:ControlDarkDark;ForeColor:White;} FilterEditor{} FirstCustomStyle{}
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication1/Program.cs b/PROMS/VEPROMS/WindowsApplication1/Program.cs
deleted file mode 100644
index 34f6b755..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace WindowsApplication1
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication1/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/WindowsApplication1/Properties/AssemblyInfo.cs
deleted file mode 100644
index 6b1bbbda..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("WindowsApplication1")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("WindowsApplication1")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("0551fc44-8b58-4954-9b8a-7b329f356d92")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/WindowsApplication1/Properties/Resources.Designer.cs b/PROMS/VEPROMS/WindowsApplication1/Properties/Resources.Designer.cs
deleted file mode 100644
index 86bd6b8c..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4952
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace WindowsApplication1.Properties
-{
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsApplication1.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
- return resourceCulture;
- }
- set
- {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/WindowsApplication1/Properties/Resources.resx b/PROMS/VEPROMS/WindowsApplication1/Properties/Resources.resx
deleted file mode 100644
index 25a61211..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication1/Properties/Settings.Designer.cs b/PROMS/VEPROMS/WindowsApplication1/Properties/Settings.Designer.cs
deleted file mode 100644
index 1de4c178..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4952
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace WindowsApplication1.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/WindowsApplication1/Properties/Settings.settings b/PROMS/VEPROMS/WindowsApplication1/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/WindowsApplication1/WindowsApplication1.csproj b/PROMS/VEPROMS/WindowsApplication1/WindowsApplication1.csproj
deleted file mode 100644
index ba0491b6..00000000
--- a/PROMS/VEPROMS/WindowsApplication1/WindowsApplication1.csproj
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {AF594E84-9579-40E1-A97F-1844A7A89A10}
- WinExe
- Properties
- WindowsApplication1
- WindowsApplication1
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\x86\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
-
- False
- ..\..\Volian.Controls.Library\obj\x86\Debug\AxInterop.DSOFramer.dll
-
-
-
-
- False
- F:\CSLA\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\bin\Debug\Csla.dll
-
-
-
- False
- ..\..\DropDownPanel\bin\Debug\DropDownPanel.dll
-
-
- False
- ..\..\Volian.Controls.Library\obj\x86\Debug\Interop.DSOFramer.dll
-
-
- False
- ..\..\LBWordLibrary\bin\Debug\LBWordLibrary.dll
-
-
- False
- F:\Log4Net\log4net-1.2.10\bin\net\2.0\debug\log4net.dll
-
-
-
-
-
-
-
-
- False
- ..\..\TablePicker\bin\Debug\TablePicker.dll
-
-
- False
- ..\..\VEPROMS.CSLA.Library\bin\Debug\VEPROMS.CSLA.Library.dll
-
-
- False
- ..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll
-
-
- False
- ..\..\XYPlots\bin\Debug\XYPlots.dll
-
-
-
-
- Form
-
-
- Form1.cs
-
-
-
-
- Designer
- Form1.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication2/Form1.Designer.cs b/PROMS/VEPROMS/WindowsApplication2/Form1.Designer.cs
deleted file mode 100644
index a798f7c2..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Form1.Designer.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-namespace WindowsApplication2
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.vlnFlexGrid1 = new Volian.Controls.Library.VlnFlexGrid(this.components);
- ((System.ComponentModel.ISupportInitialize)(this.vlnFlexGrid1)).BeginInit();
- this.SuspendLayout();
- //
- // vlnFlexGrid1
- //
- this.vlnFlexGrid1.AllowMerging = C1.Win.C1FlexGrid.AllowMergingEnum.Custom;
- this.vlnFlexGrid1.AllowResizing = C1.Win.C1FlexGrid.AllowResizingEnum.Both;
- this.vlnFlexGrid1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
- this.vlnFlexGrid1.ColumnInfo = "3,0,0,0,0,40,Columns:";
- this.vlnFlexGrid1.DrawMode = C1.Win.C1FlexGrid.DrawModeEnum.OwnerDraw;
- this.vlnFlexGrid1.FocusRect = C1.Win.C1FlexGrid.FocusRectEnum.Solid;
- this.vlnFlexGrid1.HighLight = C1.Win.C1FlexGrid.HighLightEnum.WithFocus;
- this.vlnFlexGrid1.Location = new System.Drawing.Point(13, 13);
- this.vlnFlexGrid1.Name = "vlnFlexGrid1";
- this.vlnFlexGrid1.Rows.Count = 4;
- this.vlnFlexGrid1.Rows.DefaultSize = 20;
- this.vlnFlexGrid1.Rows.Fixed = 0;
- this.vlnFlexGrid1.ScrollBars = System.Windows.Forms.ScrollBars.None;
- this.vlnFlexGrid1.Size = new System.Drawing.Size(240, 150);
- this.vlnFlexGrid1.StyleInfo = resources.GetString("vlnFlexGrid1.StyleInfo");
- this.vlnFlexGrid1.TabIndex = 0;
- this.vlnFlexGrid1.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(284, 262);
- this.Controls.Add(this.vlnFlexGrid1);
- this.Name = "Form1";
- this.Text = "Form1";
- ((System.ComponentModel.ISupportInitialize)(this.vlnFlexGrid1)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private Volian.Controls.Library.VlnFlexGrid vlnFlexGrid1;
- }
-}
-
diff --git a/PROMS/VEPROMS/WindowsApplication2/Form1.cs b/PROMS/VEPROMS/WindowsApplication2/Form1.cs
deleted file mode 100644
index 214fdbcb..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Form1.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace WindowsApplication2
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication2/Form1.resx b/PROMS/VEPROMS/WindowsApplication2/Form1.resx
deleted file mode 100644
index 90e95ade..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Form1.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Normal{Font:Microsoft Sans Serif, 8.25pt;BackColor:255, 255, 255;TextAlign:LeftCenter;Border:Flat,1,Black,Both;} Alternate{BackColor:255, 255, 255;} Fixed{BackColor:Control;ForeColor:ControlText;Border:Flat,1,ControlDark,Both;BackgroundImageLayout:Hide;} Highlight{BackColor:LightCyan;ForeColor:Black;} Focus{BackColor:LightCyan;} Editor{} Search{BackColor:Highlight;ForeColor:HighlightText;} Frozen{BackColor:Beige;} NewRow{ForeColor:GrayText;} EmptyArea{BackColor:Transparent;Border:None,1,Black,Both;} SelectedColumnHeader{} SelectedRowHeader{} GrandTotal{BackColor:Black;ForeColor:White;} Subtotal0{BackColor:ControlDarkDark;ForeColor:White;} Subtotal1{BackColor:ControlDarkDark;ForeColor:White;} Subtotal2{BackColor:ControlDarkDark;ForeColor:White;} Subtotal3{BackColor:ControlDarkDark;ForeColor:White;} Subtotal4{BackColor:ControlDarkDark;ForeColor:White;} Subtotal5{BackColor:ControlDarkDark;ForeColor:White;} FilterEditor{} FirstCustomStyle{}
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication2/Program.cs b/PROMS/VEPROMS/WindowsApplication2/Program.cs
deleted file mode 100644
index 54e4fd85..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace WindowsApplication2
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication2/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/WindowsApplication2/Properties/AssemblyInfo.cs
deleted file mode 100644
index 3ca0e69e..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("WindowsApplication2")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("WindowsApplication2")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("b88c3972-2f52-4073-81bd-ce5c08bf9246")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/WindowsApplication2/Properties/Resources.Designer.cs b/PROMS/VEPROMS/WindowsApplication2/Properties/Resources.Designer.cs
deleted file mode 100644
index 02294b12..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4952
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace WindowsApplication2.Properties
-{
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsApplication2.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
- return resourceCulture;
- }
- set
- {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/WindowsApplication2/Properties/Resources.resx b/PROMS/VEPROMS/WindowsApplication2/Properties/Resources.resx
deleted file mode 100644
index 25a61211..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/WindowsApplication2/Properties/Settings.Designer.cs b/PROMS/VEPROMS/WindowsApplication2/Properties/Settings.Designer.cs
deleted file mode 100644
index dd3c8bab..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4952
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace WindowsApplication2.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/WindowsApplication2/Properties/Settings.settings b/PROMS/VEPROMS/WindowsApplication2/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/WindowsApplication2/WindowsApplication2.csproj b/PROMS/VEPROMS/WindowsApplication2/WindowsApplication2.csproj
deleted file mode 100644
index 67532b56..00000000
--- a/PROMS/VEPROMS/WindowsApplication2/WindowsApplication2.csproj
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {9B4A5138-DEB8-4F4C-B52E-4FDF4F270831}
- WinExe
- Properties
- WindowsApplication2
- WindowsApplication2
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\x86\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
-
- False
- ..\..\Volian.Controls.Library\obj\x86\Debug\AxInterop.DSOFramer.dll
-
-
-
-
- False
- F:\CSLA\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\bin\Debug\Csla.dll
-
-
-
- False
- ..\..\DropDownPanel\bin\Debug\DropDownPanel.dll
-
-
- False
- ..\..\Volian.Controls.Library\obj\x86\Debug\Interop.DSOFramer.dll
-
-
- False
- ..\..\LBWordLibrary\bin\Debug\LBWordLibrary.dll
-
-
- False
- F:\Log4Net\log4net-1.2.10\bin\net\2.0\debug\log4net.dll
-
-
-
-
-
-
-
-
- False
- ..\..\TablePicker\bin\Debug\TablePicker.dll
-
-
- False
- ..\..\VEPROMS.CSLA.Library\bin\Debug\VEPROMS.CSLA.Library.dll
-
-
- False
- ..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll
-
-
- False
- ..\..\XYPlots\bin\Debug\XYPlots.dll
-
-
-
-
- Form
-
-
- Form1.cs
-
-
-
-
- Designer
- Form1.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/App.config b/PROMS/VEPROMS/xxxPrintMSWord/App.config
deleted file mode 100644
index e5c55b8d..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/App.config
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
-
-
- 1
-
-
- 2
-
-
- 192, 255, 255
-
-
- True
-
-
- False
-
-
- Normal
-
-
- True
-
-
-
-
- False
-
-
- 1
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Form1.Designer.cs b/PROMS/VEPROMS/xxxPrintMSWord/Form1.Designer.cs
deleted file mode 100644
index 863dbcdc..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Form1.Designer.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-namespace PrintMSWord
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Text = "Form1";
- }
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Form1.cs b/PROMS/VEPROMS/xxxPrintMSWord/Form1.cs
deleted file mode 100644
index 71560674..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Form1.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Form1.resx b/PROMS/VEPROMS/xxxPrintMSWord/Form1.resx
deleted file mode 100644
index 1af7de15..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Form1.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/PrintMSWord.csproj b/PROMS/VEPROMS/xxxPrintMSWord/PrintMSWord.csproj
deleted file mode 100644
index 717370b4..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/PrintMSWord.csproj
+++ /dev/null
@@ -1,189 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {5731EEAD-30C9-499F-849E-179F11D932B0}
- WinExe
- Properties
- PrintMSWord
- PrintMSWord
-
-
- "%24/PROMS/VEPROMS", ZWBAAAAA
- ..
-
-
- MSSCCI:Microsoft Visual SourceSafe
- v2.0
-
-
-
-
- 2.0
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- x86
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
-
- ..\..\VEPROMS.CSLA.Library\bin\Debug\Csla.dll
-
-
-
- ..\..\VEPROMS User Interface\bin\Debug\log4net.dll
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- Form1.cs
-
-
- Form
-
-
- frmPrintMsWord.cs
-
-
-
-
- Form1.cs
-
-
- Designer
- frmPrintMsWord.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {70F23722-19A3-4AC1-A900-55831C945786}
- LBWordLibrary
-
-
- {41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}
- VEPROMS.CSLA.Library
-
-
- {52D74078-3822-410E-889B-464BD21AAB9E}
- VG
-
-
- {AEEE9FD1-6892-45E2-A67E-418C06D46FF9}
- Volian.Base.Library
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
- {94830C07-6A3A-450E-9674-C9B4293A7726}
- Volian.Print.Library
-
-
- {293911B5-C602-483F-A97F-F962EEFB3CAE}
- Volian.Svg.Library
-
-
- {04E168D0-9CC7-43D9-A9F1-93E481EA86A3}
- XYPlots
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- true
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Program.cs b/PROMS/VEPROMS/xxxPrintMSWord/Program.cs
deleted file mode 100644
index 3ca02c65..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmPrintMSWord());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/xxxPrintMSWord/Properties/AssemblyInfo.cs
deleted file mode 100644
index 0883c420..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("PrintMSWord")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("PrintMSWord")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("3b56b3e7-fe71-4d89-9409-7cfd19c6d1d6")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Resources.Designer.cs b/PROMS/VEPROMS/xxxPrintMSWord/Properties/Resources.Designer.cs
deleted file mode 100644
index d9ca0fb4..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrintMSWord.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Resources.resx b/PROMS/VEPROMS/xxxPrintMSWord/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Settings.Designer.cs b/PROMS/VEPROMS/xxxPrintMSWord/Properties/Settings.Designer.cs
deleted file mode 100644
index 264d0f51..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.18408
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Settings.settings b/PROMS/VEPROMS/xxxPrintMSWord/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.Designer.cs b/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.Designer.cs
deleted file mode 100644
index 16c3329e..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.Designer.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-namespace PrintMSWord
-{
- partial class frmInfo
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.tbInfo = new System.Windows.Forms.TextBox();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.statusStrip1.SuspendLayout();
- this.SuspendLayout();
- //
- // tbInfo
- //
- this.tbInfo.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tbInfo.Location = new System.Drawing.Point(0, 0);
- this.tbInfo.Multiline = true;
- this.tbInfo.Name = "tbInfo";
- this.tbInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.tbInfo.Size = new System.Drawing.Size(670, 344);
- this.tbInfo.TabIndex = 0;
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 344);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(670, 22);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(39, 17);
- this.tsslStatus.Text = "Ready";
- //
- // frmInfo
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(670, 366);
- this.Controls.Add(this.tbInfo);
- this.Controls.Add(this.statusStrip1);
- this.Name = "frmInfo";
- this.Text = "frmInfo";
- this.Load += new System.EventHandler(this.frmInfo_Load);
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.TextBox tbInfo;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.cs b/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.cs
deleted file mode 100644
index 1d3eb37e..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- public partial class frmInfo : Form
- {
- private StringBuilder _MyStringBuilder;
- public StringBuilder MyStringBuilder
- {
- get
- {
- if (_MyStringBuilder == null)
- _MyStringBuilder = new StringBuilder();
- return _MyStringBuilder;
- }
- }
- private Form _MyParent;
- public frmInfo(Form myParent)
- {
- _MyParent = myParent;
- InitializeComponent();
- }
- string _Sep = "";
- public string Sep
- {
- get { return _Sep; }
- set { _Sep = value; }
- }
- public void Clear()
- {
- _MyStringBuilder = null;
- tbInfo.Text = "";
- Sep = "";
- Hide();
- }
- public void AddInfo(string info)
- {
- tbInfo.Text += Sep + info;
- Sep = "\r\n";
- Show();
- }
- public void AddInfoPartial(string format, params object[] args)
- {
- MyStringBuilder.Append(Sep + string.Format(format,args));
- Sep = "\r\n";
- Application.DoEvents();
- if(!Visible)Show();
- }
- public string MyStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; tbInfo.Text = MyStringBuilder.ToString(); Application.DoEvents(); }
- }
- public void CopyOutput()
- {
- Clipboard.Clear();
- Clipboard.SetText(tbInfo.Text);
- }
- private void frmInfo_Load(object sender, EventArgs e)
- {
- Rectangle rec = Screen.GetWorkingArea(this);
- Top = _MyParent.Top;
- Left = _MyParent.Right + Width > rec.Right ? rec.Right - Width : _MyParent.Right;
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.resx b/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.resx
deleted file mode 100644
index b9c202bf..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/frmInfo.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.Designer.cs b/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.Designer.cs
deleted file mode 100644
index c27f976c..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.Designer.cs
+++ /dev/null
@@ -1,278 +0,0 @@
-namespace PrintMSWord
-{
- partial class frmPrintMSWord
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tspbStatus = new System.Windows.Forms.ToolStripProgressBar();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.panel1 = new System.Windows.Forms.Panel();
- this.cbDebugOutput = new DevComponents.DotNetBar.Controls.CheckBoxX();
- this.tbTimings = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.cbWatermark = new System.Windows.Forms.ComboBox();
- this.tbRevDate = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.tbRev = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.lbProcs = new System.Windows.Forms.ListBox();
- this.menuStrip1.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // menuStrip1
- //
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.pDFToolStripMenuItem,
- this.pDFsToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(844, 24);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.exitToolStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "&File";
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(92, 22);
- this.exitToolStripMenuItem.Text = "E&xit";
- //
- // pDFToolStripMenuItem
- //
- this.pDFToolStripMenuItem.Name = "pDFToolStripMenuItem";
- this.pDFToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
- this.pDFToolStripMenuItem.Text = "PDF";
- this.pDFToolStripMenuItem.Click += new System.EventHandler(this.pDFToolStripMenuItem_Click);
- //
- // pDFsToolStripMenuItem
- //
- this.pDFsToolStripMenuItem.Name = "pDFsToolStripMenuItem";
- this.pDFsToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
- this.pDFsToolStripMenuItem.Text = "PDFs";
- this.pDFsToolStripMenuItem.Click += new System.EventHandler(this.pDFsToolStripMenuItem_Click);
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tspbStatus,
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 315);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(844, 22);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tspbStatus
- //
- this.tspbStatus.Name = "tspbStatus";
- this.tspbStatus.Size = new System.Drawing.Size(100, 16);
- this.tspbStatus.Visible = false;
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(39, 17);
- this.tsslStatus.Text = "Ready";
- //
- // panel1
- //
- this.panel1.Controls.Add(this.cbDebugOutput);
- this.panel1.Controls.Add(this.tbTimings);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.cbWatermark);
- this.panel1.Controls.Add(this.tbRevDate);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.tbRev);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel1.Location = new System.Drawing.Point(485, 24);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(359, 291);
- this.panel1.TabIndex = 2;
- //
- // cbDebugOutput
- //
- //
- //
- //
- this.cbDebugOutput.BackgroundStyle.Class = "";
- this.cbDebugOutput.Checked = true;
- this.cbDebugOutput.CheckState = System.Windows.Forms.CheckState.Checked;
- this.cbDebugOutput.CheckValue = "Y";
- this.cbDebugOutput.Location = new System.Drawing.Point(8, 32);
- this.cbDebugOutput.Margin = new System.Windows.Forms.Padding(2);
- this.cbDebugOutput.Name = "cbDebugOutput";
- this.cbDebugOutput.Size = new System.Drawing.Size(110, 19);
- this.cbDebugOutput.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.cbDebugOutput.TabIndex = 9;
- this.cbDebugOutput.Text = "Debug Output";
- //
- // tbTimings
- //
- this.tbTimings.AcceptsReturn = true;
- this.tbTimings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tbTimings.Location = new System.Drawing.Point(0, 56);
- this.tbTimings.Multiline = true;
- this.tbTimings.Name = "tbTimings";
- this.tbTimings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.tbTimings.Size = new System.Drawing.Size(359, 235);
- this.tbTimings.TabIndex = 8;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(180, 32);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(59, 13);
- this.label3.TabIndex = 5;
- this.label3.Text = "Watermark";
- //
- // cbWatermark
- //
- this.cbWatermark.FormattingEnabled = true;
- this.cbWatermark.Items.AddRange(new object[] {
- "(None)",
- "Draft",
- "Master",
- "Sample",
- "Reference",
- "Information Only"});
- this.cbWatermark.Location = new System.Drawing.Point(245, 29);
- this.cbWatermark.Name = "cbWatermark";
- this.cbWatermark.Size = new System.Drawing.Size(100, 21);
- this.cbWatermark.TabIndex = 4;
- this.cbWatermark.Text = "(None)";
- //
- // tbRevDate
- //
- this.tbRevDate.AcceptsReturn = true;
- this.tbRevDate.Location = new System.Drawing.Point(245, 3);
- this.tbRevDate.Name = "tbRevDate";
- this.tbRevDate.Size = new System.Drawing.Size(100, 20);
- this.tbRevDate.TabIndex = 3;
- this.tbRevDate.Text = "07/27/10";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(180, 6);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(30, 13);
- this.label2.TabIndex = 2;
- this.label2.Text = "Date";
- //
- // tbRev
- //
- this.tbRev.Location = new System.Drawing.Point(71, 3);
- this.tbRev.Name = "tbRev";
- this.tbRev.Size = new System.Drawing.Size(100, 20);
- this.tbRev.TabIndex = 1;
- this.tbRev.Text = "25";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(6, 6);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(27, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = "Rev";
- //
- // lbProcs
- //
- this.lbProcs.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lbProcs.FormattingEnabled = true;
- this.lbProcs.Location = new System.Drawing.Point(0, 24);
- this.lbProcs.Name = "lbProcs";
- this.lbProcs.Size = new System.Drawing.Size(485, 290);
- this.lbProcs.TabIndex = 3;
- this.lbProcs.DoubleClick += new System.EventHandler(this.lbProcs_DoubleClick);
- //
- // frmPrintMSWord
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(844, 337);
- this.Controls.Add(this.lbProcs);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.menuStrip1);
- this.MainMenuStrip = this.menuStrip1;
- this.Name = "frmPrintMSWord";
- this.Text = "PrintMSWord";
- this.Load += new System.EventHandler(this.frmPrintMSWord_Load);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem pDFToolStripMenuItem;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.ListBox lbProcs;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox cbWatermark;
- private System.Windows.Forms.TextBox tbRevDate;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox tbRev;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox tbTimings;
- private DevComponents.DotNetBar.Controls.CheckBoxX cbDebugOutput;
- private System.Windows.Forms.ToolStripMenuItem pDFsToolStripMenuItem;
- private System.Windows.Forms.ToolStripProgressBar tspbStatus;
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.cs b/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.cs
deleted file mode 100644
index 6316362f..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.cs
+++ /dev/null
@@ -1,156 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using VEPROMS.CSLA.Library;
-using System.IO;
-using Volian.Svg.Library;
-using Volian.Print.Library;
-using Volian.Base.Library;
-
-namespace PrintMSWord
-{
- public partial class frmPrintMSWord : Form
- {
- public frmPrintMSWord()
- {
- InitializeComponent();
- }
- public string MyStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; Application.DoEvents(); }
- }
- private DateTime _TimerStart;
- public DateTime TimerStart
- {
- get { return _TimerStart; }
- set { _TimerStart = value; }
- }
- private string _ProcedureNumber;
- public string ProcedureNumber
- {
- get { return _ProcedureNumber; }
- set { _ProcedureNumber = value; }
- }
- public string MyTimerStatus
- {
- get { return tsslStatus.Text; }
- set {
- TimeSpan ts = DateTime.Now - _TimerStart;
- DateTime dt = new DateTime(ts.Ticks);
- tsslStatus.Text = string.Format("{0:HH:mm:ss.fff} {1} {2}",dt,ProcedureNumber,value);
- Application.DoEvents();
- }
- }
- private DocVersionInfo GetDocVersionWithContent()
- {
- DocVersionInfoList dvList = DocVersionInfoList.Get();
- foreach (DocVersionInfo docVersion in dvList)
- if (docVersion.Procedures != null)
- if (docVersion.Procedures[0].ItemID != 0)
- return docVersion;
- return null;
- }
- public ProcedureInfo MyProcedure
- {
- get { return lbProcs.SelectedValue as ProcedureInfo; }
- }
- private void lbProcs_DoubleClick(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void CreatePDF()
- {
- TimerStart = DateTime.Now;
- ProcedureInfo myProcedure = MyProcedure;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- CreatePDF(myProcedure,true);
- this.Cursor = saveCursor;
- }
-
- private void CreatePDF(ProcedureInfo myProcedure, bool openPdf)
- {
- // set up for using format default change bars.
- ChangeBarDefinition cbd = new ChangeBarDefinition();
- ChangeBarData changeBarData = MyProcedure.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData;
- cbd.MyChangeBarType = PrintChangeBar.WithDefault;
- cbd.MyChangeBarText = changeBarData.ChangeBarMessage == "ChgID" ? PrintChangeBarText.ChgID :
- changeBarData.ChangeBarMessage == "DateAndChgID" ? PrintChangeBarText.DateChgID :
- changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
- changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
- PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
- myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'),false);
- pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
- _ElapsedTime = new Dictionary();
- DateTime tStart = DateTime.Now;
- string pdfFile = pp.Print(@"C:\TEMP\32Bit", false);
- DateTime tEnd = DateTime.Now;
- _ElapsedTime.Add(PromsPrinterStatusType.Total, DateTime.Now - tStart);
- MyTimerStatus = pdfFile + " created.";
- ShowElapsedTime();
- //MyStatus = string.Format("{0} created in {1:0.} milliseconds", pdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));
- }
- private void ShowElapsedTime()
- {
- foreach (PromsPrinterStatusType type in _ElapsedTime.Keys)
- tbTimings.Text += "\r\n" + string.Format("'{0}',{1:0.}", type, _ElapsedTime[type].TotalMilliseconds);
- }
- private Dictionary _ElapsedTime;
- private DateTime _LastTime=DateTime.Now;
- private DateTime _StartTime = DateTime.Now;
- void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
- {
- if (args.Type == PromsPrinterStatusType.Start) _LastTime = _StartTime = args.When;
- MyStatus = args.MyStatus;
- TimeSpan delta = TimeSpan.FromTicks(args.When.Ticks - _LastTime.Ticks);
- if (_ElapsedTime.ContainsKey(args.Type))
- _ElapsedTime[args.Type] += delta;
- else
- _ElapsedTime.Add(args.Type, delta);
- //if (tbTimings.Text != "") tbTimings.Text += "\r\n";
- //tbTimings.Text += string.Format("{0},{1},'{2}','{3}'", TimeSpan.FromTicks(args.When.Ticks -_StartTime.Ticks).TotalSeconds, delta.TotalMilliseconds, args.Type, args.MyStatus);
- _LastTime = args.When;
- }
- private void pDFToolStripMenuItem_Click(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void frmPrintMSWord_Load(object sender, EventArgs e)
- {
- DocVersionInfo dvi = GetDocVersionWithContent();
- lbProcs.DataSource = dvi.Procedures;
- }
-
- private void pDFsToolStripMenuItem_Click(object sender, EventArgs e)
- {
- TimerStart = DateTime.Now;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- ItemInfoList myItems = lbProcs.DataSource as ItemInfoList;
- tspbStatus.Maximum = myItems.Count;
- tspbStatus.Value = 0;
- tspbStatus.Visible = true;
- foreach (ItemInfo myItem in myItems)
- {
- ProcedureNumber = myItem.DisplayNumber;
- if (tspbStatus != null) tspbStatus.Value++;
- CreatePDF(myItem.MyProcedure, false);
- }
- ProcedureNumber = "";
- MyTimerStatus = "Processing Complete";
- tspbStatus.Visible = false;
- this.Cursor = saveCursor;
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.resx b/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.resx
deleted file mode 100644
index 7de6988d..00000000
--- a/PROMS/VEPROMS/xxxPrintMSWord/frmPrintMsWord.resx
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- 132, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/App.config b/PROMS/VEPROMS/xxxxPrintMSWord/App.config
deleted file mode 100644
index 48a81909..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/App.config
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
-
-
- 1
-
-
- 2
-
-
- 192, 255, 255
-
-
- True
-
-
- False
-
-
- Normal
-
-
- True
-
-
-
-
- False
-
-
- 1
-
-
-
-
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/PrintMSWord - Copy.csproj b/PROMS/VEPROMS/xxxxPrintMSWord/PrintMSWord - Copy.csproj
deleted file mode 100644
index 717370b4..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/PrintMSWord - Copy.csproj
+++ /dev/null
@@ -1,189 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {5731EEAD-30C9-499F-849E-179F11D932B0}
- WinExe
- Properties
- PrintMSWord
- PrintMSWord
-
-
- "%24/PROMS/VEPROMS", ZWBAAAAA
- ..
-
-
- MSSCCI:Microsoft Visual SourceSafe
- v2.0
-
-
-
-
- 2.0
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- x86
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
-
-
-
- ..\..\VEPROMS.CSLA.Library\bin\Debug\Csla.dll
-
-
-
- ..\..\VEPROMS User Interface\bin\Debug\log4net.dll
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- Form1.cs
-
-
- Form
-
-
- frmPrintMsWord.cs
-
-
-
-
- Form1.cs
-
-
- Designer
- frmPrintMsWord.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {70F23722-19A3-4AC1-A900-55831C945786}
- LBWordLibrary
-
-
- {41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}
- VEPROMS.CSLA.Library
-
-
- {52D74078-3822-410E-889B-464BD21AAB9E}
- VG
-
-
- {AEEE9FD1-6892-45E2-A67E-418C06D46FF9}
- Volian.Base.Library
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
- {94830C07-6A3A-450E-9674-C9B4293A7726}
- Volian.Print.Library
-
-
- {293911B5-C602-483F-A97F-F962EEFB3CAE}
- Volian.Svg.Library
-
-
- {04E168D0-9CC7-43D9-A9F1-93E481EA86A3}
- XYPlots
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- true
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/PrintMSWord.csproj b/PROMS/VEPROMS/xxxxPrintMSWord/PrintMSWord.csproj
deleted file mode 100644
index b755d304..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/PrintMSWord.csproj
+++ /dev/null
@@ -1,187 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {5731EEAD-30C9-499F-849E-179F11D932B0}
- WinExe
- Properties
- PrintMSWord
- PrintMSWord
-
-
- "%24/PROMS/VEPROMS", ZWBAAAAA
- ..
-
-
- MSSCCI:Microsoft Visual SourceSafe
- v4.6.1
-
-
-
-
- 2.0
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- x86
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- false
-
-
- true
- bin\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
- false
-
-
- bin\debug\
- TRACE
- true
- pdbonly
- x86
- prompt
- false
-
-
-
- ..\..\VEPROMS.CSLA.Library\bin\Debug\Csla.dll
-
-
- True
-
-
- ..\..\..\Log4Net\log4net-1.2.10\bin\net\2.0\debug\log4net.dll
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- frmPrintMsWord.cs
-
-
-
-
- Designer
- frmPrintMsWord.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
- {70F23722-19A3-4AC1-A900-55831C945786}
- LBWordLibrary
-
-
- {41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}
- VEPROMS.CSLA.Library
-
-
- {52D74078-3822-410E-889B-464BD21AAB9E}
- VG
-
-
- {AEEE9FD1-6892-45E2-A67E-418C06D46FF9}
- Volian.Base.Library
-
-
- {8556527C-6615-487F-8AF7-22EBC3EF0268}
- Volian.Controls.Library
-
-
- {94830C07-6A3A-450E-9674-C9B4293A7726}
- Volian.Print.Library
-
-
- {293911B5-C602-483F-A97F-F962EEFB3CAE}
- Volian.Svg.Library
-
-
- {04E168D0-9CC7-43D9-A9F1-93E481EA86A3}
- XYPlots
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- true
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/Program.cs b/PROMS/VEPROMS/xxxxPrintMSWord/Program.cs
deleted file mode 100644
index 3ca02c65..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/Program.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmPrintMSWord());
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/AssemblyInfo.cs b/PROMS/VEPROMS/xxxxPrintMSWord/Properties/AssemblyInfo.cs
deleted file mode 100644
index 0883c420..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("PrintMSWord")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("PrintMSWord")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("3b56b3e7-fe71-4d89-9409-7cfd19c6d1d6")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Resources.Designer.cs b/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Resources.Designer.cs
deleted file mode 100644
index 26a86522..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrintMSWord.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Resources.resx b/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Settings.Designer.cs b/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Settings.Designer.cs
deleted file mode 100644
index 58796bfc..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace PrintMSWord.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Settings.settings b/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.Designer.cs b/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.Designer.cs
deleted file mode 100644
index 16c3329e..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.Designer.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-namespace PrintMSWord
-{
- partial class frmInfo
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.tbInfo = new System.Windows.Forms.TextBox();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.statusStrip1.SuspendLayout();
- this.SuspendLayout();
- //
- // tbInfo
- //
- this.tbInfo.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tbInfo.Location = new System.Drawing.Point(0, 0);
- this.tbInfo.Multiline = true;
- this.tbInfo.Name = "tbInfo";
- this.tbInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.tbInfo.Size = new System.Drawing.Size(670, 344);
- this.tbInfo.TabIndex = 0;
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 344);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(670, 22);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(39, 17);
- this.tsslStatus.Text = "Ready";
- //
- // frmInfo
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(670, 366);
- this.Controls.Add(this.tbInfo);
- this.Controls.Add(this.statusStrip1);
- this.Name = "frmInfo";
- this.Text = "frmInfo";
- this.Load += new System.EventHandler(this.frmInfo_Load);
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.TextBox tbInfo;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.cs b/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.cs
deleted file mode 100644
index 1d3eb37e..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace PrintMSWord
-{
- public partial class frmInfo : Form
- {
- private StringBuilder _MyStringBuilder;
- public StringBuilder MyStringBuilder
- {
- get
- {
- if (_MyStringBuilder == null)
- _MyStringBuilder = new StringBuilder();
- return _MyStringBuilder;
- }
- }
- private Form _MyParent;
- public frmInfo(Form myParent)
- {
- _MyParent = myParent;
- InitializeComponent();
- }
- string _Sep = "";
- public string Sep
- {
- get { return _Sep; }
- set { _Sep = value; }
- }
- public void Clear()
- {
- _MyStringBuilder = null;
- tbInfo.Text = "";
- Sep = "";
- Hide();
- }
- public void AddInfo(string info)
- {
- tbInfo.Text += Sep + info;
- Sep = "\r\n";
- Show();
- }
- public void AddInfoPartial(string format, params object[] args)
- {
- MyStringBuilder.Append(Sep + string.Format(format,args));
- Sep = "\r\n";
- Application.DoEvents();
- if(!Visible)Show();
- }
- public string MyStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; tbInfo.Text = MyStringBuilder.ToString(); Application.DoEvents(); }
- }
- public void CopyOutput()
- {
- Clipboard.Clear();
- Clipboard.SetText(tbInfo.Text);
- }
- private void frmInfo_Load(object sender, EventArgs e)
- {
- Rectangle rec = Screen.GetWorkingArea(this);
- Top = _MyParent.Top;
- Left = _MyParent.Right + Width > rec.Right ? rec.Right - Width : _MyParent.Right;
- }
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.resx b/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.resx
deleted file mode 100644
index b9c202bf..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/frmInfo.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.Designer.cs b/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.Designer.cs
deleted file mode 100644
index 102e9ec9..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.Designer.cs
+++ /dev/null
@@ -1,293 +0,0 @@
-namespace PrintMSWord
-{
- partial class frmPrintMSWord
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pDFsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tspbStatus = new System.Windows.Forms.ToolStripProgressBar();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.panel1 = new System.Windows.Forms.Panel();
- this.cbDebugOutput = new DevComponents.DotNetBar.Controls.CheckBoxX();
- this.tbTimings = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.cbWatermark = new System.Windows.Forms.ComboBox();
- this.tbRevDate = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.tbRev = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.lbProcs = new System.Windows.Forms.ListBox();
- this.menuStrip1.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // menuStrip1
- //
- this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.pDFToolStripMenuItem,
- this.pDFsToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
- this.menuStrip1.Size = new System.Drawing.Size(1125, 28);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.exitToolStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 24);
- this.fileToolStripMenuItem.Text = "&File";
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(108, 26);
- this.exitToolStripMenuItem.Text = "E&xit";
- //
- // pDFToolStripMenuItem
- //
- this.pDFToolStripMenuItem.Name = "pDFToolStripMenuItem";
- this.pDFToolStripMenuItem.Size = new System.Drawing.Size(47, 24);
- this.pDFToolStripMenuItem.Text = "PDF";
- this.pDFToolStripMenuItem.Click += new System.EventHandler(this.pDFToolStripMenuItem_Click);
- //
- // pDFsToolStripMenuItem
- //
- this.pDFsToolStripMenuItem.Name = "pDFsToolStripMenuItem";
- this.pDFsToolStripMenuItem.Size = new System.Drawing.Size(53, 24);
- this.pDFsToolStripMenuItem.Text = "PDFs";
- this.pDFsToolStripMenuItem.Click += new System.EventHandler(this.pDFsToolStripMenuItem_Click);
- //
- // statusStrip1
- //
- this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tspbStatus,
- this.tsslStatus});
- this.statusStrip1.Location = new System.Drawing.Point(0, 390);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
- this.statusStrip1.Size = new System.Drawing.Size(1125, 25);
- this.statusStrip1.TabIndex = 1;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tspbStatus
- //
- this.tspbStatus.Name = "tspbStatus";
- this.tspbStatus.Size = new System.Drawing.Size(133, 20);
- this.tspbStatus.Visible = false;
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(50, 20);
- this.tsslStatus.Text = "Ready";
- //
- // panel1
- //
- this.panel1.Controls.Add(this.cbDebugOutput);
- this.panel1.Controls.Add(this.tbTimings);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.cbWatermark);
- this.panel1.Controls.Add(this.tbRevDate);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.tbRev);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel1.Location = new System.Drawing.Point(646, 28);
- this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(479, 362);
- this.panel1.TabIndex = 2;
- //
- // cbDebugOutput
- //
- //
- //
- //
- this.cbDebugOutput.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.cbDebugOutput.Checked = true;
- this.cbDebugOutput.CheckState = System.Windows.Forms.CheckState.Checked;
- this.cbDebugOutput.CheckValue = "Y";
- this.cbDebugOutput.Location = new System.Drawing.Point(11, 39);
- this.cbDebugOutput.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
- this.cbDebugOutput.Name = "cbDebugOutput";
- this.cbDebugOutput.Size = new System.Drawing.Size(147, 23);
- this.cbDebugOutput.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.cbDebugOutput.TabIndex = 9;
- this.cbDebugOutput.Text = "Debug Output";
- //
- // tbTimings
- //
- this.tbTimings.AcceptsReturn = true;
- this.tbTimings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tbTimings.Location = new System.Drawing.Point(0, 69);
- this.tbTimings.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tbTimings.Multiline = true;
- this.tbTimings.Name = "tbTimings";
- this.tbTimings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.tbTimings.Size = new System.Drawing.Size(477, 292);
- this.tbTimings.TabIndex = 8;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(240, 39);
- this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(77, 17);
- this.label3.TabIndex = 5;
- this.label3.Text = "Watermark";
- //
- // cbWatermark
- //
- this.cbWatermark.FormattingEnabled = true;
- this.cbWatermark.Items.AddRange(new object[] {
- "(None)",
- "Draft",
- "Master",
- "Sample",
- "Reference",
- "Information Only"});
- this.cbWatermark.Location = new System.Drawing.Point(327, 36);
- this.cbWatermark.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.cbWatermark.Name = "cbWatermark";
- this.cbWatermark.Size = new System.Drawing.Size(132, 24);
- this.cbWatermark.TabIndex = 4;
- this.cbWatermark.Text = "(None)";
- //
- // tbRevDate
- //
- this.tbRevDate.AcceptsReturn = true;
- this.tbRevDate.Location = new System.Drawing.Point(327, 4);
- this.tbRevDate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tbRevDate.Name = "tbRevDate";
- this.tbRevDate.Size = new System.Drawing.Size(132, 22);
- this.tbRevDate.TabIndex = 3;
- this.tbRevDate.Text = "07/27/10";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(240, 7);
- this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(38, 17);
- this.label2.TabIndex = 2;
- this.label2.Text = "Date";
- //
- // tbRev
- //
- this.tbRev.Location = new System.Drawing.Point(95, 4);
- this.tbRev.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tbRev.Name = "tbRev";
- this.tbRev.Size = new System.Drawing.Size(132, 22);
- this.tbRev.TabIndex = 1;
- this.tbRev.Text = "25";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(8, 7);
- this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(33, 17);
- this.label1.TabIndex = 0;
- this.label1.Text = "Rev";
- //
- // lbProcs
- //
- this.lbProcs.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lbProcs.FormattingEnabled = true;
- this.lbProcs.ItemHeight = 16;
- this.lbProcs.Location = new System.Drawing.Point(0, 28);
- this.lbProcs.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.lbProcs.Name = "lbProcs";
- this.lbProcs.Size = new System.Drawing.Size(646, 362);
- this.lbProcs.TabIndex = 3;
- this.lbProcs.DoubleClick += new System.EventHandler(this.lbProcs_DoubleClick);
- //
- // frmPrintMSWord
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1125, 415);
- this.Controls.Add(this.lbProcs);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.menuStrip1);
- this.MainMenuStrip = this.menuStrip1;
- this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.Name = "frmPrintMSWord";
- this.Text = "PrintMSWord";
- this.Load += new System.EventHandler(this.frmPrintMSWord_Load);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem pDFToolStripMenuItem;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.ListBox lbProcs;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox cbWatermark;
- private System.Windows.Forms.TextBox tbRevDate;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox tbRev;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox tbTimings;
- private DevComponents.DotNetBar.Controls.CheckBoxX cbDebugOutput;
- private System.Windows.Forms.ToolStripMenuItem pDFsToolStripMenuItem;
- private System.Windows.Forms.ToolStripProgressBar tspbStatus;
- }
-}
\ No newline at end of file
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.cs b/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.cs
deleted file mode 100644
index 2ba87b00..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.cs
+++ /dev/null
@@ -1,156 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using VEPROMS.CSLA.Library;
-using System.IO;
-using Volian.Svg.Library;
-using Volian.Print.Library;
-using Volian.Base.Library;
-
-namespace PrintMSWord
-{
- public partial class frmPrintMSWord : Form
- {
- public frmPrintMSWord()
- {
- InitializeComponent();
- }
- public string MyStatus
- {
- get { return tsslStatus.Text; }
- set { tsslStatus.Text = value; Application.DoEvents(); }
- }
- private DateTime _TimerStart;
- public DateTime TimerStart
- {
- get { return _TimerStart; }
- set { _TimerStart = value; }
- }
- private string _ProcedureNumber;
- public string ProcedureNumber
- {
- get { return _ProcedureNumber; }
- set { _ProcedureNumber = value; }
- }
- public string MyTimerStatus
- {
- get { return tsslStatus.Text; }
- set {
- TimeSpan ts = DateTime.Now - _TimerStart;
- DateTime dt = new DateTime(ts.Ticks);
- tsslStatus.Text = string.Format("{0:HH:mm:ss.fff} {1} {2}",dt,ProcedureNumber,value);
- Application.DoEvents();
- }
- }
- private DocVersionInfo GetDocVersionWithContent()
- {
- DocVersionInfoList dvList = DocVersionInfoList.Get();
- foreach (DocVersionInfo docVersion in dvList)
- if (docVersion.Procedures != null)
- if (docVersion.Procedures[0].ItemID != 0)
- return docVersion;
- return null;
- }
- public ProcedureInfo MyProcedure
- {
- get { return lbProcs.SelectedValue as ProcedureInfo; }
- }
- private void lbProcs_DoubleClick(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void CreatePDF()
- {
- TimerStart = DateTime.Now;
- ProcedureInfo myProcedure = MyProcedure;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- CreatePDF(myProcedure,true,false);
- this.Cursor = saveCursor;
- }
-
- private void CreatePDF(ProcedureInfo myProcedure, bool openPdf,bool saveLinks)
- {
- // set up for using format default change bars.
- ChangeBarDefinition cbd = new ChangeBarDefinition();
- ChangeBarData changeBarData = MyProcedure.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData;
- cbd.MyChangeBarType = PrintChangeBar.WithDefault;
- cbd.MyChangeBarText = changeBarData.ChangeBarMessage == "ChgID" ? PrintChangeBarText.ChgID :
- changeBarData.ChangeBarMessage == "DateAndChgID" ? PrintChangeBarText.DateChgID :
- changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
- changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
- PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
- myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'),false,false,"",false,false,null);
- pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
- _ElapsedTime = new Dictionary();
- DateTime tStart = DateTime.Now;
- string pdfFile = pp.Print(@"C:\TEMP\32Bit", false, false); // (pdfpath, makePlaceKeeper, makeContinuousActionSummary)
- DateTime tEnd = DateTime.Now;
- _ElapsedTime.Add(PromsPrinterStatusType.Total, DateTime.Now - tStart);
- MyTimerStatus = pdfFile + " created.";
- ShowElapsedTime();
- //MyStatus = string.Format("{0} created in {1:0.} milliseconds", pdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));
- }
- private void ShowElapsedTime()
- {
- foreach (PromsPrinterStatusType type in _ElapsedTime.Keys)
- tbTimings.Text += "\r\n" + string.Format("'{0}',{1:0.}", type, _ElapsedTime[type].TotalMilliseconds);
- }
- private Dictionary _ElapsedTime;
- private DateTime _LastTime=DateTime.Now;
- private DateTime _StartTime = DateTime.Now;
- void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
- {
- if (args.Type == PromsPrinterStatusType.Start) _LastTime = _StartTime = args.When;
- MyStatus = args.MyStatus;
- TimeSpan delta = TimeSpan.FromTicks(args.When.Ticks - _LastTime.Ticks);
- if (_ElapsedTime.ContainsKey(args.Type))
- _ElapsedTime[args.Type] += delta;
- else
- _ElapsedTime.Add(args.Type, delta);
- //if (tbTimings.Text != "") tbTimings.Text += "\r\n";
- //tbTimings.Text += string.Format("{0},{1},'{2}','{3}'", TimeSpan.FromTicks(args.When.Ticks -_StartTime.Ticks).TotalSeconds, delta.TotalMilliseconds, args.Type, args.MyStatus);
- _LastTime = args.When;
- }
- private void pDFToolStripMenuItem_Click(object sender, EventArgs e)
- {
- CreatePDF();
- }
- private void frmPrintMSWord_Load(object sender, EventArgs e)
- {
- DocVersionInfo dvi = GetDocVersionWithContent();
- lbProcs.DataSource = dvi.Procedures;
- }
-
- private void pDFsToolStripMenuItem_Click(object sender, EventArgs e)
- {
- TimerStart = DateTime.Now;
- Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
- tbTimings.Text = "";
- Cursor saveCursor = this.Cursor;
- this.Cursor = Cursors.WaitCursor;
- //ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
- ItemInfoList myItems = lbProcs.DataSource as ItemInfoList;
- tspbStatus.Maximum = myItems.Count;
- tspbStatus.Value = 0;
- tspbStatus.Visible = true;
- foreach (ItemInfo myItem in myItems)
- {
- ProcedureNumber = myItem.DisplayNumber;
- if (tspbStatus != null) tspbStatus.Value++;
- CreatePDF(myItem.MyProcedure, false,false);
- }
- ProcedureNumber = "";
- MyTimerStatus = "Processing Complete";
- tspbStatus.Visible = false;
- this.Cursor = saveCursor;
- }
- }
-}
diff --git a/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.resx b/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.resx
deleted file mode 100644
index 7de6988d..00000000
--- a/PROMS/VEPROMS/xxxxPrintMSWord/frmPrintMsWord.resx
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- 132, 17
-
-
\ No newline at end of file