From f10be22c0b507ee16e29b51a9e5ae142e7f8ae35 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Sun, 23 Feb 2020 15:24:23 +0100 Subject: [PATCH] 1. ToFirstMonitor and ToSecondMonitor console app.added, 2. GenCode128 project added. --- .gitignore | 8 +- GenCode128/AssemblyInfo.cs | 51 + GenCode128/Code128Code.cs | 139 ++ GenCode128/Code128Content.cs | 97 ++ GenCode128/Code128Rendering.cs | 188 +++ GenCode128/CodeSet.cs | 9 + GenCode128/GenCode128.csproj | 147 ++ TBF.sln | 26 + TBFSetup/TBFSetup.vdproj | 1444 -------------------- ToFirstMonitor/App.config | 6 + ToFirstMonitor/Program.cs | 82 ++ ToFirstMonitor/Properties/AssemblyInfo.cs | 36 + ToFirstMonitor/ToFirstMonitor.csproj | 76 ++ ToSecondMonitor/App.config | 6 + ToSecondMonitor/Program.cs | 82 ++ ToSecondMonitor/Properties/AssemblyInfo.cs | 36 + ToSecondMonitor/ToSecondMonitor.csproj | 73 + clean.bat | 8 +- 18 files changed, 1066 insertions(+), 1448 deletions(-) create mode 100644 GenCode128/AssemblyInfo.cs create mode 100644 GenCode128/Code128Code.cs create mode 100644 GenCode128/Code128Content.cs create mode 100644 GenCode128/Code128Rendering.cs create mode 100644 GenCode128/CodeSet.cs create mode 100644 GenCode128/GenCode128.csproj delete mode 100644 TBFSetup/TBFSetup.vdproj create mode 100644 ToFirstMonitor/App.config create mode 100644 ToFirstMonitor/Program.cs create mode 100644 ToFirstMonitor/Properties/AssemblyInfo.cs create mode 100644 ToFirstMonitor/ToFirstMonitor.csproj create mode 100644 ToSecondMonitor/App.config create mode 100644 ToSecondMonitor/Program.cs create mode 100644 ToSecondMonitor/Properties/AssemblyInfo.cs create mode 100644 ToSecondMonitor/ToSecondMonitor.csproj diff --git a/.gitignore b/.gitignore index 0ad9a440b..283d1a471 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,8 @@ Encrypt/bin/ Encrypt/obj/ GemCard/bin GemCard/obj +GenCode128/bin +GenCode128/obj GraphLib/bin GraphLib/obj TracingDB/bin @@ -24,8 +26,10 @@ Statistics/bin/ Statistics/obj/ TBF/bin/ TBF/obj/ -TBFSetup/Debug/ -TBFSetup/Release/ +ToFirstMonitor/bin/ +ToFirstMonitor/obj/ +ToSecondMonitor/bin/ +ToSecondMonitor/obj/ Users/bin/ Users/obj/ UserManagement/bin/ diff --git a/GenCode128/AssemblyInfo.cs b/GenCode128/AssemblyInfo.cs new file mode 100644 index 000000000..4fe350d4c --- /dev/null +++ b/GenCode128/AssemblyInfo.cs @@ -0,0 +1,51 @@ +using System.Reflection; + +// 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("GenCode128")] +[assembly: AssemblyDescription("GenCode128")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Chris Wuestefeld")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("2006 Chris Wuestefeld")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] + +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/GenCode128/Code128Code.cs b/GenCode128/Code128Code.cs new file mode 100644 index 000000000..ea119b1a8 --- /dev/null +++ b/GenCode128/Code128Code.cs @@ -0,0 +1,139 @@ +namespace GenCode128 +{ + /// + /// Static tools for determining codes for individual characters in the content + /// + public static class Code128Code + { + private const int CShift = 98; + private const int CCodeA = 101; + private const int CCodeB = 100; + private const int CStartA = 103; + private const int CStartB = 104; + private const int CStop = 106; + + /// + /// Indicates which code sets can represent a character -- CodeA, CodeB, or either + /// + public enum CodeSetAllowed + { + CodeA, + CodeB, + CodeAorB + } + + /// + /// Get the Code128 code value(s) to represent an ASCII character, with + /// optional look-ahead for length optimization + /// + /// The ASCII value of the character to translate + /// The next character in sequence (or -1 if none) + /// The current codeset, that the returned codes need to follow; + /// if the returned codes change that, then this value will be changed to reflect it + /// An array of integers representing the codes that need to be output to produce the + /// given character + public static int[] CodesForChar(int charAscii, int lookAheadAscii, ref CodeSet currentCodeSet) + { + int[] result; + var shifter = -1; + + if (!CharCompatibleWithCodeset(charAscii, currentCodeSet)) + { + // if we have a lookahead character AND if the next character is ALSO not compatible + if ((lookAheadAscii != -1) && !CharCompatibleWithCodeset(lookAheadAscii, currentCodeSet)) + { + // we need to switch code sets + switch (currentCodeSet) + { + case CodeSet.CodeA: + shifter = CCodeB; + currentCodeSet = CodeSet.CodeB; + break; + case CodeSet.CodeB: + shifter = CCodeA; + currentCodeSet = CodeSet.CodeA; + break; + } + } + else + { + // no need to switch code sets, a temporary SHIFT will suffice + shifter = CShift; + } + } + + if (shifter != -1) + { + result = new int[2]; + result[0] = shifter; + result[1] = CodeValueForChar(charAscii); + } + else + { + result = new int[1]; + result[0] = CodeValueForChar(charAscii); + } + + return result; + } + + /// + /// Tells us which codesets a given character value is allowed in + /// + /// ASCII value of character to look at + /// Which codeset(s) can be used to represent this character + public static CodeSetAllowed CodesetAllowedForChar(int charAscii) + { + if (charAscii >= 32 && charAscii <= 95) + { + return CodeSetAllowed.CodeAorB; + } + else + { + return charAscii < 32 ? CodeSetAllowed.CodeA : CodeSetAllowed.CodeB; + } + } + + /// + /// Determine if a character can be represented in a given codeset + /// + /// character to check for + /// codeset context to test + /// true if the codeset contains a representation for the ASCII character + public static bool CharCompatibleWithCodeset(int charAscii, CodeSet currentCodeSet) + { + var csa = CodesetAllowedForChar(charAscii); + return csa == CodeSetAllowed.CodeAorB || (csa == CodeSetAllowed.CodeA && currentCodeSet == CodeSet.CodeA) + || (csa == CodeSetAllowed.CodeB && currentCodeSet == CodeSet.CodeB); + } + + /// + /// Gets the integer code128 code value for a character (assuming the appropriate code set) + /// + /// character to convert + /// code128 symbol value for the character + public static int CodeValueForChar(int charAscii) + { + return charAscii >= 32 ? charAscii - 32 : charAscii + 64; + } + + /// + /// Return the appropriate START code depending on the codeset we want to be in + /// + /// The codeset you want to start in + /// The code128 code to start a barcode in that codeset + public static int StartCodeForCodeSet(CodeSet cs) + { + return cs == CodeSet.CodeA ? CStartA : CStartB; + } + + /// + /// Return the Code128 stop code + /// + /// the stop code + public static int StopCode() + { + return CStop; + } + } +} \ No newline at end of file diff --git a/GenCode128/Code128Content.cs b/GenCode128/Code128Content.cs new file mode 100644 index 000000000..505efe4d4 --- /dev/null +++ b/GenCode128/Code128Content.cs @@ -0,0 +1,97 @@ +namespace GenCode128 +{ + using System.Collections; + using System.Text; + + /// + /// Represent the set of code values to be output into barcode form + /// + public class Code128Content + { + /// + /// Create content based on a string of ASCII data + /// + /// the string that should be represented + public Code128Content(string asciiData) + { + this.Codes = this.StringToCode128(asciiData); + } + + /// + /// Provides the Code128 code values representing the object's string + /// + public int[] Codes + { + get { return codes; } + set { codes = value; } + } + int[] codes; + + /// + /// Transform the string into integers representing the Code128 codes + /// necessary to represent it + /// + /// String to be encoded + /// Code128 representation + private int[] StringToCode128(string asciiData) + { + // turn the string into ascii byte data + var asciiBytes = Encoding.ASCII.GetBytes(asciiData); + + // decide which codeset to start with + var csa1 = asciiBytes.Length > 0 + ? Code128Code.CodesetAllowedForChar(asciiBytes[0]) + : Code128Code.CodeSetAllowed.CodeAorB; + var csa2 = asciiBytes.Length > 1 + ? Code128Code.CodesetAllowedForChar(asciiBytes[1]) + : Code128Code.CodeSetAllowed.CodeAorB; + var currentCodeSet = this.GetBestStartSet(csa1, csa2); + + // set up the beginning of the barcode + // assume no codeset changes, account for start, checksum, and stop + var codes = new ArrayList(asciiBytes.Length + 3) { Code128Code.StartCodeForCodeSet(currentCodeSet) }; + + // add the codes for each character in the string + for (var i = 0; i < asciiBytes.Length; i++) + { + int thischar = asciiBytes[i]; + var nextchar = asciiBytes.Length > i + 1 ? asciiBytes[i + 1] : -1; + + codes.AddRange(Code128Code.CodesForChar(thischar, nextchar, ref currentCodeSet)); + } + + // calculate the check digit + var checksum = (int)codes[0]; + for (var i = 1; i < codes.Count; i++) + { + checksum += i * (int)codes[i]; + } + + codes.Add(checksum % 103); + + codes.Add(Code128Code.StopCode()); + + var result = codes.ToArray(typeof(int)) as int[]; + return result; + } + + /// + /// Determines the best starting code set based on the the first two + /// characters of the string to be encoded + /// + /// First character of input string + /// Second character of input string + /// The codeset determined to be best to start with + private CodeSet GetBestStartSet(Code128Code.CodeSetAllowed csa1, Code128Code.CodeSetAllowed csa2) + { + var vote = 0; + + vote += csa1 == Code128Code.CodeSetAllowed.CodeA ? 1 : 0; + vote += csa1 == Code128Code.CodeSetAllowed.CodeB ? -1 : 0; + vote += csa2 == Code128Code.CodeSetAllowed.CodeA ? 1 : 0; + vote += csa2 == Code128Code.CodeSetAllowed.CodeB ? -1 : 0; + + return vote > 0 ? CodeSet.CodeA : CodeSet.CodeB; // ties go to codeB due to my own prejudices + } + } +} diff --git a/GenCode128/Code128Rendering.cs b/GenCode128/Code128Rendering.cs new file mode 100644 index 000000000..0dd7fc148 --- /dev/null +++ b/GenCode128/Code128Rendering.cs @@ -0,0 +1,188 @@ +namespace GenCode128 +{ + using System; + using System.Drawing; + + /// + /// Summary description for Code128Rendering. + /// + public static class Code128Rendering + { + private const int CQuietWidth = 10; + + // Code patterns: + // in principle these rows should each have 6 elements + // however, the last one -- STOP -- has 7. The cost of the + // extra integers is trivial, and this lets the code flow + // much more elegantly + private static readonly int[,] CPatterns = + { + { 2, 1, 2, 2, 2, 2, 0, 0 }, // 0 + { 2, 2, 2, 1, 2, 2, 0, 0 }, // 1 + { 2, 2, 2, 2, 2, 1, 0, 0 }, // 2 + { 1, 2, 1, 2, 2, 3, 0, 0 }, // 3 + { 1, 2, 1, 3, 2, 2, 0, 0 }, // 4 + { 1, 3, 1, 2, 2, 2, 0, 0 }, // 5 + { 1, 2, 2, 2, 1, 3, 0, 0 }, // 6 + { 1, 2, 2, 3, 1, 2, 0, 0 }, // 7 + { 1, 3, 2, 2, 1, 2, 0, 0 }, // 8 + { 2, 2, 1, 2, 1, 3, 0, 0 }, // 9 + { 2, 2, 1, 3, 1, 2, 0, 0 }, // 10 + { 2, 3, 1, 2, 1, 2, 0, 0 }, // 11 + { 1, 1, 2, 2, 3, 2, 0, 0 }, // 12 + { 1, 2, 2, 1, 3, 2, 0, 0 }, // 13 + { 1, 2, 2, 2, 3, 1, 0, 0 }, // 14 + { 1, 1, 3, 2, 2, 2, 0, 0 }, // 15 + { 1, 2, 3, 1, 2, 2, 0, 0 }, // 16 + { 1, 2, 3, 2, 2, 1, 0, 0 }, // 17 + { 2, 2, 3, 2, 1, 1, 0, 0 }, // 18 + { 2, 2, 1, 1, 3, 2, 0, 0 }, // 19 + { 2, 2, 1, 2, 3, 1, 0, 0 }, // 20 + { 2, 1, 3, 2, 1, 2, 0, 0 }, // 21 + { 2, 2, 3, 1, 1, 2, 0, 0 }, // 22 + { 3, 1, 2, 1, 3, 1, 0, 0 }, // 23 + { 3, 1, 1, 2, 2, 2, 0, 0 }, // 24 + { 3, 2, 1, 1, 2, 2, 0, 0 }, // 25 + { 3, 2, 1, 2, 2, 1, 0, 0 }, // 26 + { 3, 1, 2, 2, 1, 2, 0, 0 }, // 27 + { 3, 2, 2, 1, 1, 2, 0, 0 }, // 28 + { 3, 2, 2, 2, 1, 1, 0, 0 }, // 29 + { 2, 1, 2, 1, 2, 3, 0, 0 }, // 30 + { 2, 1, 2, 3, 2, 1, 0, 0 }, // 31 + { 2, 3, 2, 1, 2, 1, 0, 0 }, // 32 + { 1, 1, 1, 3, 2, 3, 0, 0 }, // 33 + { 1, 3, 1, 1, 2, 3, 0, 0 }, // 34 + { 1, 3, 1, 3, 2, 1, 0, 0 }, // 35 + { 1, 1, 2, 3, 1, 3, 0, 0 }, // 36 + { 1, 3, 2, 1, 1, 3, 0, 0 }, // 37 + { 1, 3, 2, 3, 1, 1, 0, 0 }, // 38 + { 2, 1, 1, 3, 1, 3, 0, 0 }, // 39 + { 2, 3, 1, 1, 1, 3, 0, 0 }, // 40 + { 2, 3, 1, 3, 1, 1, 0, 0 }, // 41 + { 1, 1, 2, 1, 3, 3, 0, 0 }, // 42 + { 1, 1, 2, 3, 3, 1, 0, 0 }, // 43 + { 1, 3, 2, 1, 3, 1, 0, 0 }, // 44 + { 1, 1, 3, 1, 2, 3, 0, 0 }, // 45 + { 1, 1, 3, 3, 2, 1, 0, 0 }, // 46 + { 1, 3, 3, 1, 2, 1, 0, 0 }, // 47 + { 3, 1, 3, 1, 2, 1, 0, 0 }, // 48 + { 2, 1, 1, 3, 3, 1, 0, 0 }, // 49 + { 2, 3, 1, 1, 3, 1, 0, 0 }, // 50 + { 2, 1, 3, 1, 1, 3, 0, 0 }, // 51 + { 2, 1, 3, 3, 1, 1, 0, 0 }, // 52 + { 2, 1, 3, 1, 3, 1, 0, 0 }, // 53 + { 3, 1, 1, 1, 2, 3, 0, 0 }, // 54 + { 3, 1, 1, 3, 2, 1, 0, 0 }, // 55 + { 3, 3, 1, 1, 2, 1, 0, 0 }, // 56 + { 3, 1, 2, 1, 1, 3, 0, 0 }, // 57 + { 3, 1, 2, 3, 1, 1, 0, 0 }, // 58 + { 3, 3, 2, 1, 1, 1, 0, 0 }, // 59 + { 3, 1, 4, 1, 1, 1, 0, 0 }, // 60 + { 2, 2, 1, 4, 1, 1, 0, 0 }, // 61 + { 4, 3, 1, 1, 1, 1, 0, 0 }, // 62 + { 1, 1, 1, 2, 2, 4, 0, 0 }, // 63 + { 1, 1, 1, 4, 2, 2, 0, 0 }, // 64 + { 1, 2, 1, 1, 2, 4, 0, 0 }, // 65 + { 1, 2, 1, 4, 2, 1, 0, 0 }, // 66 + { 1, 4, 1, 1, 2, 2, 0, 0 }, // 67 + { 1, 4, 1, 2, 2, 1, 0, 0 }, // 68 + { 1, 1, 2, 2, 1, 4, 0, 0 }, // 69 + { 1, 1, 2, 4, 1, 2, 0, 0 }, // 70 + { 1, 2, 2, 1, 1, 4, 0, 0 }, // 71 + { 1, 2, 2, 4, 1, 1, 0, 0 }, // 72 + { 1, 4, 2, 1, 1, 2, 0, 0 }, // 73 + { 1, 4, 2, 2, 1, 1, 0, 0 }, // 74 + { 2, 4, 1, 2, 1, 1, 0, 0 }, // 75 + { 2, 2, 1, 1, 1, 4, 0, 0 }, // 76 + { 4, 1, 3, 1, 1, 1, 0, 0 }, // 77 + { 2, 4, 1, 1, 1, 2, 0, 0 }, // 78 + { 1, 3, 4, 1, 1, 1, 0, 0 }, // 79 + { 1, 1, 1, 2, 4, 2, 0, 0 }, // 80 + { 1, 2, 1, 1, 4, 2, 0, 0 }, // 81 + { 1, 2, 1, 2, 4, 1, 0, 0 }, // 82 + { 1, 1, 4, 2, 1, 2, 0, 0 }, // 83 + { 1, 2, 4, 1, 1, 2, 0, 0 }, // 84 + { 1, 2, 4, 2, 1, 1, 0, 0 }, // 85 + { 4, 1, 1, 2, 1, 2, 0, 0 }, // 86 + { 4, 2, 1, 1, 1, 2, 0, 0 }, // 87 + { 4, 2, 1, 2, 1, 1, 0, 0 }, // 88 + { 2, 1, 2, 1, 4, 1, 0, 0 }, // 89 + { 2, 1, 4, 1, 2, 1, 0, 0 }, // 90 + { 4, 1, 2, 1, 2, 1, 0, 0 }, // 91 + { 1, 1, 1, 1, 4, 3, 0, 0 }, // 92 + { 1, 1, 1, 3, 4, 1, 0, 0 }, // 93 + { 1, 3, 1, 1, 4, 1, 0, 0 }, // 94 + { 1, 1, 4, 1, 1, 3, 0, 0 }, // 95 + { 1, 1, 4, 3, 1, 1, 0, 0 }, // 96 + { 4, 1, 1, 1, 1, 3, 0, 0 }, // 97 + { 4, 1, 1, 3, 1, 1, 0, 0 }, // 98 + { 1, 1, 3, 1, 4, 1, 0, 0 }, // 99 + { 1, 1, 4, 1, 3, 1, 0, 0 }, // 100 + { 3, 1, 1, 1, 4, 1, 0, 0 }, // 101 + { 4, 1, 1, 1, 3, 1, 0, 0 }, // 102 + { 2, 1, 1, 4, 1, 2, 0, 0 }, // 103 + { 2, 1, 1, 2, 1, 4, 0, 0 }, // 104 + { 2, 1, 1, 2, 3, 2, 0, 0 }, // 105 + { 2, 3, 3, 1, 1, 1, 2, 0 } // 106 + }; + + /// + /// Make an image of a Code128 barcode for a given string + /// + /// Message to be encoded + /// Base thickness for bar width (1 or 2 works well) + /// Add required horizontal margins (use if output is tight) + /// An Image of the Code128 barcode representing the message + public static Image MakeBarcodeImage(string inputData, int barWeight, bool addQuietZone) + { + // get the Code128 codes to represent the message + var content = new Code128Content(inputData); + var codes = content.Codes; + + var width = (((codes.Length - 3) * 11) + 35) * barWeight; + var height = Convert.ToInt32(Math.Ceiling(Convert.ToSingle(width) * .15F)); + + if (addQuietZone) + { + width += 2 * CQuietWidth * barWeight; // on both sides + } + + // get surface to draw on + Image myImage = new Bitmap(width, height); + using (var gr = Graphics.FromImage(myImage)) + { + // set to white so we don't have to fill the spaces with white + gr.FillRectangle(Brushes.White, 0, 0, width, height); + + // skip quiet zone + var cursor = addQuietZone ? CQuietWidth * barWeight : 0; + + for (var codeIdx = 0; codeIdx < codes.Length; codeIdx++) + { + var code = codes[codeIdx]; + + // take the bars two at a time: a black and a white + for (var bar = 0; bar < 8; bar += 2) + { + var barWidth = CPatterns[code, bar] * barWeight; + var spcWidth = CPatterns[code, bar + 1] * barWeight; + + // if width is zero, don't try to draw it + if (barWidth > 0) + { + gr.FillRectangle(Brushes.Black, cursor, 0, barWidth, height); + } + + // note that we never need to draw the space, since we + // initialized the graphics to all white + + // advance cursor beyond this pair + cursor += barWidth + spcWidth; + } + } + } + + return myImage; + } + } +} diff --git a/GenCode128/CodeSet.cs b/GenCode128/CodeSet.cs new file mode 100644 index 000000000..b59bfd2cf --- /dev/null +++ b/GenCode128/CodeSet.cs @@ -0,0 +1,9 @@ +namespace GenCode128 +{ + public enum CodeSet + { + CodeA, + CodeB + //// CodeC // not supported + } +} diff --git a/GenCode128/GenCode128.csproj b/GenCode128/GenCode128.csproj new file mode 100644 index 000000000..9d7c60b71 --- /dev/null +++ b/GenCode128/GenCode128.csproj @@ -0,0 +1,147 @@ + + + + Local + 8.0.50727 + 2.0 + {32817BF9-E380-4467-9C7F-936F4B122BC7} + + + + + + + + + Debug + AnyCPU + + + + + GenCode128 + + + JScript + Grid + IE50 + false + Library + GenCode128 + OnBuildSuccess + + + + + + + v4.0 + 2.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + bin\Debug\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + bin\Release\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + + + + System + + + System.Data + + + System.Drawing + + + System.Windows.Forms + + + System.XML + + + + + + + Code + + + Code + + + Code + + + + + False + .NET Framework 3.5 SP1 + true + + + + + + + + + + \ No newline at end of file diff --git a/TBF.sln b/TBF.sln index 163dae675..ce2b39fce 100644 --- a/TBF.sln +++ b/TBF.sln @@ -53,6 +53,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Encrypt", "Encrypt\Encrypt. EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestClient", "RestClient\RestClient.csproj", "{46E3B0E1-209F-4550-B0DD-D7E2C039B3CE}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ToFirstMonitor", "ToFirstMonitor\ToFirstMonitor.csproj", "{13515B7B-43E6-44BC-87B8-2E345A98B741}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ToSecondMonitor", "ToSecondMonitor\ToSecondMonitor.csproj", "{6F18660F-0EFB-4253-B92C-205E18D34442}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenCode128", "GenCode128\GenCode128.csproj", "{32817BF9-E380-4467-9C7F-936F4B122BC7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -217,6 +223,26 @@ Global {46E3B0E1-209F-4550-B0DD-D7E2C039B3CE}.Release|Mixed Platforms.Build.0 = Release|Any CPU {46E3B0E1-209F-4550-B0DD-D7E2C039B3CE}.Release|x86.ActiveCfg = Release|Any CPU {46E3B0E1-209F-4550-B0DD-D7E2C039B3CE}.Release|x86.Build.0 = Release|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Debug|Any CPU.Build.0 = Debug|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Debug|x86.ActiveCfg = Debug|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Release|Any CPU.ActiveCfg = Release|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Release|Any CPU.Build.0 = Release|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {13515B7B-43E6-44BC-87B8-2E345A98B741}.Release|x86.ActiveCfg = Release|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Debug|x86.ActiveCfg = Debug|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Release|Any CPU.Build.0 = Release|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {6F18660F-0EFB-4253-B92C-205E18D34442}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TBFSetup/TBFSetup.vdproj b/TBFSetup/TBFSetup.vdproj deleted file mode 100644 index 09e53d862..000000000 --- a/TBFSetup/TBFSetup.vdproj +++ /dev/null @@ -1,1444 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:TBFSetup" -"LanguageId" = "3:1031" -"CodePage" = "3:1252" -"UILanguageId" = "3:1031" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_043C6A80BCC670942A72501E2EE84703" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_23F1CC0D8B6AF8F91B2A7070C5B7AE31" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_23F1CC0D8B6AF8F91B2A7070C5B7AE31" - "OwnerKey" = "8:_043C6A80BCC670942A72501E2EE84703" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_23F1CC0D8B6AF8F91B2A7070C5B7AE31" - "OwnerKey" = "8:_FF6BF68B28099618A0126A3EB1DAED35" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_283A6E24D61E03A025CAA05070E40C02" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_328013E6099F40CE0D297D6D8E721AA1" - "OwnerKey" = "8:_B08A4A98A96A64B48235C5B8F14DC0DA" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_328013E6099F40CE0D297D6D8E721AA1" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_328013E6099F40CE0D297D6D8E721AA1" - "OwnerKey" = "8:_425D09E1DEE0BE9FDA22562C97B6583D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_425D09E1DEE0BE9FDA22562C97B6583D" - "OwnerKey" = "8:_B08A4A98A96A64B48235C5B8F14DC0DA" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_425D09E1DEE0BE9FDA22562C97B6583D" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4BA45D5F5FF94462B5A1570EE26FAC2D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7B5851865AFE4C17A02FBD07C31F4D14" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_890B3B7A50ACB2A808B8E0F55F28E03A" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_898989B0B45C4163A991395483ACF598" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A1B42674559342099A330E0C5AC4D92C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AE60F46605F78EEB772FD76B1DFE8A9B" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AE60F46605F78EEB772FD76B1DFE8A9B" - "OwnerKey" = "8:_890B3B7A50ACB2A808B8E0F55F28E03A" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B08A4A98A96A64B48235C5B8F14DC0DA" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D0DA6A8DDCCE4EAEA7B5CC962D3A080A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EFA7D555FCA3168E5305C2ACB9D46055" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FF6BF68B28099618A0126A3EB1DAED35" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FF6BF68B28099618A0126A3EB1DAED35" - "OwnerKey" = "8:_043C6A80BCC670942A72501E2EE84703" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_23F1CC0D8B6AF8F91B2A7070C5B7AE31" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_890B3B7A50ACB2A808B8E0F55F28E03A" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_AE60F46605F78EEB772FD76B1DFE8A9B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_283A6E24D61E03A025CAA05070E40C02" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_EFA7D555FCA3168E5305C2ACB9D46055" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_B08A4A98A96A64B48235C5B8F14DC0DA" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_425D09E1DEE0BE9FDA22562C97B6583D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_328013E6099F40CE0D297D6D8E721AA1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_043C6A80BCC670942A72501E2EE84703" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_FF6BF68B28099618A0126A3EB1DAED35" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\Setup1.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.0,Profile=Client" - { - "Name" = "8:Microsoft .NET Framework 4 Client Profile (x86 and x64)" - "ProductCode" = "8:.NETFramework,Version=v4.0,Profile=Client" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows Installer 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\TestBenchFramework.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.0" - { - "Name" = "8:Microsoft .NET Framework 4 (x86 and x64)" - "ProductCode" = "8:.NETFramework,Version=v4.0" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows Installer 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_7D48DA36B42B4C5B806ABE60A1581562" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "FrameworkVersion" = "8:.NETFramework,Version=v4.0,Profile=Client" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=131000" - } - } - } - "File" - { - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_043C6A80BCC670942A72501E2EE84703" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:ControlComponent3U, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_043C6A80BCC670942A72501E2EE84703" - { - "Name" = "8:ControlComponent3U.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:ControlComponent3U.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_23F1CC0D8B6AF8F91B2A7070C5B7AE31" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_23F1CC0D8B6AF8F91B2A7070C5B7AE31" - { - "Name" = "8:Microsoft.VisualBasic.PowerPacks.Vs.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Microsoft.VisualBasic.PowerPacks.Vs.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_283A6E24D61E03A025CAA05070E40C02" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_283A6E24D61E03A025CAA05070E40C02" - { - "Name" = "8:MySql.Data.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:MySql.Data.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_328013E6099F40CE0D297D6D8E721AA1" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_328013E6099F40CE0D297D6D8E721AA1" - { - "Name" = "8:Iesi.Collections.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Iesi.Collections.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_425D09E1DEE0BE9FDA22562C97B6583D" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_425D09E1DEE0BE9FDA22562C97B6583D" - { - "Name" = "8:NHibernate.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:NHibernate.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4BA45D5F5FF94462B5A1570EE26FAC2D" - { - "SourcePath" = "8:..\\TestBenchFramework\\SampleConfig\\log4netConfig.xml" - "TargetName" = "8:log4netConfig.xml" - "Tag" = "8:" - "Folder" = "8:_19315A9D87AF4099AD89D23EFEADFF58" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7B5851865AFE4C17A02FBD07C31F4D14" - { - "SourcePath" = "8:..\\TestBenchFramework\\x64\\SQLite.Interop.dll" - "TargetName" = "8:SQLite.Interop.dll" - "Tag" = "8:" - "Folder" = "8:_9035ED222B1641F2B645BE5910EB7CC6" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_890B3B7A50ACB2A808B8E0F55F28E03A" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:System.Data.SQLite.Linq, Version=1.0.90.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_890B3B7A50ACB2A808B8E0F55F28E03A" - { - "Name" = "8:System.Data.SQLite.Linq.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:System.Data.SQLite.Linq.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_898989B0B45C4163A991395483ACF598" - { - "SourcePath" = "8:..\\TestBenchFramework\\x86\\SQLite.Interop.dll" - "TargetName" = "8:SQLite.Interop.dll" - "Tag" = "8:" - "Folder" = "8:_C60FBB52E7A44F19BE31A90A0D376DE5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A1B42674559342099A330E0C5AC4D92C" - { - "SourcePath" = "8:..\\TestBenchFramework\\SampleConfig\\config.xml" - "TargetName" = "8:config.xml" - "Tag" = "8:" - "Folder" = "8:_19315A9D87AF4099AD89D23EFEADFF58" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_AE60F46605F78EEB772FD76B1DFE8A9B" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:System.Data.SQLite, Version=1.0.90.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_AE60F46605F78EEB772FD76B1DFE8A9B" - { - "Name" = "8:System.Data.SQLite.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:System.Data.SQLite.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B08A4A98A96A64B48235C5B8F14DC0DA" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:FluentNHibernate, Version=1.3.0.733, Culture=neutral, PublicKeyToken=8aa435e3cb308880, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_B08A4A98A96A64B48235C5B8F14DC0DA" - { - "Name" = "8:FluentNHibernate.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:FluentNHibernate.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D0DA6A8DDCCE4EAEA7B5CC962D3A080A" - { - "SourcePath" = "8:..\\TestBenchFramework\\SampleConfig\\SQLite.db" - "TargetName" = "8:SQLite.db" - "Tag" = "8:" - "Folder" = "8:_19315A9D87AF4099AD89D23EFEADFF58" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EFA7D555FCA3168E5305C2ACB9D46055" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_EFA7D555FCA3168E5305C2ACB9D46055" - { - "Name" = "8:log4net.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:log4net.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FF6BF68B28099618A0126A3EB1DAED35" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:GaugeIndicator, Version=1.0.0.1, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_FF6BF68B28099618A0126A3EB1DAED35" - { - "Name" = "8:GaugeIndicator.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:GaugeIndicator.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_15E376F61DCB49478B2D1D4AA3BF1643" - { - "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_19315A9D87AF4099AD89D23EFEADFF58" - { - "Name" = "8:SampleConfig" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_ABCF08C606F341FCA505AC9ABFD5F89F" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_9035ED222B1641F2B645BE5910EB7CC6" - { - "Name" = "8:x64" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_15F2276452F94B6981E263B8B7F6F2EA" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_C60FBB52E7A44F19BE31A90A0D376DE5" - { - "Name" = "8:x86" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_F2A8FFF674364AEFB94E4E0E0F37A4B3" - "Folders" - { - } - } - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_239AA733EB2143EB8CA44BF70E87B8C0" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_DEC3421EED6148A6B6857DFB5D000597" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1031" - "RequiresElevation" = "11:FALSE" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:TestBenchFramework" - "ProductCode" = "8:{9041D2C0-3100-4816-8DEE-E6DE9C271E71}" - "PackageCode" = "8:{593ACBEE-4B83-4ED6-BD71-9E36061B3667}" - "UpgradeCode" = "8:{B4C65EC8-E0B8-4D5F-863C-6AC07A114A88}" - "AspNetVersion" = "8:4.0.30319.0" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:FALSE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.0" - "Manufacturer" = "8:Sensus" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:TestBenchFramework" - "Subject" = "8:" - "ARPCONTACT" = "8:Sensus" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_E36C944AD28D443F857C28D0879C93E0" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_FEB9BE0D71EF42AB81A090C53EF4D43F" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_CDD304D340C64940981928ED484C7BE2" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_2EE1D21B99974636B82D3C33A3316C72" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_0B7A7707CF9248659A38D74F6E905B89" - { - "Name" = "8:Shortcut to Primary output from TBF (Active)" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "WorkingFolder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Icon" = "8:" - "Feature" = "8:" - } - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_794AB96145AD4405ACE0EC46F244A8A4" - { - "Name" = "8:Test Bench Framework" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "Folder" = "8:_DEC3421EED6148A6B6857DFB5D000597" - "WorkingFolder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Icon" = "8:" - "Feature" = "8:" - } - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_FDABF3BA4E9D4EE0973839A92C645C73" - { - "Name" = "8:Test Bench Framework" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_DEB8C3F405014A3C9E16DB622E3ADAA3" - "Folder" = "8:_239AA733EB2143EB8CA44BF70E87B8C0" - "WorkingFolder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Icon" = "8:" - "Feature" = "8:" - } - } - "UserInterface" - { - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_08DF1CCB2D50467381CED0EB2C683743" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_0A0CA6ED1B92415CB35182B7B865A8FE" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3612B3D2670A40CB8A445041A253B385" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_55783492191E4774830A5BCCB9F64FA0" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_36F602B5E9054C99A8F72BE2713B04BE" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_650D8AA300504F2DA676F39A65DDF579" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_2C7C9252312B49839118F14D43D58109" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_616009F70B794A0BA46604F7C20D5312" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_D2FB2C83836E4602A3A862A3FDB749C0" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_7C99DD96B1C7487A9F743990A1114028" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_824B7E4BF24C466A87B87D17CC65D4AF" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_2E3FC737908C4857A264A8B98116ABF7" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_8EB7CDC7B3204CE0866764F72CC9C5D8" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_BA30D47E757A4352B4154E136B4EDE8D" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_927C7B611C2A4DE8AA0EC0FC59929E3D" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_A47297BB3F1A47DD82E98165D5C8DD33" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_C4860F31B6C14EF391F084926C8353DF" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "InstallAllUsersVisible" - { - "Name" = "8:InstallAllUsersVisible" - "DisplayName" = "8:#1059" - "Description" = "8:#1159" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FCB3435041744C7BA621B72B78F2DCA5" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_DEB8C3F405014A3C9E16DB622E3ADAA3" - { - "SourcePath" = "8:..\\TestBenchFramework\\obj\\Release\\TBF.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_FF4706C2A732448C8C10AA09954EF022" - { - "SourcePath" = "8:" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_15E376F61DCB49478B2D1D4AA3BF1643" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:LocalizedResourceDlls" - "OutputProjectGuid" = "8:{8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - } -} diff --git a/ToFirstMonitor/App.config b/ToFirstMonitor/App.config new file mode 100644 index 000000000..29b8b8ec1 --- /dev/null +++ b/ToFirstMonitor/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/ToFirstMonitor/Program.cs b/ToFirstMonitor/Program.cs new file mode 100644 index 000000000..84bde6015 --- /dev/null +++ b/ToFirstMonitor/Program.cs @@ -0,0 +1,82 @@ +using System; +using System.IO; +using TBF; + +namespace ToFirstMonitor +{ + class Program + { + static LocalSettings ls; + + static void Main(string[] args) + { + if (!Directory.Exists(TBF.Program.ConfigDir)) return; + + Environment.CurrentDirectory = TBF.Program.ConfigDir; + ls = LocalSettings.Load(TBF.Program.LocalSettingsFileName); + if (ls == null || ls.TestBenches == null) + { + /// Loading local seetings from regular config file failed. Use the backup + ls = LocalSettings.Load(TBF.Program.LocalSettingsBackupName); + if (ls == null || ls.TestBenches == null) + { + /// Neither config.xml, nor config.backup.xml could be loaded + Console.WriteLine(string.Format("Could not load file {0}, nor {1}.", TBF.Program.LocalSettingsFileName, TBF.Program.LocalSettingsBackupName)); + Console.ReadLine(); + return; + } + } + else + { + /// Loading local seetings from the regular config file was successful. Update the backup + File.Copy(TBF.Program.LocalSettingsFileName, TBF.Program.LocalSettingsBackupName, true); + } + + /// + /// Process local settings so that windows are shifted to the 1st monitor + /// + LeftToFirstMonitor(ref ls.MainWndLeft); + LeftToFirstMonitor(ref ls.ComponentsDlgLeft); + LeftToFirstMonitor(ref ls.PopupResultsLeft); + LeftToFirstMonitor(ref ls.PathsDlgLeft); + LeftToFirstMonitor(ref ls.TransitionsDlgLeft); + LeftToFirstMonitor(ref ls.MetrologyDlgLeft); + LeftToFirstMonitor(ref ls.ConditionsDlgLeft); + LeftToFirstMonitor(ref ls.UncertaintyDlgLeft); + LeftToFirstMonitor(ref ls.ProceduresDlgLeft); + LeftToFirstMonitor(ref ls.OneProcedureDlgLeft); + LeftToFirstMonitor(ref ls.EnduranceDlgLeft); + ls.Save(); + + Console.WriteLine("All windows were shifted to the first monitor"); + Console.ReadLine(); + return; + } + + static void LeftToFirstMonitor(ref int left) + { + while (left >= 1920) + { + left -= 1920; + } + + if (left < 0) + { + left = 0; + } + } + + static void LeftToSecondMonitor(ref int left) + { + while (left < 1920) + { + left += 1920; + } + + if (left >= 3840) + { + left = 1920; + } + } + } +} diff --git a/ToFirstMonitor/Properties/AssemblyInfo.cs b/ToFirstMonitor/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..f226a48a9 --- /dev/null +++ b/ToFirstMonitor/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("ToFirstMonitor")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ToFirstMonitor")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[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("df7a2c29-8a33-448e-be51-d58355674f64")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ToFirstMonitor/ToFirstMonitor.csproj b/ToFirstMonitor/ToFirstMonitor.csproj new file mode 100644 index 000000000..54bf653b5 --- /dev/null +++ b/ToFirstMonitor/ToFirstMonitor.csproj @@ -0,0 +1,76 @@ + + + + + Debug + AnyCPU + {13515B7B-43E6-44BC-87B8-2E345A98B741} + Exe + Properties + ToFirstMonitor + ToFirstMonitor + v4.7.2 + 512 + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + ToFirstMonitor.Program + + + + + + + + + + + + + + + + + + + + {743df7db-c7b6-42eb-986d-0f485e5588e4} + Config + + + {8648fd92-cda1-4c3a-b5f9-fe547ce1fa48} + TBF + + + {6e5cb0e9-e1b6-4e5d-ac6e-b1049e180f2b} + Users + + + + + \ No newline at end of file diff --git a/ToSecondMonitor/App.config b/ToSecondMonitor/App.config new file mode 100644 index 000000000..29b8b8ec1 --- /dev/null +++ b/ToSecondMonitor/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/ToSecondMonitor/Program.cs b/ToSecondMonitor/Program.cs new file mode 100644 index 000000000..4c0b995b3 --- /dev/null +++ b/ToSecondMonitor/Program.cs @@ -0,0 +1,82 @@ +using System; +using System.IO; +using TBF; + +namespace ToSecondMonitor +{ + class Program + { + static LocalSettings ls; + + static void Main(string[] args) + { + if (!Directory.Exists(TBF.Program.ConfigDir)) return; + + Environment.CurrentDirectory = TBF.Program.ConfigDir; + ls = LocalSettings.Load(TBF.Program.LocalSettingsFileName); + if (ls == null || ls.TestBenches == null) + { + /// Loading local seetings from regular config file failed. Use the backup + ls = LocalSettings.Load(TBF.Program.LocalSettingsBackupName); + if (ls == null || ls.TestBenches == null) + { + /// Neither config.xml, nor config.backup.xml could be loaded + Console.WriteLine(string.Format("Could not load file {0}, nor {1}.", TBF.Program.LocalSettingsFileName, TBF.Program.LocalSettingsBackupName)); + Console.ReadLine(); + return; + } + } + else + { + /// Loading local seetings from the regular config file was successful. Update the backup + File.Copy(TBF.Program.LocalSettingsFileName, TBF.Program.LocalSettingsBackupName, true); + } + + /// + /// Process local settings so that windows are shifted to the 1st monitor + /// + LeftToSecondMonitor(ref ls.MainWndLeft); + LeftToSecondMonitor(ref ls.ComponentsDlgLeft); + LeftToSecondMonitor(ref ls.PopupResultsLeft); + LeftToSecondMonitor(ref ls.PathsDlgLeft); + LeftToSecondMonitor(ref ls.TransitionsDlgLeft); + LeftToSecondMonitor(ref ls.MetrologyDlgLeft); + LeftToSecondMonitor(ref ls.ConditionsDlgLeft); + LeftToSecondMonitor(ref ls.UncertaintyDlgLeft); + LeftToSecondMonitor(ref ls.ProceduresDlgLeft); + LeftToSecondMonitor(ref ls.OneProcedureDlgLeft); + LeftToSecondMonitor(ref ls.EnduranceDlgLeft); + ls.Save(); + + Console.WriteLine("All windows were shifted to the second monitor"); + Console.ReadLine(); + return; + } + + static void LeftToFirstMonitor(ref int left) + { + while (left >= 1920) + { + left -= 1920; + } + + if (left < 0) + { + left = 0; + } + } + + static void LeftToSecondMonitor(ref int left) + { + while (left < 1920) + { + left += 1920; + } + + if (left >= 3840) + { + left = 1920; + } + } + } +} diff --git a/ToSecondMonitor/Properties/AssemblyInfo.cs b/ToSecondMonitor/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..0935b35b1 --- /dev/null +++ b/ToSecondMonitor/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("ToSecondMonitor")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ToSecondMonitor")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[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("72eaee31-c6f6-4b57-92ff-8f664d867bf5")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ToSecondMonitor/ToSecondMonitor.csproj b/ToSecondMonitor/ToSecondMonitor.csproj new file mode 100644 index 000000000..54b09c2b7 --- /dev/null +++ b/ToSecondMonitor/ToSecondMonitor.csproj @@ -0,0 +1,73 @@ + + + + + Debug + AnyCPU + {6F18660F-0EFB-4253-B92C-205E18D34442} + Exe + Properties + ToSecondMonitor + ToSecondMonitor + v4.7.2 + 512 + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + {743df7db-c7b6-42eb-986d-0f485e5588e4} + Config + + + {8648fd92-cda1-4c3a-b5f9-fe547ce1fa48} + TBF + + + {6e5cb0e9-e1b6-4e5d-ac6e-b1049e180f2b} + Users + + + + + \ No newline at end of file diff --git a/clean.bat b/clean.bat index aede89b92..ce0c47d55 100644 --- a/clean.bat +++ b/clean.bat @@ -10,6 +10,8 @@ rmdir /s /q Encrypt\bin rmdir /s /q Encrypt\obj rmdir /s /q GemCard\bin rmdir /s /q GemCard\obj +rmdir /s /q GenCode128\bin +rmdir /s /q GenCode128\obj rmdir /s /q GraphLib\bin rmdir /s /q GraphLib\obj rmdir /s /q TracingDB\bin @@ -24,8 +26,10 @@ rmdir /s /q Statistics\bin rmdir /s /q Statistics\obj rmdir /s /q TBF\bin rmdir /s /q TBF\obj -rmdir /s /q TBFSetup\Debug -rmdir /s /q TBFSetup\Release +rmdir /s /q ToFirstMonitor\bin +rmdir /s /q ToFirstMonitor\obj +rmdir /s /q ToSecondMonitor\bin +rmdir /s /q ToSecondMonitor\obj rmdir /s /q Users\bin rmdir /s /q Users\obj rmdir /s /q UserManagement\bin