diff --git a/KatekTracability/KatekTracability.Designer.cs b/KatekTracability/KatekTracability.Designer.cs
index 878f6be..5477a67 100644
--- a/KatekTracability/KatekTracability.Designer.cs
+++ b/KatekTracability/KatekTracability.Designer.cs
@@ -28,10 +28,18 @@
///
private void InitializeComponent()
{
- components = new System.ComponentModel.Container();
- this.ServiceName = "Service1";
+ this.eventLog1 = new System.Diagnostics.EventLog();
+ ((System.ComponentModel.ISupportInitialize)(this.eventLog1)).BeginInit();
+ //
+ // KatekTracability
+ //
+ this.ServiceName = "KatekTracability";
+ ((System.ComponentModel.ISupportInitialize)(this.eventLog1)).EndInit();
+
}
#endregion
+
+ private System.Diagnostics.EventLog eventLog1;
}
}
diff --git a/KatekTracability/KatekTracability.cs b/KatekTracability/KatekTracability.cs
index 4be97cf..20d5142 100644
--- a/KatekTracability/KatekTracability.cs
+++ b/KatekTracability/KatekTracability.cs
@@ -15,10 +15,18 @@ namespace KatekTracability
public KatekTracability()
{
InitializeComponent();
+ eventLog1 = new System.Diagnostics.EventLog();
+ if (!System.Diagnostics.EventLog.SourceExists("KatekTracability"))
+ {
+ System.Diagnostics.EventLog.CreateEventSource("KatekTracability", "MyNewLog");
+ }
+ eventLog1.Source = "KatekTracability";
+ eventLog1.Log = "MyNewLog";
}
protected override void OnStart(string[] args)
{
+ eventLog1.WriteEntry("KatekTracabilityService started");
}
protected override void OnStop()
diff --git a/KatekTracability/KatekTracability.csproj b/KatekTracability/KatekTracability.csproj
index 6b994cc..c768c52 100644
--- a/KatekTracability/KatekTracability.csproj
+++ b/KatekTracability/KatekTracability.csproj
@@ -56,5 +56,10 @@
+
+
+ KatekTracability.cs
+
+
\ No newline at end of file
diff --git a/KatekTracability/KatekTracability.resx b/KatekTracability/KatekTracability.resx
new file mode 100644
index 0000000..4cdd336
--- /dev/null
+++ b/KatekTracability/KatekTracability.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ 17, 17
+
+
+ False
+
+
\ No newline at end of file