diff --git a/.vs/ShowTextFile.git/v16/.suo b/.vs/ShowTextFile.git/v16/.suo index 8baa5a4..e178e2c 100644 Binary files a/.vs/ShowTextFile.git/v16/.suo and b/.vs/ShowTextFile.git/v16/.suo differ diff --git a/.vs/ShowTextFile.git/v17/.suo b/.vs/ShowTextFile.git/v17/.suo new file mode 100644 index 0000000..73916f5 Binary files /dev/null and b/.vs/ShowTextFile.git/v17/.suo differ diff --git a/ShowTextFile/ShowTextFile.cs b/ShowTextFile/ShowTextFile.cs index 3fe29bc..571d365 100644 --- a/ShowTextFile/ShowTextFile.cs +++ b/ShowTextFile/ShowTextFile.cs @@ -1,181 +1,181 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace Eugen.ESystem.IO -{ - public class ShowTextFile - { - #region Version und Copyright - // Version und Copyright - static string dllName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen - static string dllVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); - static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); - static string copyright = GenerateCopyright(); - - //Assembly Datum und Zeit - static DateTime value = AssemblyDateTime(); - static string date = value.ToShortDateString(); - static string time = value.ToLongTimeString(); - - private static DateTime AssemblyDateTime() - { - var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; - var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision)); - //Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original) - return buildDateTime; - } - - private static string CurrentYear() - { - DateTime dtn = DateTime.Now; - return dtn.Year.ToString(); - } - - private static string StartYear() - { - string startYear = ""; - if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © ")) - { - startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", ""); - while (startYear.StartsWith(" ")) - { - startYear = startYear.Remove(0, 1); - } - - if (startYear.Contains("-")) - { - startYear = startYear.Remove(startYear.IndexOf("-")); - } - else - { - startYear = startYear.Remove(startYear.IndexOf(" ")); - } - return startYear; - } - else - { - DateTime dtn = DateTime.Now; - return dtn.Year.ToString(); - } - } - - private static string GenerateCopyright() - { - string startYear = StartYear(); - string currentYear = CurrentYear(); - - if (startYear == currentYear) - { - return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; - } - else - { - string temp = ((AssemblyCopyrightAttribute)attributes[0]).Copyright; - string start = temp.Remove(temp.IndexOf(startYear) - 1); - string end = (temp.Remove(0, temp.IndexOf(" by"))); - - return String.Concat(start, " ", startYear, "-", currentYear, end); - } - } - #endregion - - #region DLL-Info - /// - /// Contains the name of the dll file. - /// - public static string DllName { private set; get; } - - /// - /// Contains the version of the dll file. - /// - public static string DllVersion { private set; get; } - - /// - /// Contains the copyright notice. - /// - public static string Copyright { private set; get; } - - /// - /// Contains the name-, version- and copyright-information of the dll file. - /// - public static string[] DllInfo { private set; get; } - - private static void SetDllInfo() - { - //Name, Version und Copyright setzen - DllName = dllName; - DllVersion = dllVersion; - Copyright = copyright; - - string[] dllInfo = new string[3]; - dllInfo[0] = dllName; - dllInfo[1] = dllVersion; - dllInfo[2] = copyright; - DllInfo = dllInfo; - } - - protected string ProgramName { private set; get; } - protected string ProgramVersion { private set; get; } - protected string ProgramCopyright { private set; get; } - #endregion - - /// - /// Shows a text file in the standard editor, or when not available, then in notepad - /// - static ShowTextFile() - { - SetDllInfo(); - } - - /// - /// Shows the text file - /// - /// A valid log file name with path and extension. - /// Returns 'true' if the file could be displayed or 'false' if an error occurred. - public static bool Show(string logFileName) - { - if (File.Exists(logFileName)) - { - try - { - //Aufruf mit dem Standardprogramm - var process = new Process(); - process.StartInfo = new ProcessStartInfo() - { - UseShellExecute = true, - FileName = logFileName - }; - - process.Start(); - process.WaitForExit(); - return true; - } - catch (Exception) - { - try - { - const string program = "Notepad.exe"; //Aufruf mit Notepad - - ProcessStartInfo start = new ProcessStartInfo(program, logFileName); - Process.Start(start); - return true; - } - catch (Exception) - { - return false; - } - } - } - else - { - return false; - } - } - } -} +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace Eugen.ESystem.IO +{ + public class ShowTextFile + { + #region Version und Copyright + // Version und Copyright + static string dllName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen + static string dllVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + static string copyright = GenerateCopyright(); + + //Assembly Datum und Zeit + static DateTime value = AssemblyDateTime(); + static string date = value.ToShortDateString(); + static string time = value.ToLongTimeString(); + + private static DateTime AssemblyDateTime() + { + var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; + var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision)); + //Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original) + return buildDateTime; + } + + private static string CurrentYear() + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + + private static string StartYear() + { + string startYear = ""; + if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © ")) + { + startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", ""); + while (startYear.StartsWith(" ")) + { + startYear = startYear.Remove(0, 1); + } + + if (startYear.Contains("-")) + { + startYear = startYear.Remove(startYear.IndexOf("-")); + } + else + { + startYear = startYear.Remove(startYear.IndexOf(" ")); + } + return startYear; + } + else + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + } + + private static string GenerateCopyright() + { + string startYear = StartYear(); + string currentYear = CurrentYear(); + + if (startYear == currentYear) + { + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + else + { + string temp = ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + string start = temp.Remove(temp.IndexOf(startYear) - 1); + string end = (temp.Remove(0, temp.IndexOf(" by"))); + + return String.Concat(start, " ", startYear, "-", currentYear, end); + } + } + #endregion + + #region DLL-Info + /// + /// Contains the name of the dll file. + /// + public static string DllName { private set; get; } + + /// + /// Contains the version of the dll file. + /// + public static string DllVersion { private set; get; } + + /// + /// Contains the copyright notice. + /// + public static string Copyright { private set; get; } + + /// + /// Contains the name-, version- and copyright-information of the dll file. + /// + public static string[] DllInfo { private set; get; } + + private static void SetDllInfo() + { + //Name, Version und Copyright setzen + DllName = dllName; + DllVersion = dllVersion; + Copyright = copyright; + + string[] dllInfo = new string[3]; + dllInfo[0] = dllName; + dllInfo[1] = dllVersion; + dllInfo[2] = copyright; + DllInfo = dllInfo; + } + + protected string ProgramName { private set; get; } + protected string ProgramVersion { private set; get; } + protected string ProgramCopyright { private set; get; } + #endregion + + /// + /// Shows a text file in the standard editor, or when not available, then in notepad + /// + static ShowTextFile() + { + SetDllInfo(); + } + + /// + /// Shows the text file + /// + /// A valid text file name with path and extension. + /// Wheather the progress was successful. + public static bool Show(string textFileName) + { + if (File.Exists(textFileName)) + { + try + { + //Aufruf mit dem Standardprogramm + var process = new Process(); + process.StartInfo = new ProcessStartInfo() + { + UseShellExecute = true, + FileName = textFileName + }; + + process.Start(); + process.WaitForExit(); + return true; + } + catch (Exception) + { + try + { + const string program = "Notepad.exe"; //Aufruf mit Notepad + + ProcessStartInfo start = new ProcessStartInfo(program, textFileName); + Process.Start(start); + return true; + } + catch (Exception) + { + return false; + } + } + } + else + { + return false; + } + } + } +} diff --git a/ShowTextFile/ShowTextFile.csproj b/ShowTextFile/ShowTextFile.csproj index c57f30f..e58bd63 100644 --- a/ShowTextFile/ShowTextFile.csproj +++ b/ShowTextFile/ShowTextFile.csproj @@ -1,49 +1,49 @@ - - - - - Debug - AnyCPU - {3FD018A8-E6B0-4886-9572-20536E0C180C} - Library - Properties - ShowTextFile - heshowtf - v4.6.1 - 512 - false - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - + + + + + Debug + AnyCPU + {3FD018A8-E6B0-4886-9572-20536E0C180C} + Library + Properties + ShowTextFile + heshowtf + v4.8 + 512 + false + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ShowTextFile/bin/Debug/heshowtf.dll b/ShowTextFile/bin/Debug/heshowtf.dll index 5b6654e..e440fdb 100644 Binary files a/ShowTextFile/bin/Debug/heshowtf.dll and b/ShowTextFile/bin/Debug/heshowtf.dll differ diff --git a/ShowTextFile/bin/Debug/heshowtf.pdb b/ShowTextFile/bin/Debug/heshowtf.pdb index 859d05f..6fbc1d5 100644 Binary files a/ShowTextFile/bin/Debug/heshowtf.pdb and b/ShowTextFile/bin/Debug/heshowtf.pdb differ diff --git a/ShowTextFile/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/ShowTextFile/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..3cf0af3 --- /dev/null +++ b/ShowTextFile/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index e3070a5..011e349 100644 Binary files a/ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ShowTextFile/obj/Debug/ShowTextFile.csproj.AssemblyReference.cache b/ShowTextFile/obj/Debug/ShowTextFile.csproj.AssemblyReference.cache index 3a8bb1e..8a695fe 100644 Binary files a/ShowTextFile/obj/Debug/ShowTextFile.csproj.AssemblyReference.cache and b/ShowTextFile/obj/Debug/ShowTextFile.csproj.AssemblyReference.cache differ diff --git a/ShowTextFile/obj/Debug/ShowTextFile.csproj.CoreCompileInputs.cache b/ShowTextFile/obj/Debug/ShowTextFile.csproj.CoreCompileInputs.cache index 233ff51..2b267bf 100644 --- a/ShowTextFile/obj/Debug/ShowTextFile.csproj.CoreCompileInputs.cache +++ b/ShowTextFile/obj/Debug/ShowTextFile.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -5dd46b078fcb7eb47b839993a0ecf1c234952a14 +a53de154b2bb7e09689ffe1ddd4cea9951deded9 diff --git a/ShowTextFile/obj/Debug/ShowTextFile.csproj.FileListAbsolute.txt b/ShowTextFile/obj/Debug/ShowTextFile.csproj.FileListAbsolute.txt index 0866a88..55e32e6 100644 --- a/ShowTextFile/obj/Debug/ShowTextFile.csproj.FileListAbsolute.txt +++ b/ShowTextFile/obj/Debug/ShowTextFile.csproj.FileListAbsolute.txt @@ -1,6 +1,6 @@ -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\ShowTextFile.csproj.CoreCompileInputs.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\bin\Debug\heshowtf.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\bin\Debug\heshowtf.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\heshowtf.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\heshowtf.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\ShowTextFile.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\ShowTextFile.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\bin\Debug\heshowtf.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\bin\Debug\heshowtf.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\heshowtf.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\heshowtf.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\ShowTextFile\obj\Debug\ShowTextFile.csproj.AssemblyReference.cache diff --git a/ShowTextFile/obj/Debug/heshowtf.dll b/ShowTextFile/obj/Debug/heshowtf.dll index 5b6654e..e440fdb 100644 Binary files a/ShowTextFile/obj/Debug/heshowtf.dll and b/ShowTextFile/obj/Debug/heshowtf.dll differ diff --git a/ShowTextFile/obj/Debug/heshowtf.pdb b/ShowTextFile/obj/Debug/heshowtf.pdb index 859d05f..6fbc1d5 100644 Binary files a/ShowTextFile/obj/Debug/heshowtf.pdb and b/ShowTextFile/obj/Debug/heshowtf.pdb differ diff --git a/Test_ShowTextFile/App.config b/Test_ShowTextFile/App.config index 731f6de..5ffd8f8 100644 --- a/Test_ShowTextFile/App.config +++ b/Test_ShowTextFile/App.config @@ -1,6 +1,6 @@ - - - - - - \ No newline at end of file + + + + + + diff --git a/Test_ShowTextFile/Properties/Resources.Designer.cs b/Test_ShowTextFile/Properties/Resources.Designer.cs index 0f65385..615cc04 100644 --- a/Test_ShowTextFile/Properties/Resources.Designer.cs +++ b/Test_ShowTextFile/Properties/Resources.Designer.cs @@ -1,70 +1,63 @@ -//------------------------------------------------------------------------------ -// -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion: 4.0.30319.42000 -// -// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn -// der Code neu generiert wird. -// -//------------------------------------------------------------------------------ - - -namespace Test_ShowTextFile.Properties -{ - /// - /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. - /// - // Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse - // über ein Tool wie ResGen oder Visual Studio automatisch generiert. - // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen - // mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu. - [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() - { - } - - /// - /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. - /// - [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("Test_ShowTextFile.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle - /// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace Test_ShowTextFile.Properties { + using System; + + + /// + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.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() { + } + + /// + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// + [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("Test_ShowTextFile.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// + [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/Test_ShowTextFile/Properties/Settings.Designer.cs b/Test_ShowTextFile/Properties/Settings.Designer.cs index 6548bef..ea7da98 100644 --- a/Test_ShowTextFile/Properties/Settings.Designer.cs +++ b/Test_ShowTextFile/Properties/Settings.Designer.cs @@ -1,29 +1,26 @@ -//------------------------------------------------------------------------------ -// -// 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 Test_ShowTextFile.Properties -{ - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.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; - } - } - } -} +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace Test_ShowTextFile.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.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/Test_ShowTextFile/Test_ShowTextFile.csproj b/Test_ShowTextFile/Test_ShowTextFile.csproj index fadd086..fa921a6 100644 --- a/Test_ShowTextFile/Test_ShowTextFile.csproj +++ b/Test_ShowTextFile/Test_ShowTextFile.csproj @@ -1,86 +1,88 @@ - - - - - Debug - AnyCPU - {9E358856-190F-4D90-85DA-7394F86F9B22} - WinExe - Test_ShowTextFile - Test_ShowTextFile - v4.6.1 - 512 - true - false - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\ShowTextFile\bin\Debug\heshowtf.dll - - - - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - - + + + + + Debug + AnyCPU + {9E358856-190F-4D90-85DA-7394F86F9B22} + WinExe + Test_ShowTextFile + Test_ShowTextFile + v4.8 + 512 + true + false + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\ShowTextFile\bin\Debug\heshowtf.dll + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + \ No newline at end of file diff --git a/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe b/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe index 8ac6370..172ce07 100644 Binary files a/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe and b/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe differ diff --git a/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe.config b/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe.config index 731f6de..5ffd8f8 100644 --- a/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe.config +++ b/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.exe.config @@ -1,6 +1,6 @@ - - - - - - \ No newline at end of file + + + + + + diff --git a/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.pdb b/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.pdb index b02b8a5..4bfd437 100644 Binary files a/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.pdb and b/Test_ShowTextFile/bin/Debug/Test_ShowTextFile.pdb differ diff --git a/Test_ShowTextFile/bin/Debug/heshowtf.dll b/Test_ShowTextFile/bin/Debug/heshowtf.dll index 5b6654e..e440fdb 100644 Binary files a/Test_ShowTextFile/bin/Debug/heshowtf.dll and b/Test_ShowTextFile/bin/Debug/heshowtf.dll differ diff --git a/Test_ShowTextFile/bin/Debug/heshowtf.pdb b/Test_ShowTextFile/bin/Debug/heshowtf.pdb index 859d05f..6fbc1d5 100644 Binary files a/Test_ShowTextFile/bin/Debug/heshowtf.pdb and b/Test_ShowTextFile/bin/Debug/heshowtf.pdb differ diff --git a/Test_ShowTextFile/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/Test_ShowTextFile/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..3cf0af3 --- /dev/null +++ b/Test_ShowTextFile/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/Test_ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test_ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 98866f1..88bca43 100644 Binary files a/Test_ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Test_ShowTextFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test_ShowTextFile/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Test_ShowTextFile/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..a49f572 Binary files /dev/null and b/Test_ShowTextFile/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.AssemblyReference.cache b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.AssemblyReference.cache index f00a541..e76d9ed 100644 Binary files a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.AssemblyReference.cache and b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.AssemblyReference.cache differ diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.CoreCompileInputs.cache b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.CoreCompileInputs.cache index 14fd0de..c25d447 100644 --- a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.CoreCompileInputs.cache +++ b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -5b10fe3cfe3f8ca386e9c943cfca7fbe1e8a5814 +9e73677d002d12c5e3fda8ecb6c4d731279a6e3e diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.FileListAbsolute.txt b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.FileListAbsolute.txt index 516b352..4acb9b4 100644 --- a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.FileListAbsolute.txt +++ b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.FileListAbsolute.txt @@ -1,13 +1,14 @@ -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\Test_ShowTextFile.exe.config -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\Test_ShowTextFile.exe -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\Test_ShowTextFile.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\heshowtf.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\heshowtf.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.AssemblyReference.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.Form1.resources -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.Properties.Resources.resources -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.GenerateResource.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.CoreCompileInputs.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.CopyComplete -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.exe -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\Test_ShowTextFile.exe.config +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\Test_ShowTextFile.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\Test_ShowTextFile.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\heshowtf.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\bin\Debug\heshowtf.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.Form1.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.Properties.Resources.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.GenerateResource.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.CopyComplete +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\ShowTextFile.git\Test_ShowTextFile\obj\Debug\Test_ShowTextFile.csproj.SuggestedBindingRedirects.cache diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.GenerateResource.cache b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.GenerateResource.cache index 9f9730b..d8c016d 100644 Binary files a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.GenerateResource.cache and b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.GenerateResource.cache differ diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.SuggestedBindingRedirects.cache b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.exe b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.exe index 8ac6370..172ce07 100644 Binary files a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.exe and b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.exe differ diff --git a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.pdb b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.pdb index b02b8a5..4bfd437 100644 Binary files a/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.pdb and b/Test_ShowTextFile/obj/Debug/Test_ShowTextFile.pdb differ