diff --git a/.vs/LogWriter.git/v16/.suo b/.vs/LogWriter.git/v16/.suo deleted file mode 100644 index c445ed3..0000000 Binary files a/.vs/LogWriter.git/v16/.suo and /dev/null differ diff --git a/.vs/LogWriter.git/v17/.suo b/.vs/LogWriter.git/v17/.suo index 58b8426..52a00c1 100644 Binary files a/.vs/LogWriter.git/v17/.suo and b/.vs/LogWriter.git/v17/.suo differ diff --git a/LogWriter.git.sln b/LogWriter.git.sln index b893459..1f41a2d 100644 --- a/LogWriter.git.sln +++ b/LogWriter.git.sln @@ -1,31 +1,31 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31613.86 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LogWriter", "LogWriter\LogWriter.csproj", "{9AB1C683-4535-4F92-A3D1-4AF8BC1C8B9E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_LogWriter", "Test_LogWriter\Test_LogWriter.csproj", "{052D2936-B3E0-4348-991E-00FEC44CA3F1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {9AB1C683-4535-4F92-A3D1-4AF8BC1C8B9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9AB1C683-4535-4F92-A3D1-4AF8BC1C8B9E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9AB1C683-4535-4F92-A3D1-4AF8BC1C8B9E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9AB1C683-4535-4F92-A3D1-4AF8BC1C8B9E}.Release|Any CPU.Build.0 = Release|Any CPU - {052D2936-B3E0-4348-991E-00FEC44CA3F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {052D2936-B3E0-4348-991E-00FEC44CA3F1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {052D2936-B3E0-4348-991E-00FEC44CA3F1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {052D2936-B3E0-4348-991E-00FEC44CA3F1}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {9030B3E2-EE94-4D2F-8FB1-2A39DF357BBA} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32421.90 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LogWriter", "LogWriter\LogWriter.csproj", "{E95B9315-E0B9-4DB0-BA06-CAEA7269E922}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_LogWriter", "Test_LogWriter\Test_LogWriter.csproj", "{9414648E-B3A3-4279-B2E1-F54E35326E93}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E95B9315-E0B9-4DB0-BA06-CAEA7269E922}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E95B9315-E0B9-4DB0-BA06-CAEA7269E922}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E95B9315-E0B9-4DB0-BA06-CAEA7269E922}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E95B9315-E0B9-4DB0-BA06-CAEA7269E922}.Release|Any CPU.Build.0 = Release|Any CPU + {9414648E-B3A3-4279-B2E1-F54E35326E93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9414648E-B3A3-4279-B2E1-F54E35326E93}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9414648E-B3A3-4279-B2E1-F54E35326E93}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9414648E-B3A3-4279-B2E1-F54E35326E93}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8884E98F-BF3E-4D03-B17D-433AEE46045E} + EndGlobalSection +EndGlobal diff --git a/LogWriter/AppResources.Designer.cs b/LogWriter/AppResources.Designer.cs deleted file mode 100644 index 2326abb..0000000 --- a/LogWriter/AppResources.Designer.cs +++ /dev/null @@ -1,117 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 Eugen.ESystem.IO { - 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 AppResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal AppResources() { - } - - /// - /// 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("LogWriter.AppResources", typeof(AppResources).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; - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die The directory specifyed in Path was not found. ähnelt. - /// - internal static string msg001 { - get { - return ResourceManager.GetString("msg001", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Schwerer Fehler ähnelt. - /// - internal static string msg001cap { - get { - return ResourceManager.GetString("msg001cap", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die FileFormat has the wrong format. ähnelt. - /// - internal static string msg002 { - get { - return ResourceManager.GetString("msg002", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Fehler ähnelt. - /// - internal static string msg002cap { - get { - return ResourceManager.GetString("msg002cap", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Der für die Anzeige notwendige Editor konnte nicht gefunden werden. ähnelt. - /// - internal static string msg003 { - get { - return ResourceManager.GetString("msg003", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Die Log-Datei wurde nicht gefunden. ähnelt. - /// - internal static string msg004 { - get { - return ResourceManager.GetString("msg004", resourceCulture); - } - } - } -} diff --git a/LogWriter/AppResources.de.resx b/LogWriter/AppResources.de.resx deleted file mode 100644 index 729aad1..0000000 --- a/LogWriter/AppResources.de.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Das in Pfad angegebene Verzeichnis wurde nicht gefunden. - - - Schwerer Fehler - - - FileFormat hat das falsche Format. - - - Fehler - - - Der für die Anzeige notwendige Editor konnte nicht gefunden werden. - - - Die Log-Datei wurde nicht gefunden. - - \ No newline at end of file diff --git a/LogWriter/AppResources.en.resx b/LogWriter/AppResources.en.resx deleted file mode 100644 index 888f6ea..0000000 --- a/LogWriter/AppResources.en.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The directory specifyed in Path was not found. - - - Fatal Error - - - FileFormat has the wrong format. - - - Error - - - The editor required for the display could not be found. - - - The log file was not found. - - \ No newline at end of file diff --git a/LogWriter/AppResources.resx b/LogWriter/AppResources.resx deleted file mode 100644 index 875196c..0000000 --- a/LogWriter/AppResources.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The directory specifyed in Path was not found. - - - Schwerer Fehler - - - FileFormat has the wrong format. - - - Fehler - - - Der für die Anzeige notwendige Editor konnte nicht gefunden werden. - - - Die Log-Datei wurde nicht gefunden. - - \ No newline at end of file diff --git a/LogWriter/LogWriter.cs b/LogWriter/LogWriter.cs index 4cebab2..11128a8 100644 --- a/LogWriter/LogWriter.cs +++ b/LogWriter/LogWriter.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; @@ -11,11 +9,7 @@ using System.Windows.Forms; namespace Eugen.ESystem.IO { - /// - /// Handles a log file - /// - [Description("Handles a log file")] - public class LogWriter : Component + public class LogWriter { #region Version und Copyright // Version und Copyright @@ -131,105 +125,44 @@ namespace Eugen.ESystem.IO protected string ProgramCopyright { private set; get; } #endregion - #region enum public enum Time { Write, NoWrite } - #endregion - - #region delegates - /// - /// Provides a method, wich handles events from written messages - /// - /// Sender object - /// Event arguments - [Description("Provides a method, wich handles events from written messages")] - public delegate void LogWriterEventHandler(object sender, LogWriterEventArgs e); - #endregion - - #region fields - /// - /// Stores the log save path - /// - private string path = String.Empty; - - /// - /// Stores the logfile name - /// - private string filename = String.Empty; - - /// - /// Stores the log header - /// - private string logheader = String.Empty; - - /// - /// Stores the file name format - /// - private string fileFormat = "log_{0:d}.log"; - - /// - /// Stores the message format - /// - private string messageFormat = "{0:T}.{1} - {2}"; - #endregion - - #region events - /// - /// Fired, when a message was written - /// - [Description("Fired, when a message was written")] - public event LogWriterEventHandler MessageWritten; - - /// - /// Fired, when a new log file was created. Fired, when a message was written - /// - [Description("Fired, when a new log file was created. Fired, when a message was written")] - public event EventHandler FileCreated; - #endregion - - #region properties - /// - /// Specifyes the log save path - /// - [Description("Specifyes the log save path")] - public string Path + + static LogWriter() { - get + SetDllInfo(); + } + + public LogWriter(string path) + { + SetDllInfo(); + SetDate(); + this.Path = path; + this.FileName = String.Concat("log_", this.CurrentDate, ".log"); + } + + public LogWriter(string path, string fileName) + { + SetDllInfo(); + SetDate(); + this.Path = path; + if (fileName.EndsWith(".log")) { - return this.path; + this.FileName = fileName; } - set + else { - this.path = value; + this.FileName = String.Concat(fileName, ".log"); } } - /// - /// Specifyes the file name format - /// - [Description("Specifyes the file name format")] - [DefaultValue("log_{0:d}.log")] - public string FileFormat - { - get - { - return this.fileFormat; - } - set - { - this.fileFormat = value; - } - } - - /// - /// Specifyes the message format - /// - [Description("Specifyes the message format")] - [DefaultValue("{0:t}: {1}")] - public string MessageFormat + private string Path { get; set; } + private string FileName { get; set; } + private string CurrentDate { get; set; } + private string MessageFormat { get { @@ -240,337 +173,243 @@ namespace Eugen.ESystem.IO this.messageFormat = value; } } - #endregion - #region constructor - /// - /// Constructor (for DLL-Information) - /// - static LogWriter() + private void SetDate() { - SetDllInfo(); + DateTime dateTime = DateTime.Now; + this.CurrentDate = dateTime.ToString().Remove(dateTime.ToString().IndexOf(" ")); } - /// - /// Constructor - /// - public LogWriter() - { - } + private string messageFormat = "{0:T}.{1} - {2}"; // Definiert das Mitteilungsformat - /// - /// Constructor (Filename = 'log_dd.mm.yyyy.log) - /// - /// Specifyes the log save path - public LogWriter(string path) - { - this.path = path; - } - - /// - /// Constructor (Filename = self defined) - /// - /// Specifyes the log save path - /// Specifyes the log file name - public LogWriter(string path, string filename) - { - this.path = path; - this.filename = filename; - if (this.filename.EndsWith(".log")) - { - this.filename.Replace(".log", ""); - } - } - #endregion - - #region public members - /// - /// Writes a message - /// - /// Specifyes the message to be written - /// Wheather the writing progress was successful public bool WriteMessage(string message) { return WriteMessage(message, Time.Write); } - /// - /// Writes a message - /// - /// Specifyes the message to be written - /// Indicates whether the time is written or not - /// Wheather the writing progress was successful public bool WriteMessage(string message, Time writeTime) { - // if directory not exists, cancel - if (!Directory.Exists(this.path)) - throw new DirectoryNotFoundException(AppResources.msg001); - - // holds the actual date and time DateTime time = DateTime.Now; int ms = time.Millisecond; - string fmt = "000"; - string ms3 = ms.ToString(fmt); - // creates the file name - string fileName; - - if (String.IsNullOrEmpty(this.filename)) + if (writeTime == Time.Write) { - if (String.IsNullOrEmpty(this.path)) - { - fileName = System.IO.Path.DirectorySeparatorChar.ToString(); - } - else - { - fileName = this.path; - - if (fileName[fileName.Length - 1] != System.IO.Path.DirectorySeparatorChar) - { - fileName += System.IO.Path.DirectorySeparatorChar; - } - } - - try - { - fileName += String.Format(this.fileFormat, time); - } - catch (FormatException) - { - throw new FormatException(AppResources.msg002); - } - catch - { - return false; - } + return WriteLine(time, ms, String.Format(this.messageFormat, new object[] { time, ms.ToString("000"), message })); } else { - if (this.path[this.path.Length - 1] != System.IO.Path.DirectorySeparatorChar) - { - if (String.IsNullOrEmpty(System.IO.Path.GetExtension(this.filename))) - { - fileName = String.Concat(path, System.IO.Path.DirectorySeparatorChar, this.filename, ".log"); - } - else - { - fileName = String.Concat(path, System.IO.Path.DirectorySeparatorChar, this.filename); - } - } - else - { - if (String.IsNullOrEmpty(System.IO.Path.GetExtension(this.filename))) - { - fileName = String.Concat(this.path, this.filename, ".log"); - } - else - { - fileName = String.Concat(this.path, this.filename); - } - } - } - - // build message line - string line; - try - { - // creates the line - if (writeTime == Time.Write) - { - line = String.Format(this.messageFormat, new object[] { time, ms3, message }); - } - else - { - line = String.Empty; - line = message; - } - } - catch (FormatException) - { - throw new FormatException(AppResources.msg002); - } - catch - { - return false; + return WriteLine(time, ms, message); } + } + private bool WriteLine(DateTime time, int ms, string message) + { try { StreamWriter writer; - // open file - if (!File.Exists(fileName)) + if (!File.Exists(String.Concat(this.Path, "\\", this.FileName))) { - writer = new StreamWriter(fileName); + // Wenn Logdatei noch nicht existiert, dann anlegen + writer = new StreamWriter(String.Concat(this.Path, "\\", this.FileName)); OnFileCreated(EventArgs.Empty); } else { - writer = new StreamWriter(fileName, true); + // Wenn Logdatei schon nicht existiert, dann zum Schreiben öffnen + writer = new StreamWriter(String.Concat(this.Path, "\\", this.FileName), true); } - - // write message line - writer.WriteLine(line); - // close file + // Zeile schreiben + writer.WriteLine(message); + + // Logdatei schließen writer.Close(); OnMessageWritten(new LogWriterEventArgs(time, ms, message)); return true; } - catch + catch (Exception) { return false; } } /// - /// Deletes the defined log file. + /// Displays the current logfile /// - /// Returns 'true' if the log file does not exist or could be deleted, otherwise 'false'. - public bool DeleteLogFile() + /// Wheather the displaying progress was successful + public bool ShowLogFile() + { + return ShowLogFile(this.Path, this.FileName); + } + + /// + /// Displays a logfile + /// + /// A valid path + /// A valid filename + /// Wheather the displaying progress was successful + public bool ShowLogFile(string path, string fileName) + { + if (String.IsNullOrEmpty(path) || String.IsNullOrEmpty(fileName)) + { + return false; // Pfad oder Name wurde nicht gefunden + } + else + { + if (!fileName.EndsWith(".log")) + { + fileName = String.Concat(fileName, ".log"); + } + + if (File.Exists(String.Concat(path, "\\", fileName))) + { + if (!ShowTextFile.Show(String.Concat(path, "\\", fileName))) + { + return false; // Editor nicht gefunden + } + } + else + { + return false; //Datei nicht gefunden + } + } + return true; + } + + /// + /// Deletes the current Logfile + /// + /// Wheather the deleting progress was successful + public bool Delete() { try { - if (String.IsNullOrEmpty(path)) + if (String.IsNullOrEmpty(Path) || String.IsNullOrEmpty(FileName)) { return false; } - if (String.IsNullOrEmpty(filename)) + if (!File.Exists(String.Concat(this.Path, "\\", this.FileName))) { - DateTime time = DateTime.Now; - filename = String.Concat("log_", time.ToString().Remove(time.ToString().IndexOf(" ")), ".log"); - if (!File.Exists(String.Concat(Path, "\\", filename))) + return true; // Existiert nicht mehr + } + else + { + // Muss noch gelöscht werden + File.Delete(String.Concat(this.Path, "\\", this.FileName)); + + if (File.Exists(String.Concat(this.Path, "\\", this.FileName))) { - return false; + return false; // Konnte nicht gelöscht werden + } + else + { + return true; // Wurde erfolgreich gelöscht } } - - if (!filename.EndsWith(".log")) - { - filename = String.Concat(filename, ".log"); - } - - if (!File.Exists(path + "\\" + filename)) - { - return true; - } - else - { - File.Delete(path + "\\" + filename); - //return true; - } - - if (File.Exists(path + "\\" + filename)) - { - return false; - } - else - { - return true; - } } - catch + catch (Exception) { return false; } } - private bool IsFileEmpty(string filename) - { - if (File.Exists(filename)) - { - System.IO.StreamReader file = new System.IO.StreamReader(filename); - if (String.IsNullOrEmpty(file.ReadLine())) + public bool Delete(string path, string fileName) + { + if (!fileName.EndsWith(".log")) + { + fileName = String.Concat(fileName, ".log"); + } + + try + { + if (File.Exists(String.Concat(path, "\\", fileName))) { - file.Close(); - return true; // file is empty + File.Delete(String.Concat(path, "\\", fileName)); + + if (File.Exists(String.Concat(path, "\\", fileName))) + { + return false; // Konnte nicht gelöscht werden + } + else + { + return true; // Wurde erfolgreich gelöscht + } } else { - file.Close(); - return false; // file is not empty + return true; // Existiert nicht mehr } } - else + catch (Exception) { - return true; // file doesn't exist - is empty + return false; } } /// - /// Shows the Logfile. + /// Provides a method, wich handles events from written messages /// - public void ShowLogFile() - { - //string messageText = ""; - //string messageHeadline = ""; - //string file = String.Concat(tempDir, "\\CleanUp.log"); - - if (File.Exists(String.Concat(path, "\\", filename))) - { - // Log-Datei anzeigen - try - { - Process P = new Process(); - P.StartInfo.FileName = "Notepad.exe"; - // hier kann z.B. eine Textdatei mit übergeben werden - P.StartInfo.Arguments = String.Concat(path, "\\", filename); - P.Start(); - } - catch - { - // Editor nicht gefunden - MessageBox.Show(AppResources.msg003, - AppResources.msg001cap, - MessageBoxButtons.OK, - MessageBoxIcon.Error, - MessageBoxDefaultButton.Button1); - } - } - else - { - // Log-Datei nicht gefunden - MessageBox.Show(AppResources.msg004, - AppResources.msg002cap, - MessageBoxButtons.OK, - MessageBoxIcon.Warning, - MessageBoxDefaultButton.Button1); - } - } - #endregion - - #region protected members - /// - /// Fires the MessageWritten event - /// - /// - protected void OnMessageWritten(LogWriterEventArgs e) - { - if (MessageWritten != null) - MessageWritten(this, e); - } + /// Sender object + /// Event arguments + public delegate void LogWriterEventHandler(object sender, LogWriterEventArgs e); /// /// Fires the FileCreated event /// - /// + /// Event arguments protected void OnFileCreated(EventArgs e) { if (FileCreated != null) + { FileCreated(this, e); + } } - #endregion + + /// + /// Fires the MessageWritten event + /// + /// Event arguments + protected void OnMessageWritten(LogWriterEventArgs e) + { + if (MessageWritten != null) + { + MessageWritten(this, e); + } + } + + /// + /// Fired, when a new log file was created. Fired, when a message was written + /// + public event EventHandler FileCreated; + + /// + /// Fired, when a message was written + /// + public event LogWriterEventHandler MessageWritten; } - #region LogWriterEventArgs class /// /// LogWriterEventArgs stores information about the sent log message /// public class LogWriterEventArgs : EventArgs { + /// + /// Constructor + /// + /// Specifyes the message post time + /// Specifyes the message post milliseconds + /// Specifyes the message + public LogWriterEventArgs(DateTime time, int millisecond, string message) : base() + { + this.time = time; + this.millisecond = millisecond; + this.message = message; + } + #region fields /// /// Stores the message post time @@ -592,7 +431,6 @@ namespace Eugen.ESystem.IO /// /// Specifyes the message post time /// - [Description("Specifyes the message post time")] public DateTime Time { get @@ -604,7 +442,6 @@ namespace Eugen.ESystem.IO /// /// Specifyes the message /// - [Description("Specifyes the message")] public string Message { get @@ -613,22 +450,5 @@ namespace Eugen.ESystem.IO } } #endregion - - #region constructor - /// - /// Constructor - /// - /// Specifyes the message post time - /// Specifyes the message post milliseconds - /// Specifyes the message - public LogWriterEventArgs(DateTime time, int millisecond, string message) - : base() - { - this.time = time; - this.millisecond = millisecond; - this.message = message; - } - #endregion } - #endregion } diff --git a/LogWriter/LogWriter.csproj b/LogWriter/LogWriter.csproj index 008d231..5726551 100644 --- a/LogWriter/LogWriter.csproj +++ b/LogWriter/LogWriter.csproj @@ -4,12 +4,12 @@ Debug AnyCPU - {9AB1C683-4535-4F92-A3D1-4AF8BC1C8B9E} + {E95B9315-E0B9-4DB0-BA06-CAEA7269E922} Library Properties LogWriter helogwri - v4.7.2 + v4.8 512 false @@ -32,6 +32,9 @@ 4 + + ..\..\ShowTextFile.git\ShowTextFile\bin\Debug\heshowtf.dll + @@ -43,28 +46,8 @@ - - True - True - AppResources.resx - - - Component - + - - - Eugen.ESystem.IO - - - Eugen.ESystem.IO - - - ResXFileCodeGenerator - AppResources.Designer.cs - Eugen.ESystem.IO - - \ No newline at end of file diff --git a/LogWriter/Properties/AssemblyInfo.cs b/LogWriter/Properties/AssemblyInfo.cs index db28898..9194479 100644 --- a/LogWriter/Properties/AssemblyInfo.cs +++ b/LogWriter/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die einer Assembly zugeordnet sind. -[assembly: AssemblyTitle("LogWriter")] -[assembly: AssemblyDescription("Schreibt eine Logdatei")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("LogWriter")] -[assembly: AssemblyCopyright("Copyright © 2021 by Eugen Höglinger")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly -// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von -// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("9ab1c683-4535-4f92-a3d1-4af8bc1c8b9e")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, -// indem Sie "*" wie unten gezeigt eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.*")] -//[assembly: AssemblyFileVersion("1.0.0.0")] //Wenn auskommentiert, dann gleich wie AssemblyVersion! +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("LogWriter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("LogWriter")] +[assembly: AssemblyCopyright("Copyright © 2021 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("e95b9315-e0b9-4db0-ba06-caea7269e922")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +// indem Sie "*" wie unten gezeigt eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyFileVersion("1.0.0.0")] //Wenn auskommentiert, dann gleich wie AssemblyVersion! diff --git a/LogWriter/bin/Debug/de/helogwri.resources.dll b/LogWriter/bin/Debug/de/helogwri.resources.dll deleted file mode 100644 index 105b006..0000000 Binary files a/LogWriter/bin/Debug/de/helogwri.resources.dll and /dev/null differ diff --git a/LogWriter/bin/Debug/en/helogwri.resources.dll b/LogWriter/bin/Debug/en/helogwri.resources.dll deleted file mode 100644 index bbbc76d..0000000 Binary files a/LogWriter/bin/Debug/en/helogwri.resources.dll and /dev/null differ diff --git a/LogWriter/bin/Debug/helogwri.dll b/LogWriter/bin/Debug/helogwri.dll index 224417f..ecfed24 100644 Binary files a/LogWriter/bin/Debug/helogwri.dll and b/LogWriter/bin/Debug/helogwri.dll differ diff --git a/LogWriter/bin/Debug/helogwri.pdb b/LogWriter/bin/Debug/helogwri.pdb index e598a0a..78bf99c 100644 Binary files a/LogWriter/bin/Debug/helogwri.pdb and b/LogWriter/bin/Debug/helogwri.pdb differ diff --git a/LogWriter/bin/Debug/heshowtf.dll b/LogWriter/bin/Debug/heshowtf.dll new file mode 100644 index 0000000..e440fdb Binary files /dev/null and b/LogWriter/bin/Debug/heshowtf.dll differ diff --git a/LogWriter/bin/Debug/heshowtf.pdb b/LogWriter/bin/Debug/heshowtf.pdb new file mode 100644 index 0000000..6fbc1d5 Binary files /dev/null and b/LogWriter/bin/Debug/heshowtf.pdb differ diff --git a/LogWriter/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs b/LogWriter/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs deleted file mode 100644 index 3aa5318..0000000 --- a/LogWriter/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")] diff --git a/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache index c6920c5..12f7574 100644 Binary files a/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index fe68081..926354d 100644 Binary files a/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/LogWriter/obj/Debug/LogWriter.AppResources.de.resources b/LogWriter/obj/Debug/LogWriter.AppResources.de.resources deleted file mode 100644 index bbf8f51..0000000 Binary files a/LogWriter/obj/Debug/LogWriter.AppResources.de.resources and /dev/null differ diff --git a/LogWriter/obj/Debug/LogWriter.AppResources.en.resources b/LogWriter/obj/Debug/LogWriter.AppResources.en.resources deleted file mode 100644 index 3b9b940..0000000 Binary files a/LogWriter/obj/Debug/LogWriter.AppResources.en.resources and /dev/null differ diff --git a/LogWriter/obj/Debug/LogWriter.AppResources.resources b/LogWriter/obj/Debug/LogWriter.AppResources.resources deleted file mode 100644 index cb72e5a..0000000 Binary files a/LogWriter/obj/Debug/LogWriter.AppResources.resources and /dev/null differ diff --git a/LogWriter/obj/Debug/LogWriter.csproj.AssemblyReference.cache b/LogWriter/obj/Debug/LogWriter.csproj.AssemblyReference.cache index 6227aa3..39da047 100644 Binary files a/LogWriter/obj/Debug/LogWriter.csproj.AssemblyReference.cache and b/LogWriter/obj/Debug/LogWriter.csproj.AssemblyReference.cache differ diff --git a/LogWriter/obj/Debug/LogWriter.csproj.CopyComplete b/LogWriter/obj/Debug/LogWriter.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/LogWriter/obj/Debug/LogWriter.csproj.CoreCompileInputs.cache b/LogWriter/obj/Debug/LogWriter.csproj.CoreCompileInputs.cache index 6724129..b4b3a55 100644 --- a/LogWriter/obj/Debug/LogWriter.csproj.CoreCompileInputs.cache +++ b/LogWriter/obj/Debug/LogWriter.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -ea63bd59f5cf4e43a4d116f52f8a38689920a819 +2c170a6de4ecef6e0914644ba93f8bbf52dc503d diff --git a/LogWriter/obj/Debug/LogWriter.csproj.FileListAbsolute.txt b/LogWriter/obj/Debug/LogWriter.csproj.FileListAbsolute.txt index 011e75b..c9b8374 100644 --- a/LogWriter/obj/Debug/LogWriter.csproj.FileListAbsolute.txt +++ b/LogWriter/obj/Debug/LogWriter.csproj.FileListAbsolute.txt @@ -1,14 +1,9 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.csproj.CoreCompileInputs.cache H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\bin\Debug\helogwri.dll H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\bin\Debug\helogwri.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\bin\Debug\de\helogwri.resources.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\bin\Debug\en\helogwri.resources.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.csproj.AssemblyReference.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.AppResources.resources -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.AppResources.de.resources -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.AppResources.en.resources -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.csproj.GenerateResource.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.csproj.CoreCompileInputs.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\de\helogwri.resources.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\en\helogwri.resources.dll H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\helogwri.dll H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\helogwri.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\bin\Debug\heshowtf.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\bin\Debug\heshowtf.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\LogWriter\obj\Debug\LogWriter.csproj.CopyComplete diff --git a/LogWriter/obj/Debug/LogWriter.csproj.GenerateResource.cache b/LogWriter/obj/Debug/LogWriter.csproj.GenerateResource.cache deleted file mode 100644 index 08b98d3..0000000 Binary files a/LogWriter/obj/Debug/LogWriter.csproj.GenerateResource.cache and /dev/null differ diff --git a/LogWriter/obj/Debug/TempPE/AppResources.Designer.cs.dll b/LogWriter/obj/Debug/TempPE/AppResources.Designer.cs.dll deleted file mode 100644 index 6f544fc..0000000 Binary files a/LogWriter/obj/Debug/TempPE/AppResources.Designer.cs.dll and /dev/null differ diff --git a/LogWriter/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll b/LogWriter/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll new file mode 100644 index 0000000..e6e0659 Binary files /dev/null and b/LogWriter/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll differ diff --git a/LogWriter/obj/Debug/de/helogwri.resources.dll b/LogWriter/obj/Debug/de/helogwri.resources.dll deleted file mode 100644 index 105b006..0000000 Binary files a/LogWriter/obj/Debug/de/helogwri.resources.dll and /dev/null differ diff --git a/LogWriter/obj/Debug/en/helogwri.resources.dll b/LogWriter/obj/Debug/en/helogwri.resources.dll deleted file mode 100644 index bbbc76d..0000000 Binary files a/LogWriter/obj/Debug/en/helogwri.resources.dll and /dev/null differ diff --git a/LogWriter/obj/Debug/helogwri.dll b/LogWriter/obj/Debug/helogwri.dll index 224417f..ecfed24 100644 Binary files a/LogWriter/obj/Debug/helogwri.dll and b/LogWriter/obj/Debug/helogwri.dll differ diff --git a/LogWriter/obj/Debug/helogwri.pdb b/LogWriter/obj/Debug/helogwri.pdb index e598a0a..78bf99c 100644 Binary files a/LogWriter/obj/Debug/helogwri.pdb and b/LogWriter/obj/Debug/helogwri.pdb differ diff --git a/Test_LogWriter/App.config b/Test_LogWriter/App.config index de27714..5ffd8f8 100644 --- a/Test_LogWriter/App.config +++ b/Test_LogWriter/App.config @@ -1,6 +1,6 @@ - + diff --git a/Test_LogWriter/Form1.Designer.cs b/Test_LogWriter/Form1.Designer.cs index a17d4c3..59ee62e 100644 --- a/Test_LogWriter/Form1.Designer.cs +++ b/Test_LogWriter/Form1.Designer.cs @@ -1,171 +1,170 @@ - -namespace Test_LogWriter -{ - partial class Form1 - { - /// - /// Erforderliche Designervariable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Verwendete Ressourcen bereinigen. - /// - /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Vom Windows Form-Designer generierter Code - - /// - /// Erforderliche Methode für die Designerunterstützung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. - /// - private void InitializeComponent() - { - this.buttonRunProgram = new System.Windows.Forms.Button(); - this.groupBoxProgramInfo = new System.Windows.Forms.GroupBox(); - this.labelProgramInfo = new System.Windows.Forms.Label(); - this.groupBoxDLLInfo = new System.Windows.Forms.GroupBox(); - this.labelDLLInfo = new System.Windows.Forms.Label(); - this.labelResult = new System.Windows.Forms.Label(); - this.buttonShowLog1 = new System.Windows.Forms.Button(); - this.buttonShowLog2 = new System.Windows.Forms.Button(); - this.buttonShowLog3 = new System.Windows.Forms.Button(); - this.groupBoxProgramInfo.SuspendLayout(); - this.groupBoxDLLInfo.SuspendLayout(); - this.SuspendLayout(); - // - // buttonRunProgram - // - this.buttonRunProgram.Location = new System.Drawing.Point(12, 287); - this.buttonRunProgram.Name = "buttonRunProgram"; - this.buttonRunProgram.Size = new System.Drawing.Size(776, 23); - this.buttonRunProgram.TabIndex = 0; - this.buttonRunProgram.Text = "Programm ausführen"; - this.buttonRunProgram.UseVisualStyleBackColor = true; - this.buttonRunProgram.Click += new System.EventHandler(this.buttonRunProgram_Click); - // - // groupBoxProgramInfo - // - this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo); - this.groupBoxProgramInfo.Location = new System.Drawing.Point(12, 372); - this.groupBoxProgramInfo.Name = "groupBoxProgramInfo"; - this.groupBoxProgramInfo.Size = new System.Drawing.Size(385, 66); - this.groupBoxProgramInfo.TabIndex = 11; - this.groupBoxProgramInfo.TabStop = false; - this.groupBoxProgramInfo.Text = "Programm Information"; - // - // labelProgramInfo - // - this.labelProgramInfo.AutoSize = true; - this.labelProgramInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.labelProgramInfo.Location = new System.Drawing.Point(7, 20); - this.labelProgramInfo.Name = "labelProgramInfo"; - this.labelProgramInfo.Size = new System.Drawing.Size(16, 13); - this.labelProgramInfo.TabIndex = 0; - this.labelProgramInfo.Text = "..."; - // - // groupBoxDLLInfo - // - this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo); - this.groupBoxDLLInfo.Location = new System.Drawing.Point(403, 372); - this.groupBoxDLLInfo.Name = "groupBoxDLLInfo"; - this.groupBoxDLLInfo.Size = new System.Drawing.Size(385, 66); - this.groupBoxDLLInfo.TabIndex = 12; - this.groupBoxDLLInfo.TabStop = false; - this.groupBoxDLLInfo.Text = "DLL Information"; - // - // labelDLLInfo - // - this.labelDLLInfo.AutoSize = true; - this.labelDLLInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.labelDLLInfo.Location = new System.Drawing.Point(7, 20); - this.labelDLLInfo.Name = "labelDLLInfo"; - this.labelDLLInfo.Size = new System.Drawing.Size(16, 13); - this.labelDLLInfo.TabIndex = 0; - this.labelDLLInfo.Text = "..."; - // - // labelResult - // - this.labelResult.AutoSize = true; - this.labelResult.Location = new System.Drawing.Point(13, 13); - this.labelResult.Name = "labelResult"; - this.labelResult.Size = new System.Drawing.Size(16, 13); - this.labelResult.TabIndex = 13; - this.labelResult.Text = "..."; - // - // buttonShowLog1 - // - this.buttonShowLog1.Location = new System.Drawing.Point(12, 258); - this.buttonShowLog1.Name = "buttonShowLog1"; - this.buttonShowLog1.Size = new System.Drawing.Size(160, 23); - this.buttonShowLog1.TabIndex = 14; - this.buttonShowLog1.Text = "Log-Datei 1 anzeigen"; - this.buttonShowLog1.UseVisualStyleBackColor = true; - this.buttonShowLog1.Click += new System.EventHandler(this.buttonShowLog1_Click); - // - // buttonShowLog2 - // - this.buttonShowLog2.Location = new System.Drawing.Point(320, 258); - this.buttonShowLog2.Name = "buttonShowLog2"; - this.buttonShowLog2.Size = new System.Drawing.Size(160, 23); - this.buttonShowLog2.TabIndex = 15; - this.buttonShowLog2.Text = "Log-Datei 2 anzeigen"; - this.buttonShowLog2.UseVisualStyleBackColor = true; - this.buttonShowLog2.Click += new System.EventHandler(this.buttonShowLog2_Click); - // - // buttonShowLog3 - // - this.buttonShowLog3.Location = new System.Drawing.Point(628, 258); - this.buttonShowLog3.Name = "buttonShowLog3"; - this.buttonShowLog3.Size = new System.Drawing.Size(160, 23); - this.buttonShowLog3.TabIndex = 16; - this.buttonShowLog3.Text = "Log-Datei 3 anzeigen"; - this.buttonShowLog3.UseVisualStyleBackColor = true; - this.buttonShowLog3.Click += new System.EventHandler(this.buttonShowLog3_Click); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.buttonShowLog3); - this.Controls.Add(this.buttonShowLog2); - this.Controls.Add(this.buttonShowLog1); - this.Controls.Add(this.labelResult); - this.Controls.Add(this.groupBoxProgramInfo); - this.Controls.Add(this.groupBoxDLLInfo); - this.Controls.Add(this.buttonRunProgram); - this.Name = "Form1"; - this.Text = "Test_LogWriter"; - this.Load += new System.EventHandler(this.Form1_Load); - this.groupBoxProgramInfo.ResumeLayout(false); - this.groupBoxProgramInfo.PerformLayout(); - this.groupBoxDLLInfo.ResumeLayout(false); - this.groupBoxDLLInfo.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button buttonRunProgram; - private System.Windows.Forms.GroupBox groupBoxProgramInfo; - private System.Windows.Forms.Label labelProgramInfo; - private System.Windows.Forms.GroupBox groupBoxDLLInfo; - private System.Windows.Forms.Label labelDLLInfo; - private System.Windows.Forms.Label labelResult; - private System.Windows.Forms.Button buttonShowLog1; - private System.Windows.Forms.Button buttonShowLog2; - private System.Windows.Forms.Button buttonShowLog3; - } -} - +namespace Test_LogWriter +{ + partial class Form1 + { + /// + /// Erforderliche Designervariable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Verwendete Ressourcen bereinigen. + /// + /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Windows Form-Designer generierter Code + + /// + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// + private void InitializeComponent() + { + this.buttonRunProgram = new System.Windows.Forms.Button(); + this.groupBoxProgramInfo = new System.Windows.Forms.GroupBox(); + this.labelProgramInfo = new System.Windows.Forms.Label(); + this.groupBoxDLLInfo = new System.Windows.Forms.GroupBox(); + this.labelDLLInfo = new System.Windows.Forms.Label(); + this.buttonShowLog3 = new System.Windows.Forms.Button(); + this.buttonShowLog2 = new System.Windows.Forms.Button(); + this.buttonShowLog1 = new System.Windows.Forms.Button(); + this.labelResult = new System.Windows.Forms.Label(); + this.groupBoxProgramInfo.SuspendLayout(); + this.groupBoxDLLInfo.SuspendLayout(); + this.SuspendLayout(); + // + // buttonRunProgram + // + this.buttonRunProgram.Location = new System.Drawing.Point(12, 287); + this.buttonRunProgram.Name = "buttonRunProgram"; + this.buttonRunProgram.Size = new System.Drawing.Size(776, 23); + this.buttonRunProgram.TabIndex = 0; + this.buttonRunProgram.Text = "Programm ausführen"; + this.buttonRunProgram.UseVisualStyleBackColor = true; + this.buttonRunProgram.Click += new System.EventHandler(this.buttonRunProgram_Click); + // + // groupBoxProgramInfo + // + this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo); + this.groupBoxProgramInfo.Location = new System.Drawing.Point(12, 372); + this.groupBoxProgramInfo.Name = "groupBoxProgramInfo"; + this.groupBoxProgramInfo.Size = new System.Drawing.Size(385, 66); + this.groupBoxProgramInfo.TabIndex = 11; + this.groupBoxProgramInfo.TabStop = false; + this.groupBoxProgramInfo.Text = "Programm Information"; + // + // labelProgramInfo + // + this.labelProgramInfo.AutoSize = true; + this.labelProgramInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.labelProgramInfo.Location = new System.Drawing.Point(7, 20); + this.labelProgramInfo.Name = "labelProgramInfo"; + this.labelProgramInfo.Size = new System.Drawing.Size(16, 13); + this.labelProgramInfo.TabIndex = 0; + this.labelProgramInfo.Text = "..."; + // + // groupBoxDLLInfo + // + this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo); + this.groupBoxDLLInfo.Location = new System.Drawing.Point(403, 372); + this.groupBoxDLLInfo.Name = "groupBoxDLLInfo"; + this.groupBoxDLLInfo.Size = new System.Drawing.Size(385, 66); + this.groupBoxDLLInfo.TabIndex = 12; + this.groupBoxDLLInfo.TabStop = false; + this.groupBoxDLLInfo.Text = "DLL Information"; + // + // labelDLLInfo + // + this.labelDLLInfo.AutoSize = true; + this.labelDLLInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.labelDLLInfo.Location = new System.Drawing.Point(7, 20); + this.labelDLLInfo.Name = "labelDLLInfo"; + this.labelDLLInfo.Size = new System.Drawing.Size(16, 13); + this.labelDLLInfo.TabIndex = 0; + this.labelDLLInfo.Text = "..."; + // + // buttonShowLog3 + // + this.buttonShowLog3.Location = new System.Drawing.Point(627, 254); + this.buttonShowLog3.Name = "buttonShowLog3"; + this.buttonShowLog3.Size = new System.Drawing.Size(160, 23); + this.buttonShowLog3.TabIndex = 20; + this.buttonShowLog3.Text = "Log-Datei 3 anzeigen"; + this.buttonShowLog3.UseVisualStyleBackColor = true; + this.buttonShowLog3.Click += new System.EventHandler(this.buttonShowLog3_Click); + // + // buttonShowLog2 + // + this.buttonShowLog2.Location = new System.Drawing.Point(319, 254); + this.buttonShowLog2.Name = "buttonShowLog2"; + this.buttonShowLog2.Size = new System.Drawing.Size(160, 23); + this.buttonShowLog2.TabIndex = 19; + this.buttonShowLog2.Text = "Log-Datei 2 anzeigen"; + this.buttonShowLog2.UseVisualStyleBackColor = true; + this.buttonShowLog2.Click += new System.EventHandler(this.buttonShowLog2_Click); + // + // buttonShowLog1 + // + this.buttonShowLog1.Location = new System.Drawing.Point(11, 254); + this.buttonShowLog1.Name = "buttonShowLog1"; + this.buttonShowLog1.Size = new System.Drawing.Size(160, 23); + this.buttonShowLog1.TabIndex = 18; + this.buttonShowLog1.Text = "Log-Datei 1 anzeigen"; + this.buttonShowLog1.UseVisualStyleBackColor = true; + this.buttonShowLog1.Click += new System.EventHandler(this.buttonShowLog1_Click_1); + // + // labelResult + // + this.labelResult.AutoSize = true; + this.labelResult.Location = new System.Drawing.Point(12, 9); + this.labelResult.Name = "labelResult"; + this.labelResult.Size = new System.Drawing.Size(16, 13); + this.labelResult.TabIndex = 17; + this.labelResult.Text = "..."; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.buttonShowLog3); + this.Controls.Add(this.buttonShowLog2); + this.Controls.Add(this.buttonShowLog1); + this.Controls.Add(this.labelResult); + this.Controls.Add(this.groupBoxProgramInfo); + this.Controls.Add(this.groupBoxDLLInfo); + this.Controls.Add(this.buttonRunProgram); + this.Name = "Form1"; + this.Text = "Test_LogWriter"; + this.Load += new System.EventHandler(this.Form1_Load); + this.groupBoxProgramInfo.ResumeLayout(false); + this.groupBoxProgramInfo.PerformLayout(); + this.groupBoxDLLInfo.ResumeLayout(false); + this.groupBoxDLLInfo.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button buttonRunProgram; + private System.Windows.Forms.GroupBox groupBoxProgramInfo; + private System.Windows.Forms.Label labelProgramInfo; + private System.Windows.Forms.GroupBox groupBoxDLLInfo; + private System.Windows.Forms.Label labelDLLInfo; + private System.Windows.Forms.Button buttonShowLog3; + private System.Windows.Forms.Button buttonShowLog2; + private System.Windows.Forms.Button buttonShowLog1; + private System.Windows.Forms.Label labelResult; + } +} + diff --git a/Test_LogWriter/Form1.cs b/Test_LogWriter/Form1.cs index d46307c..b977db4 100644 --- a/Test_LogWriter/Form1.cs +++ b/Test_LogWriter/Form1.cs @@ -132,26 +132,26 @@ namespace Test_LogWriter { //Variante 1 - Logdateiname ist automatisch 'log_dd-mm-yy.log' var logWriter1 = new LogWriter(@"C:\TMP\"); - logWriter1.DeleteLogFile(); + logWriter1.Delete(); logWriter1.WriteMessage("Das ist Test 1"); labelResult.Text = String.Concat("Die Log-Datei C:\\TMP\\log_", DateTime.Now.Date.ToString().Remove(10), ".log wurde geschrieben."); //Variante 2 - Logdateiname wird angegeben, z.B. 'my_logfile2.log' var logWriter2 = new LogWriter(@"C:\TMP\", "my_logfile2.log"); - logWriter2.DeleteLogFile(); + logWriter2.Delete(); logWriter2.WriteMessage("Das ist Test 2"); labelResult.Text = String.Concat(labelResult.Text, "\nDie Log-Datei C:\\TMP\\my_logfile2.log wurde geschrieben"); //Variante 3 - Logdateiname wird angegeben und Header wird geschrieben string header = "--------------------\n Das ist der Header\n--------------------"; var logWriter3 = new LogWriter(@"C:\TMP\", "my_logfile3"); - logWriter3.DeleteLogFile(); + logWriter3.Delete(); logWriter3.WriteMessage(header, LogWriter.Time.NoWrite); logWriter3.WriteMessage("Das ist Test 3"); labelResult.Text = String.Concat(labelResult.Text, "\nDie Log-Datei C:\\TMP\\my_logfile3.log wurde geschrieben"); } - private void buttonShowLog1_Click(object sender, EventArgs e) + private void buttonShowLog1_Click_1(object sender, EventArgs e) { string textFileName = String.Concat("C:\\TMP\\log_", DateTime.Now.Date.ToString().Remove(10), ".log"); diff --git a/Test_LogWriter/Form1.resx b/Test_LogWriter/Form1.resx index 1af7de1..29dcb1b 100644 --- a/Test_LogWriter/Form1.resx +++ b/Test_LogWriter/Form1.resx @@ -1,120 +1,120 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/Test_LogWriter/Program.cs b/Test_LogWriter/Program.cs index 5fd3680..38b4305 100644 --- a/Test_LogWriter/Program.cs +++ b/Test_LogWriter/Program.cs @@ -1,22 +1,22 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace Test_LogWriter -{ - static class Program - { - /// - /// Der Haupteinstiegspunkt für die Anwendung. - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Test_LogWriter +{ + internal static class Program + { + /// + /// Der Haupteinstiegspunkt für die Anwendung. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Test_LogWriter/Properties/AssemblyInfo.cs b/Test_LogWriter/Properties/AssemblyInfo.cs index 9cdac3b..91c282d 100644 --- a/Test_LogWriter/Properties/AssemblyInfo.cs +++ b/Test_LogWriter/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die einer Assembly zugeordnet sind. -[assembly: AssemblyTitle("Test_LogWriter")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Test_LogWriter")] -[assembly: AssemblyCopyright("Copyright © 2021 by Eugen Höglinger")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly -// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von -// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("052d2936-b3e0-4348-991e-00fec44ca3f1")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, -// übernehmen, indem Sie "*" eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.*")] -//[assembly: AssemblyFileVersion("1.0.0.0")] //Wenn auskommentiert, dann gleich wie AssemblyVersion! +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("Test_LogWriter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Test_LogWriter")] +[assembly: AssemblyCopyright("Copyright © 2022 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("9414648e-b3a3-4279-b2e1-f54e35326e93")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +// übernehmen, indem Sie "*" eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyFileVersion("1.0.0.0")] //Wenn auskommentiert, dann gleich wie AssemblyVersion! diff --git a/Test_LogWriter/Properties/Resources.resx b/Test_LogWriter/Properties/Resources.resx index af7dbeb..ffecec8 100644 --- a/Test_LogWriter/Properties/Resources.resx +++ b/Test_LogWriter/Properties/Resources.resx @@ -1,117 +1,117 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/Test_LogWriter/Properties/Settings.settings b/Test_LogWriter/Properties/Settings.settings index 3964565..abf36c5 100644 --- a/Test_LogWriter/Properties/Settings.settings +++ b/Test_LogWriter/Properties/Settings.settings @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/Test_LogWriter/Test_LogWriter.csproj b/Test_LogWriter/Test_LogWriter.csproj index 0ee39f9..2584dc4 100644 --- a/Test_LogWriter/Test_LogWriter.csproj +++ b/Test_LogWriter/Test_LogWriter.csproj @@ -4,11 +4,11 @@ Debug AnyCPU - {052D2936-B3E0-4348-991E-00FEC44CA3F1} + {9414648E-B3A3-4279-B2E1-F54E35326E93} WinExe Test_LogWriter Test_LogWriter - v4.7.2 + v4.8 512 true false @@ -38,7 +38,7 @@ ..\LogWriter\bin\Debug\helogwri.dll - ..\..\ShowTextFile.git\ShowTextFile\bin\Debug\heshowtf.dll + ..\LogWriter\bin\Debug\heshowtf.dll @@ -66,6 +66,7 @@ ResXFileCodeGenerator + Resources.Designer.cs Designer diff --git a/Test_LogWriter/bin/Debug/Test_LogWriter.exe b/Test_LogWriter/bin/Debug/Test_LogWriter.exe index ab47511..a0093d3 100644 Binary files a/Test_LogWriter/bin/Debug/Test_LogWriter.exe and b/Test_LogWriter/bin/Debug/Test_LogWriter.exe differ diff --git a/Test_LogWriter/bin/Debug/Test_LogWriter.exe.config b/Test_LogWriter/bin/Debug/Test_LogWriter.exe.config index de27714..5ffd8f8 100644 --- a/Test_LogWriter/bin/Debug/Test_LogWriter.exe.config +++ b/Test_LogWriter/bin/Debug/Test_LogWriter.exe.config @@ -1,6 +1,6 @@ - + diff --git a/Test_LogWriter/bin/Debug/Test_LogWriter.pdb b/Test_LogWriter/bin/Debug/Test_LogWriter.pdb index 85ef459..6791ade 100644 Binary files a/Test_LogWriter/bin/Debug/Test_LogWriter.pdb and b/Test_LogWriter/bin/Debug/Test_LogWriter.pdb differ diff --git a/Test_LogWriter/bin/Debug/de/helogwri.resources.dll b/Test_LogWriter/bin/Debug/de/helogwri.resources.dll deleted file mode 100644 index 105b006..0000000 Binary files a/Test_LogWriter/bin/Debug/de/helogwri.resources.dll and /dev/null differ diff --git a/Test_LogWriter/bin/Debug/en/helogwri.resources.dll b/Test_LogWriter/bin/Debug/en/helogwri.resources.dll deleted file mode 100644 index bbbc76d..0000000 Binary files a/Test_LogWriter/bin/Debug/en/helogwri.resources.dll and /dev/null differ diff --git a/Test_LogWriter/bin/Debug/helogwri.dll b/Test_LogWriter/bin/Debug/helogwri.dll index 224417f..ecfed24 100644 Binary files a/Test_LogWriter/bin/Debug/helogwri.dll and b/Test_LogWriter/bin/Debug/helogwri.dll differ diff --git a/Test_LogWriter/bin/Debug/helogwri.pdb b/Test_LogWriter/bin/Debug/helogwri.pdb index e598a0a..78bf99c 100644 Binary files a/Test_LogWriter/bin/Debug/helogwri.pdb and b/Test_LogWriter/bin/Debug/helogwri.pdb differ diff --git a/Test_LogWriter/bin/Debug/heshowtf.dll b/Test_LogWriter/bin/Debug/heshowtf.dll index 5b6654e..e440fdb 100644 Binary files a/Test_LogWriter/bin/Debug/heshowtf.dll and b/Test_LogWriter/bin/Debug/heshowtf.dll differ diff --git a/Test_LogWriter/bin/Debug/heshowtf.pdb b/Test_LogWriter/bin/Debug/heshowtf.pdb index 859d05f..6fbc1d5 100644 Binary files a/Test_LogWriter/bin/Debug/heshowtf.pdb and b/Test_LogWriter/bin/Debug/heshowtf.pdb differ diff --git a/Test_LogWriter/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs b/Test_LogWriter/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs deleted file mode 100644 index 3aa5318..0000000 --- a/Test_LogWriter/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")] diff --git a/Test_LogWriter/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/Test_LogWriter/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 057ed7f..0000000 --- a/Test_LogWriter/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 2d8a026..2a64df3 100644 Binary files a/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index b5a92df..b537eb7 100644 Binary files a/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Test_LogWriter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test_LogWriter/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Test_LogWriter/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll index 28a2581..18e5a23 100644 Binary files a/Test_LogWriter/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and b/Test_LogWriter/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.AssemblyReference.cache b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.AssemblyReference.cache index 0ba5733..54e42e2 100644 Binary files a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.AssemblyReference.cache and b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.AssemblyReference.cache differ diff --git a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.CoreCompileInputs.cache b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.CoreCompileInputs.cache index e1bd82d..81440d1 100644 --- a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.CoreCompileInputs.cache +++ b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -d3959b100c00336106276e6bc8f285afd0c6d70f +0b37f65528887a8f138f27074e88fb5740eb62c1 diff --git a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.FileListAbsolute.txt b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.FileListAbsolute.txt index 103cbed..fe7cdfb 100644 --- a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.FileListAbsolute.txt +++ b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.FileListAbsolute.txt @@ -1,18 +1,16 @@ -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\Test_LogWriter.exe.config -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\Test_LogWriter.exe -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\Test_LogWriter.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\heshowtf.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\helogwri.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\heshowtf.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\de\helogwri.resources.dll -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\en\helogwri.resources.dll H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.csproj.SuggestedBindingRedirects.cache H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.Form1.resources H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.Properties.Resources.resources H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.csproj.GenerateResource.cache H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\Test_LogWriter.exe.config +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\Test_LogWriter.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\Test_LogWriter.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\helogwri.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\heshowtf.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\helogwri.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\heshowtf.pdb H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.csproj.CopyComplete H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.exe H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.pdb -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\obj\Debug\Test_LogWriter.csproj.SuggestedBindingRedirects.cache -H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\LogWriter.git\Test_LogWriter\bin\Debug\helogwri.dll diff --git a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.GenerateResource.cache b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.GenerateResource.cache index 12d54d4..a888529 100644 Binary files a/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.GenerateResource.cache and b/Test_LogWriter/obj/Debug/Test_LogWriter.csproj.GenerateResource.cache differ diff --git a/Test_LogWriter/obj/Debug/Test_LogWriter.exe b/Test_LogWriter/obj/Debug/Test_LogWriter.exe index ab47511..a0093d3 100644 Binary files a/Test_LogWriter/obj/Debug/Test_LogWriter.exe and b/Test_LogWriter/obj/Debug/Test_LogWriter.exe differ diff --git a/Test_LogWriter/obj/Debug/Test_LogWriter.pdb b/Test_LogWriter/obj/Debug/Test_LogWriter.pdb index 85ef459..6791ade 100644 Binary files a/Test_LogWriter/obj/Debug/Test_LogWriter.pdb and b/Test_LogWriter/obj/Debug/Test_LogWriter.pdb differ