From 90544956bb2fa338a02d2cc183d58860d787cb04 Mon Sep 17 00:00:00 2001 From: Robert Einsle Date: Sat, 22 Feb 2020 11:51:21 +0100 Subject: [PATCH] =?UTF-8?q?Projektdateien=20hinzuf=C3=BCgen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KatekTracability.sln | 25 ++++++++ KatekTracability/App.config | 6 ++ KatekTracability/KatekTracability.Designer.cs | 37 ++++++++++++ KatekTracability/KatekTracability.cs | 28 +++++++++ KatekTracability/KatekTracability.csproj | 60 +++++++++++++++++++ KatekTracability/Program.cs | 25 ++++++++ KatekTracability/Properties/AssemblyInfo.cs | 36 +++++++++++ 7 files changed, 217 insertions(+) create mode 100644 KatekTracability.sln create mode 100644 KatekTracability/App.config create mode 100644 KatekTracability/KatekTracability.Designer.cs create mode 100644 KatekTracability/KatekTracability.cs create mode 100644 KatekTracability/KatekTracability.csproj create mode 100644 KatekTracability/Program.cs create mode 100644 KatekTracability/Properties/AssemblyInfo.cs diff --git a/KatekTracability.sln b/KatekTracability.sln new file mode 100644 index 0000000..3200076 --- /dev/null +++ b/KatekTracability.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29806.167 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KatekTracability", "KatekTracability\KatekTracability.csproj", "{7D30D593-B515-428D-BFFA-645EA73558B2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7D30D593-B515-428D-BFFA-645EA73558B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D30D593-B515-428D-BFFA-645EA73558B2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D30D593-B515-428D-BFFA-645EA73558B2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D30D593-B515-428D-BFFA-645EA73558B2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DFA32780-4BA7-42D2-A457-18EFF892D00A} + EndGlobalSection +EndGlobal diff --git a/KatekTracability/App.config b/KatekTracability/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/KatekTracability/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/KatekTracability/KatekTracability.Designer.cs b/KatekTracability/KatekTracability.Designer.cs new file mode 100644 index 0000000..878f6be --- /dev/null +++ b/KatekTracability/KatekTracability.Designer.cs @@ -0,0 +1,37 @@ +namespace KatekTracability +{ + partial class KatekTracability + { + /// + /// 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 Komponenten-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() + { + components = new System.ComponentModel.Container(); + this.ServiceName = "Service1"; + } + + #endregion + } +} diff --git a/KatekTracability/KatekTracability.cs b/KatekTracability/KatekTracability.cs new file mode 100644 index 0000000..4be97cf --- /dev/null +++ b/KatekTracability/KatekTracability.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Linq; +using System.ServiceProcess; +using System.Text; +using System.Threading.Tasks; + +namespace KatekTracability +{ + public partial class KatekTracability : ServiceBase + { + public KatekTracability() + { + InitializeComponent(); + } + + protected override void OnStart(string[] args) + { + } + + protected override void OnStop() + { + } + } +} diff --git a/KatekTracability/KatekTracability.csproj b/KatekTracability/KatekTracability.csproj new file mode 100644 index 0000000..6b994cc --- /dev/null +++ b/KatekTracability/KatekTracability.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {7D30D593-B515-428D-BFFA-645EA73558B2} + WinExe + KatekTracability + KatekTracability + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + Component + + + KatekTracability.cs + + + + + + + + + \ No newline at end of file diff --git a/KatekTracability/Program.cs b/KatekTracability/Program.cs new file mode 100644 index 0000000..adefff7 --- /dev/null +++ b/KatekTracability/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.ServiceProcess; +using System.Text; +using System.Threading.Tasks; + +namespace KatekTracability +{ + static class Program + { + /// + /// Der Haupteinstiegspunkt für die Anwendung. + /// + static void Main() + { + ServiceBase[] ServicesToRun; + ServicesToRun = new ServiceBase[] + { + new KatekTracability() + }; + ServiceBase.Run(ServicesToRun); + } + } +} diff --git a/KatekTracability/Properties/AssemblyInfo.cs b/KatekTracability/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f3975b7 --- /dev/null +++ b/KatekTracability/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("KatekTracability")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("KatekTracability")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[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("7d30d593-b515-428d-bffa-645ea73558b2")] + +// 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.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]