commit fffe0772f62606c772a0e97cf8cb505d0eb147c1 Author: Eugen Höglinger Date: Wed Nov 25 17:41:11 2020 +0100 Initialize diff --git a/.vs/OpenHelpFile.git/v16/.suo b/.vs/OpenHelpFile.git/v16/.suo new file mode 100644 index 0000000..36e6213 Binary files /dev/null and b/.vs/OpenHelpFile.git/v16/.suo differ diff --git a/OpenHelpFile.git.sln b/OpenHelpFile.git.sln new file mode 100644 index 0000000..22e2a0e --- /dev/null +++ b/OpenHelpFile.git.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30709.132 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenHelpFile", "OpenHelpFile\OpenHelpFile.csproj", "{D1ED9019-C827-4749-9D88-FC7E1AD7B6DC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_OpenHelpFile", "Test_OpenHelpFile\Test_OpenHelpFile.csproj", "{D8374AB1-CFA5-49E4-8B96-68B57085EF89}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D1ED9019-C827-4749-9D88-FC7E1AD7B6DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D1ED9019-C827-4749-9D88-FC7E1AD7B6DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1ED9019-C827-4749-9D88-FC7E1AD7B6DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D1ED9019-C827-4749-9D88-FC7E1AD7B6DC}.Release|Any CPU.Build.0 = Release|Any CPU + {D8374AB1-CFA5-49E4-8B96-68B57085EF89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D8374AB1-CFA5-49E4-8B96-68B57085EF89}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8374AB1-CFA5-49E4-8B96-68B57085EF89}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D8374AB1-CFA5-49E4-8B96-68B57085EF89}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F720E9D0-1237-4C1C-A83C-312119502F10} + EndGlobalSection +EndGlobal diff --git a/OpenHelpFile/Languages.cs b/OpenHelpFile/Languages.cs new file mode 100644 index 0000000..c941304 --- /dev/null +++ b/OpenHelpFile/Languages.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Eugen.ESystem.Windows.Forms +{ + class Languages + { + public static Languages.Language CurrentLanguage { set; get; } + + public enum Language + { + German, + English + } + } +} diff --git a/OpenHelpFile/OpenHelpFile.cs b/OpenHelpFile/OpenHelpFile.cs new file mode 100644 index 0000000..4b77860 --- /dev/null +++ b/OpenHelpFile/OpenHelpFile.cs @@ -0,0 +1,296 @@ +using Eugen.ESystem.Windows.Forms; +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; +using System.Windows.Forms; +using DisplLanguage = Eugen.ESystem.Windows.Forms.Languages.Language; + +namespace Eugen.ESystem +{ + /// + /// Opens the help file in the given language. + /// + public class OpenHelpFile + { + #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(); + string icon = Application.StartupPath + "\\Info.bmp"; + //Assembly Datum und Zeit + static DateTime value = AssemblyDateTime(); + string date = value.ToShortDateString(); + 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); + } + 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 + { + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace(startYear, String.Concat(startYear, "-", currentYear)); + } + } + #endregion + + #region DLL-Info + /// + /// Contains the name of the program file + /// + public static string DllName { set; get; } + + /// + /// Contains the version of the program file + /// + public static string DllVersion { set; get; } + + /// + /// Contains the copyright notice + /// + public static string Copyright { set; get; } + + private static void SetDllInfo() + { + //Name, Version und Copyright setzen + DllName = dllName; + DllVersion = dllVersion; + Copyright = copyright; + } + #endregion + + /// + /// Opens the help file in the given language. + /// + static OpenHelpFile() + { + SetDllInfo(); + } + + /// + /// Opens the help file in the desired language + /// + /// A valid language. E.G.:'german' or 'english' + public static void Open(string language) + { + //Systemsprache aus alle möglichen Sprachen ermitteln + DisplLanguage dispLanguage = DisplLanguage.German; + foreach (var e in Enum.GetValues(typeof(DisplLanguage))) + { + if (language.ToLower() == e.ToString().ToLower()) + { + dispLanguage = (Languages.Language)e; + } + } + + //Prüfen ob die Hilfe schon läuft. Wenn nicht dann aufrufen + if (!CheckIfRun()) + { + //Hilfedatei setzen + string helpFile = SetHelpFile(dispLanguage); + + //Hilfedatei ins Temp-Verzeichnis kopieren, damit der Inhalt von Windows angezeigt wird + helpFile = CopyHelpFileToTemp(helpFile); + + //Hilfedatei aufrufen + ShowHelpFile(helpFile); + } + } + + private static bool CheckIfRun() + { + string program = "hh"; + bool run = false; + + Process[] ProgrammTask = Process.GetProcesses(); + foreach (Process ScannTask in ProgrammTask) + { + if (ScannTask.ProcessName == program) + { + run = true; + } + } + + return run; + } + + private static string SetHelpFile(DisplLanguage dispLanguage) + { + string helpFile = ""; + + switch (dispLanguage.ToString()) + { + case "German": + helpFile = String.Concat(Application.StartupPath, "\\Hilfe.chm"); + break; + case "English": + helpFile = String.Concat(Application.StartupPath, "\\Help.chm"); + break; + case "French": + helpFile = String.Concat(Application.StartupPath, "\\Aide.chm"); + break; + case "Italian": + helpFile = String.Concat(Application.StartupPath, "\\Aiuto.chm"); + break; + case "Spanish": + helpFile = String.Concat(Application.StartupPath, "\\Ayuda.chm"); + break; + case "Portuguese": + helpFile = String.Concat(Application.StartupPath, "\\Ajuda.chm"); + break; + case "Finska": + helpFile = String.Concat(Application.StartupPath, "\\Auta.chm"); + break; + case "Swedish": + helpFile = String.Concat(Application.StartupPath, "\\Hjälp.chm"); + break; + case "Czech": + helpFile = String.Concat(Application.StartupPath, "\\Pomoc.chm"); + break; + case "Slovak": + helpFile = String.Concat(Application.StartupPath, "\\Pomoc.chm"); + break; + case "Slovenian": + helpFile = String.Concat(Application.StartupPath, "\\Pomoč.chm"); + break; + case "Polish": + helpFile = String.Concat(Application.StartupPath, "\\Pomoc_.chm"); + break; + case "Bulgarian": + helpFile = String.Concat(Application.StartupPath, "\\Помогне.chm"); + break; + case "Romanian": + helpFile = String.Concat(Application.StartupPath, "\\Ajutor.chm"); + break; + case "Hungarian": + helpFile = String.Concat(Application.StartupPath, "\\Segítség.chm"); + break; + case "Russian": + helpFile = String.Concat(Application.StartupPath, "\\Помощь.chm"); + break; + case "Japanese": + helpFile = String.Concat(Application.StartupPath, "\\ヘルプ.chm"); + break; + case "Chinese": + helpFile = String.Concat(Application.StartupPath, "\\帮忙.chm"); + break; + default: + break; + } + + return helpFile; + } + + private static string CopyHelpFileToTemp(string helpfile) + { + string file = Path.GetFileName(helpfile); + string tempHelpFile = String.Concat("C:\\Temp\\", file); + + try + { + //Vorhandene Datei löschen + if (File.Exists(tempHelpFile)) + { + File.Delete(tempHelpFile); + } + + //Hilfedatei in Temp-Verzeichnis kopieren + if (!Directory.Exists("C:\\Temp")) + { + Directory.CreateDirectory("C:\\Temp"); + } + + File.Copy(helpfile, tempHelpFile); + + //Wenn das Kopieren erfolgreich war, die Datei mit neuem Pfad zurückgeben + if (File.Exists(tempHelpFile)) + { + return tempHelpFile; //Wenn die Datei existiert, dann die temporäre Hilfedatei zurückgeben + } + else + { + return helpfile; //Wenn die Datei nicht existiert, dann die ursprüngliche Hilfedatei zurückgeben + } + } + catch + { + return helpfile; //Wenn ein Fehler passiert ist, dann die ursprüngliche Hilfedatei zurückgeben + } + } + + private static void ShowHelpFile(string helpFile) + { + if (!File.Exists(helpFile)) + { + throw new FileNotFoundException(helpFile); + } + + try + { + Process.Start(helpFile); + } + catch (CannotShowHelpFileException) + { + throw new CannotShowHelpFileException(helpFile); + } + } + } + + #region Exception + public class CannotShowHelpFileException : ApplicationException + { + public CannotShowHelpFileException() + { } + + public CannotShowHelpFileException(string message) : base(message) + { } + + public CannotShowHelpFileException(string message, Exception inner) : base(message, inner) + { } + } + #endregion +} diff --git a/OpenHelpFile/OpenHelpFile.csproj b/OpenHelpFile/OpenHelpFile.csproj new file mode 100644 index 0000000..7403365 --- /dev/null +++ b/OpenHelpFile/OpenHelpFile.csproj @@ -0,0 +1,50 @@ + + + + + Debug + AnyCPU + {D1ED9019-C827-4749-9D88-FC7E1AD7B6DC} + Library + Properties + OpenHelpFile + OpenHelpFile + v4.7.2 + 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/OpenHelpFile/Properties/AssemblyInfo.cs b/OpenHelpFile/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e7462b3 --- /dev/null +++ b/OpenHelpFile/Properties/AssemblyInfo.cs @@ -0,0 +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("OpenHelpFile")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OpenHelpFile")] +[assembly: AssemblyCopyright("Copyright © 2020 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("d1ed9019-c827-4749-9d88-fc7e1ad7b6dc")] + +// 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")] diff --git a/OpenHelpFile/bin/Debug/Help.chm b/OpenHelpFile/bin/Debug/Help.chm new file mode 100644 index 0000000..426f60d Binary files /dev/null and b/OpenHelpFile/bin/Debug/Help.chm differ diff --git a/OpenHelpFile/bin/Debug/Hilfe.chm b/OpenHelpFile/bin/Debug/Hilfe.chm new file mode 100644 index 0000000..5d1648f Binary files /dev/null and b/OpenHelpFile/bin/Debug/Hilfe.chm differ diff --git a/OpenHelpFile/bin/Debug/OpenHelpFile.dll b/OpenHelpFile/bin/Debug/OpenHelpFile.dll new file mode 100644 index 0000000..bc0cc8a Binary files /dev/null and b/OpenHelpFile/bin/Debug/OpenHelpFile.dll differ diff --git a/OpenHelpFile/bin/Debug/OpenHelpFile.pdb b/OpenHelpFile/bin/Debug/OpenHelpFile.pdb new file mode 100644 index 0000000..396e402 Binary files /dev/null and b/OpenHelpFile/bin/Debug/OpenHelpFile.pdb differ diff --git a/OpenHelpFile/bin/Release/Help.chm b/OpenHelpFile/bin/Release/Help.chm new file mode 100644 index 0000000..426f60d Binary files /dev/null and b/OpenHelpFile/bin/Release/Help.chm differ diff --git a/OpenHelpFile/bin/Release/Hilfe.chm b/OpenHelpFile/bin/Release/Hilfe.chm new file mode 100644 index 0000000..5d1648f Binary files /dev/null and b/OpenHelpFile/bin/Release/Hilfe.chm differ diff --git a/OpenHelpFile/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/OpenHelpFile/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/OpenHelpFile/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +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/OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..0125e70 Binary files /dev/null and b/OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/OpenHelpFile/obj/Debug/OpenHelpFile.csproj.CoreCompileInputs.cache b/OpenHelpFile/obj/Debug/OpenHelpFile.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..2dcc0f0 --- /dev/null +++ b/OpenHelpFile/obj/Debug/OpenHelpFile.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +41f3b5fb252d895dfa58578b716066270555c011 diff --git a/OpenHelpFile/obj/Debug/OpenHelpFile.csproj.FileListAbsolute.txt b/OpenHelpFile/obj/Debug/OpenHelpFile.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..8ecda3e --- /dev/null +++ b/OpenHelpFile/obj/Debug/OpenHelpFile.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\OpenHelpFile\bin\Debug\OpenHelpFile.dll +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\OpenHelpFile\bin\Debug\OpenHelpFile.pdb +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\OpenHelpFile\obj\Debug\OpenHelpFile.csprojAssemblyReference.cache +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\OpenHelpFile\obj\Debug\OpenHelpFile.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\OpenHelpFile\obj\Debug\OpenHelpFile.dll +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\OpenHelpFile\obj\Debug\OpenHelpFile.pdb diff --git a/OpenHelpFile/obj/Debug/OpenHelpFile.csprojAssemblyReference.cache b/OpenHelpFile/obj/Debug/OpenHelpFile.csprojAssemblyReference.cache new file mode 100644 index 0000000..050502c Binary files /dev/null and b/OpenHelpFile/obj/Debug/OpenHelpFile.csprojAssemblyReference.cache differ diff --git a/OpenHelpFile/obj/Debug/OpenHelpFile.dll b/OpenHelpFile/obj/Debug/OpenHelpFile.dll new file mode 100644 index 0000000..bc0cc8a Binary files /dev/null and b/OpenHelpFile/obj/Debug/OpenHelpFile.dll differ diff --git a/OpenHelpFile/obj/Debug/OpenHelpFile.pdb b/OpenHelpFile/obj/Debug/OpenHelpFile.pdb new file mode 100644 index 0000000..396e402 Binary files /dev/null and b/OpenHelpFile/obj/Debug/OpenHelpFile.pdb differ diff --git a/Test_OpenHelpFile/App.config b/Test_OpenHelpFile/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Test_OpenHelpFile/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Test_OpenHelpFile/Form1.Designer.cs b/Test_OpenHelpFile/Form1.Designer.cs new file mode 100644 index 0000000..7609d51 --- /dev/null +++ b/Test_OpenHelpFile/Form1.Designer.cs @@ -0,0 +1,119 @@ + +namespace Test_OpenHelpFile +{ + 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.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.buttonShowHelp = new System.Windows.Forms.Button(); + this.groupBoxProgramInfo.SuspendLayout(); + this.groupBoxDLLInfo.SuspendLayout(); + this.SuspendLayout(); + // + // 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 = 7; + 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 = 8; + 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 = "..."; + // + // buttonShowHelp + // + this.buttonShowHelp.Location = new System.Drawing.Point(13, 343); + this.buttonShowHelp.Name = "buttonShowHelp"; + this.buttonShowHelp.Size = new System.Drawing.Size(775, 23); + this.buttonShowHelp.TabIndex = 9; + this.buttonShowHelp.Text = "Hilfe anzeigen"; + this.buttonShowHelp.UseVisualStyleBackColor = true; + this.buttonShowHelp.Click += new System.EventHandler(this.buttonShowHelp_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.buttonShowHelp); + this.Controls.Add(this.groupBoxProgramInfo); + this.Controls.Add(this.groupBoxDLLInfo); + this.Name = "Form1"; + this.Text = "Test_OpenHelpFile"; + 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); + + } + + #endregion + + 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 buttonShowHelp; + } +} + diff --git a/Test_OpenHelpFile/Form1.cs b/Test_OpenHelpFile/Form1.cs new file mode 100644 index 0000000..37f6d74 --- /dev/null +++ b/Test_OpenHelpFile/Form1.cs @@ -0,0 +1,152 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using Eugen.ESystem; + +namespace Test_OpenHelpFile +{ + public partial class Form1 : Form + { + #region Version und Copyright + // Version und Copyright + string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen + string programVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + string copyright = GenerateCopyright(); + string icon = Application.StartupPath + "\\Info.bmp"; + //Assembly Datum und Zeit + static DateTime value = AssemblyDateTime(); + string date = value.ToShortDateString(); + 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 = ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + //return startYear.Remove(0, startYear.LastIndexOf(" ") + 1); + string startYear = ""; + if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © ")) + { + startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", ""); + while (startYear.StartsWith(" ")) + { + startYear = startYear.Remove(0, 1); + } + 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 + { + //return String.Concat(((AssemblyCopyrightAttribute)attributes[0]).Copyright, "-", currentYear); + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace(startYear, String.Concat(startYear, "-", currentYear)); + } + } + #endregion + + #region Programm-Info + /// + /// Contains the name of the program file + /// + public static string ProgramName { set; get; } + + /// + /// Contains the version of the program file + /// + public static string ProgramVersion { set; get; } + + /// + /// Contains the copyright notice + /// + public static string Copyright { set; get; } + + private void SetProgramInfo() + { + //Name, Version und Copyright setzen + ProgramName = programName; + ProgramVersion = programVersion; + Copyright = copyright; + } + #endregion + + public Form1() + { + SetProgramInfo(); + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + ShowInformation(); //Programm- und DLL-Information anzeigen + } + + private void ShowInformation() + { + labelProgramInfo.Text = String.Concat(ProgramName, "\n", ProgramVersion, "\n", Copyright); //Programm-Information anzeigen + + // DLL-Information anzeigen + labelDLLInfo.Text = String.Concat(OpenHelpFile.DllName, "\n", OpenHelpFile.DllVersion, "\n", OpenHelpFile.Copyright); + } + + private void buttonShowHelp_Click(object sender, EventArgs e) + { + //-------------------------------------------------------------- + //--- Diesen Bereich ins eigene Programm einfügen --- Anfang --- + //-------------------------------------------------------------- + try + { + OpenHelpFile.Open("german"); //Hier die Sprache übergeben in der die Hilfe aufgerufen werden soll + } + catch (FileNotFoundException) + { + MessageBox.Show("Die Hilfe wurde nicht gefunden", "Warnung", MessageBoxButtons.OK, MessageBoxIcon.Warning); + } + catch (CannotShowHelpFileException) + { + MessageBox.Show("Die Hilfe kann nicht angezeigt werden.", "Warnung", MessageBoxButtons.OK, MessageBoxIcon.Warning); + } + catch (Exception) + { + MessageBox.Show("Es ist ein unbekannter Fehler passier!", "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + //-------------------------------------------------------------- + //--- Diesen Bereich ins eigene Programm einfügen --- Ende --- + //-------------------------------------------------------------- + } + } +} diff --git a/Test_OpenHelpFile/Form1.resx b/Test_OpenHelpFile/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Test_OpenHelpFile/Form1.resx @@ -0,0 +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 + + \ No newline at end of file diff --git a/Test_OpenHelpFile/Program.cs b/Test_OpenHelpFile/Program.cs new file mode 100644 index 0000000..93f3b65 --- /dev/null +++ b/Test_OpenHelpFile/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Test_OpenHelpFile +{ + 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_OpenHelpFile/Properties/AssemblyInfo.cs b/Test_OpenHelpFile/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9402029 --- /dev/null +++ b/Test_OpenHelpFile/Properties/AssemblyInfo.cs @@ -0,0 +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_OpenHelpFile")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Test_OpenHelpFile")] +[assembly: AssemblyCopyright("Copyright © 2020 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("d8374ab1-cfa5-49e4-8b96-68b57085ef89")] + +// 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")] diff --git a/Test_OpenHelpFile/Properties/Resources.Designer.cs b/Test_OpenHelpFile/Properties/Resources.Designer.cs new file mode 100644 index 0000000..a0b14ca --- /dev/null +++ b/Test_OpenHelpFile/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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_OpenHelpFile.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_OpenHelpFile.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; + } + } + } +} diff --git a/Test_OpenHelpFile/Properties/Resources.resx b/Test_OpenHelpFile/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Test_OpenHelpFile/Properties/Resources.resx @@ -0,0 +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 + + \ No newline at end of file diff --git a/Test_OpenHelpFile/Properties/Settings.Designer.cs b/Test_OpenHelpFile/Properties/Settings.Designer.cs new file mode 100644 index 0000000..38671d8 --- /dev/null +++ b/Test_OpenHelpFile/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// 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_OpenHelpFile.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; + } + } + } +} diff --git a/Test_OpenHelpFile/Properties/Settings.settings b/Test_OpenHelpFile/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Test_OpenHelpFile/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Test_OpenHelpFile/Test_OpenHelpFile.csproj b/Test_OpenHelpFile/Test_OpenHelpFile.csproj new file mode 100644 index 0000000..0111baf --- /dev/null +++ b/Test_OpenHelpFile/Test_OpenHelpFile.csproj @@ -0,0 +1,89 @@ + + + + + Debug + AnyCPU + {D8374AB1-CFA5-49E4-8B96-68B57085EF89} + WinExe + Test_OpenHelpFile + Test_OpenHelpFile + v4.7.2 + 512 + true + false + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + {d1ed9019-c827-4749-9d88-fc7e1ad7b6dc} + OpenHelpFile + + + + \ No newline at end of file diff --git a/Test_OpenHelpFile/bin/Debug/Help.chm b/Test_OpenHelpFile/bin/Debug/Help.chm new file mode 100644 index 0000000..426f60d Binary files /dev/null and b/Test_OpenHelpFile/bin/Debug/Help.chm differ diff --git a/Test_OpenHelpFile/bin/Debug/Hilfe.chm b/Test_OpenHelpFile/bin/Debug/Hilfe.chm new file mode 100644 index 0000000..5d1648f Binary files /dev/null and b/Test_OpenHelpFile/bin/Debug/Hilfe.chm differ diff --git a/Test_OpenHelpFile/bin/Debug/OpenHelpFile.dll b/Test_OpenHelpFile/bin/Debug/OpenHelpFile.dll new file mode 100644 index 0000000..bc0cc8a Binary files /dev/null and b/Test_OpenHelpFile/bin/Debug/OpenHelpFile.dll differ diff --git a/Test_OpenHelpFile/bin/Debug/OpenHelpFile.pdb b/Test_OpenHelpFile/bin/Debug/OpenHelpFile.pdb new file mode 100644 index 0000000..396e402 Binary files /dev/null and b/Test_OpenHelpFile/bin/Debug/OpenHelpFile.pdb differ diff --git a/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.exe b/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.exe new file mode 100644 index 0000000..976911f Binary files /dev/null and b/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.exe differ diff --git a/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.exe.config b/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.pdb b/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.pdb new file mode 100644 index 0000000..84d2351 Binary files /dev/null and b/Test_OpenHelpFile/bin/Debug/Test_OpenHelpFile.pdb differ diff --git a/Test_OpenHelpFile/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/Test_OpenHelpFile/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/Test_OpenHelpFile/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +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_OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Test_OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..d277094 Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Test_OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test_OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..3cded52 Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.Form1.resources b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.Form1.resources differ diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.Properties.Resources.resources b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.Properties.Resources.resources differ diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.CopyComplete b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.CoreCompileInputs.cache b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..e95af2b --- /dev/null +++ b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +8e67daf8db053169a01c926bc100755556caf27e diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.FileListAbsolute.txt b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..06460d4 --- /dev/null +++ b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.FileListAbsolute.txt @@ -0,0 +1,13 @@ +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\bin\Debug\Test_OpenHelpFile.exe.config +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\bin\Debug\Test_OpenHelpFile.exe +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\bin\Debug\Test_OpenHelpFile.pdb +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.csprojAssemblyReference.cache +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.Properties.Resources.resources +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.csproj.GenerateResource.cache +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.exe +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.pdb +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\bin\Debug\OpenHelpFile.dll +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\bin\Debug\OpenHelpFile.pdb +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.csproj.CopyComplete +H:\Programmieren\Git-Repository\VisualStudio\2017\_DLL\OpenHelpFile.git\Test_OpenHelpFile\obj\Debug\Test_OpenHelpFile.Form1.resources diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.GenerateResource.cache b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.GenerateResource.cache new file mode 100644 index 0000000..02e97dc Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csproj.GenerateResource.cache differ diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csprojAssemblyReference.cache b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csprojAssemblyReference.cache new file mode 100644 index 0000000..7729092 Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.csprojAssemblyReference.cache differ diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.exe b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.exe new file mode 100644 index 0000000..976911f Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.exe differ diff --git a/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.pdb b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.pdb new file mode 100644 index 0000000..84d2351 Binary files /dev/null and b/Test_OpenHelpFile/obj/Debug/Test_OpenHelpFile.pdb differ