commit c600341af55bd02ee14e404cd1ac95dcf2d3909f Author: Hoeglinger Eugen Date: Mon May 16 16:10:28 2022 +0200 Initialized - Klassenbibliothek zum ausgeben von Tag, Datum, Zeit und zum Stoppen diff --git a/.vs/Time.git/v17/.suo b/.vs/Time.git/v17/.suo new file mode 100644 index 0000000..8ae2760 Binary files /dev/null and b/.vs/Time.git/v17/.suo differ diff --git a/Test_Time/App.config b/Test_Time/App.config new file mode 100644 index 0000000..5ffd8f8 --- /dev/null +++ b/Test_Time/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Test_Time/Form1.Designer.cs b/Test_Time/Form1.Designer.cs new file mode 100644 index 0000000..7ab76cc --- /dev/null +++ b/Test_Time/Form1.Designer.cs @@ -0,0 +1,248 @@ +namespace Test_Time +{ + 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.buttonShowDuration = 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.buttonStopTime = new System.Windows.Forms.Button(); + this.buttonStartTime = new System.Windows.Forms.Button(); + this.buttonShowCurrentTimeMs = new System.Windows.Forms.Button(); + this.buttonShowCurrentTime = new System.Windows.Forms.Button(); + this.labelResult = new System.Windows.Forms.Label(); + this.buttonShowcurrentDate = new System.Windows.Forms.Button(); + this.buttonShowDateAndTime = new System.Windows.Forms.Button(); + this.buttonShowDateAndTimeMs = new System.Windows.Forms.Button(); + this.buttonShowCurrentDay = new System.Windows.Forms.Button(); + this.buttonCurrentDayDateTime = new System.Windows.Forms.Button(); + this.groupBoxProgramInfo.SuspendLayout(); + this.groupBoxDLLInfo.SuspendLayout(); + this.SuspendLayout(); + // + // buttonShowDuration + // + this.buttonShowDuration.Location = new System.Drawing.Point(12, 316); + this.buttonShowDuration.Name = "buttonShowDuration"; + this.buttonShowDuration.Size = new System.Drawing.Size(776, 23); + this.buttonShowDuration.TabIndex = 0; + this.buttonShowDuration.Text = "Show Duration"; + this.buttonShowDuration.UseVisualStyleBackColor = true; + this.buttonShowDuration.Click += new System.EventHandler(this.buttonShowDuration_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 = "..."; + // + // buttonStopTime + // + this.buttonStopTime.Location = new System.Drawing.Point(12, 287); + this.buttonStopTime.Name = "buttonStopTime"; + this.buttonStopTime.Size = new System.Drawing.Size(776, 23); + this.buttonStopTime.TabIndex = 13; + this.buttonStopTime.Text = "Stop Time"; + this.buttonStopTime.UseVisualStyleBackColor = true; + this.buttonStopTime.Click += new System.EventHandler(this.buttonStopTime_Click); + // + // buttonStartTime + // + this.buttonStartTime.Location = new System.Drawing.Point(12, 258); + this.buttonStartTime.Name = "buttonStartTime"; + this.buttonStartTime.Size = new System.Drawing.Size(776, 23); + this.buttonStartTime.TabIndex = 14; + this.buttonStartTime.Text = "Start Time"; + this.buttonStartTime.UseVisualStyleBackColor = true; + this.buttonStartTime.Click += new System.EventHandler(this.buttonStartTime_Click); + // + // buttonShowCurrentTimeMs + // + this.buttonShowCurrentTimeMs.Location = new System.Drawing.Point(12, 142); + this.buttonShowCurrentTimeMs.Name = "buttonShowCurrentTimeMs"; + this.buttonShowCurrentTimeMs.Size = new System.Drawing.Size(776, 23); + this.buttonShowCurrentTimeMs.TabIndex = 15; + this.buttonShowCurrentTimeMs.Text = "Show Current Time (ms)"; + this.buttonShowCurrentTimeMs.UseVisualStyleBackColor = true; + this.buttonShowCurrentTimeMs.Click += new System.EventHandler(this.buttonShowCurrentTimeMs_Click); + // + // buttonShowCurrentTime + // + this.buttonShowCurrentTime.Location = new System.Drawing.Point(12, 113); + this.buttonShowCurrentTime.Name = "buttonShowCurrentTime"; + this.buttonShowCurrentTime.Size = new System.Drawing.Size(776, 23); + this.buttonShowCurrentTime.TabIndex = 16; + this.buttonShowCurrentTime.Text = "Show Current Time"; + this.buttonShowCurrentTime.UseVisualStyleBackColor = true; + this.buttonShowCurrentTime.Click += new System.EventHandler(this.buttonShowCurrentTime_Click); + // + // labelResult + // + this.labelResult.AutoSize = true; + this.labelResult.Location = new System.Drawing.Point(12, 13); + this.labelResult.Name = "labelResult"; + this.labelResult.Size = new System.Drawing.Size(16, 13); + this.labelResult.TabIndex = 17; + this.labelResult.Text = "..."; + // + // buttonShowcurrentDate + // + this.buttonShowcurrentDate.Location = new System.Drawing.Point(12, 84); + this.buttonShowcurrentDate.Name = "buttonShowcurrentDate"; + this.buttonShowcurrentDate.Size = new System.Drawing.Size(776, 23); + this.buttonShowcurrentDate.TabIndex = 18; + this.buttonShowcurrentDate.Text = "Show Current Date"; + this.buttonShowcurrentDate.UseVisualStyleBackColor = true; + this.buttonShowcurrentDate.Click += new System.EventHandler(this.buttonShowcurrentDate_Click); + // + // buttonShowDateAndTime + // + this.buttonShowDateAndTime.Location = new System.Drawing.Point(12, 171); + this.buttonShowDateAndTime.Name = "buttonShowDateAndTime"; + this.buttonShowDateAndTime.Size = new System.Drawing.Size(776, 23); + this.buttonShowDateAndTime.TabIndex = 19; + this.buttonShowDateAndTime.Text = "Show Date and Time"; + this.buttonShowDateAndTime.UseVisualStyleBackColor = true; + this.buttonShowDateAndTime.Click += new System.EventHandler(this.buttonShowDateAndTime_Click); + // + // buttonShowDateAndTimeMs + // + this.buttonShowDateAndTimeMs.Location = new System.Drawing.Point(12, 200); + this.buttonShowDateAndTimeMs.Name = "buttonShowDateAndTimeMs"; + this.buttonShowDateAndTimeMs.Size = new System.Drawing.Size(776, 23); + this.buttonShowDateAndTimeMs.TabIndex = 20; + this.buttonShowDateAndTimeMs.Text = "Show Date And Time (ms)"; + this.buttonShowDateAndTimeMs.UseVisualStyleBackColor = true; + this.buttonShowDateAndTimeMs.Click += new System.EventHandler(this.buttonShowDateAndTimeMs_Click); + // + // buttonShowCurrentDay + // + this.buttonShowCurrentDay.Location = new System.Drawing.Point(12, 55); + this.buttonShowCurrentDay.Name = "buttonShowCurrentDay"; + this.buttonShowCurrentDay.Size = new System.Drawing.Size(776, 23); + this.buttonShowCurrentDay.TabIndex = 21; + this.buttonShowCurrentDay.Text = "Show Current Day"; + this.buttonShowCurrentDay.UseVisualStyleBackColor = true; + this.buttonShowCurrentDay.Click += new System.EventHandler(this.buttonShowCurrentDay_Click); + // + // buttonCurrentDayDateTime + // + this.buttonCurrentDayDateTime.Location = new System.Drawing.Point(12, 229); + this.buttonCurrentDayDateTime.Name = "buttonCurrentDayDateTime"; + this.buttonCurrentDayDateTime.Size = new System.Drawing.Size(776, 23); + this.buttonCurrentDayDateTime.TabIndex = 22; + this.buttonCurrentDayDateTime.Text = "Show Current Day, Date and Time"; + this.buttonCurrentDayDateTime.UseVisualStyleBackColor = true; + this.buttonCurrentDayDateTime.Click += new System.EventHandler(this.buttonCurrentDayDateTime_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.buttonCurrentDayDateTime); + this.Controls.Add(this.buttonShowCurrentDay); + this.Controls.Add(this.buttonShowDateAndTimeMs); + this.Controls.Add(this.buttonShowDateAndTime); + this.Controls.Add(this.buttonShowcurrentDate); + this.Controls.Add(this.labelResult); + this.Controls.Add(this.buttonShowCurrentTime); + this.Controls.Add(this.buttonShowCurrentTimeMs); + this.Controls.Add(this.buttonStartTime); + this.Controls.Add(this.buttonStopTime); + this.Controls.Add(this.groupBoxProgramInfo); + this.Controls.Add(this.groupBoxDLLInfo); + this.Controls.Add(this.buttonShowDuration); + this.Name = "Form1"; + this.Text = "Test_InfoBox"; + 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 buttonShowDuration; + 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 buttonStopTime; + private System.Windows.Forms.Button buttonStartTime; + private System.Windows.Forms.Button buttonShowCurrentTimeMs; + private System.Windows.Forms.Button buttonShowCurrentTime; + private System.Windows.Forms.Label labelResult; + private System.Windows.Forms.Button buttonShowcurrentDate; + private System.Windows.Forms.Button buttonShowDateAndTime; + private System.Windows.Forms.Button buttonShowDateAndTimeMs; + private System.Windows.Forms.Button buttonShowCurrentDay; + private System.Windows.Forms.Button buttonCurrentDayDateTime; + } +} + diff --git a/Test_Time/Form1.cs b/Test_Time/Form1.cs new file mode 100644 index 0000000..cd3a998 --- /dev/null +++ b/Test_Time/Form1.cs @@ -0,0 +1,181 @@ +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_Time +{ + 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 = System.Reflection.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) + { + labelProgramInfo.Text = String.Concat(ProgramName, "\r\n", ProgramVersion, "\r\n", Copyright); // Zeigt die Programm-Information an + + labelDLLInfo.Text = String.Concat(Time.DllName, "\r\n", Time.DllVersion, "\r\n", Time.Copyright); // Zeigt die DLL-Information an + } + + private void buttonShowCurrentDay_Click(object sender, EventArgs e) + { + labelResult.Text = String.Concat("The current date is ", Time.CurrentDay()); + } + + private void buttonShowcurrentDate_Click(object sender, EventArgs e) + { + labelResult.Text = String.Concat("The current date is ", Time.CurrentDate()); + } + + private void buttonShowCurrentTime_Click(object sender, EventArgs e) + { + labelResult.Text = Time.CurrentTime(Time.WriteMillisecond.No); + } + + private void buttonShowCurrentTimeMs_Click(object sender, EventArgs e) + { + labelResult.Text = Time.CurrentTime(Time.WriteMillisecond.Yes); + } + + private void buttonShowDateAndTime_Click(object sender, EventArgs e) + { + labelResult.Text = Time.CurrentDateAndTime(Time.WriteMillisecond.No); + } + + private void buttonShowDateAndTimeMs_Click(object sender, EventArgs e) + { + labelResult.Text = Time.CurrentDateAndTime(Time.WriteMillisecond.Yes); + } + + private void buttonCurrentDayDateTime_Click(object sender, EventArgs e) + { + labelResult.Text = Time.CurrentDayDateTime(); + } + + Time.StopWatch stopWatch = new Time.StopWatch(); + private void buttonStartTime_Click(object sender, EventArgs e) + { + stopWatch.Start(); + labelResult.Text = String.Concat("Stop Watch started at ", Time.CurrentTime(Time.WriteMillisecond.Yes)); + } + + private void buttonStopTime_Click(object sender, EventArgs e) + { + stopWatch.Stop(); + labelResult.Text = String.Concat("Stop Watch stoped at ", Time.CurrentTime(Time.WriteMillisecond.Yes)); + } + + private void buttonShowDuration_Click(object sender, EventArgs e) + { + string durationtime = stopWatch.DurationTime(); + if (String.IsNullOrEmpty(durationtime)) + { + MessageBox.Show("The stopwatch must be stopped before\n\rthe duration time can be calculated.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + else + { + labelResult.Text = String.Concat("The duraton time is ", durationtime); + } + } + } +} diff --git a/Test_Time/Form1.resx b/Test_Time/Form1.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Test_Time/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_Time/Program.cs b/Test_Time/Program.cs new file mode 100644 index 0000000..75fa5a4 --- /dev/null +++ b/Test_Time/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_Time +{ + 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_Time/Properties/AssemblyInfo.cs b/Test_Time/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..046d495 --- /dev/null +++ b/Test_Time/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_Time")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Test_Time")] +[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("b74a39d6-e702-4bb2-8156-717dc925c99a")] + +// 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")] diff --git a/Test_Time/Properties/Resources.Designer.cs b/Test_Time/Properties/Resources.Designer.cs new file mode 100644 index 0000000..636468b --- /dev/null +++ b/Test_Time/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; + +namespace Test_Time.Properties +{ + /// + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if (object.ReferenceEquals(resourceMan, null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Test_Time.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Test_Time/Properties/Resources.resx b/Test_Time/Properties/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/Test_Time/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_Time/Properties/Settings.Designer.cs b/Test_Time/Properties/Settings.Designer.cs new file mode 100644 index 0000000..ae3e4de --- /dev/null +++ b/Test_Time/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace Test_Time.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Test_Time/Properties/Settings.settings b/Test_Time/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Test_Time/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Test_Time/Test_Time.csproj b/Test_Time/Test_Time.csproj new file mode 100644 index 0000000..58787c0 --- /dev/null +++ b/Test_Time/Test_Time.csproj @@ -0,0 +1,87 @@ + + + + + Debug + AnyCPU + {B74A39D6-E702-4BB2-8156-717DC925C99A} + WinExe + Test_Time + Test_Time + v4.8 + 512 + true + false + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\Time\bin\Debug\hetime.dll + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/Test_Time/bin/Debug/Test_Time.exe b/Test_Time/bin/Debug/Test_Time.exe new file mode 100644 index 0000000..f68a7e2 Binary files /dev/null and b/Test_Time/bin/Debug/Test_Time.exe differ diff --git a/Test_Time/bin/Debug/Test_Time.exe.config b/Test_Time/bin/Debug/Test_Time.exe.config new file mode 100644 index 0000000..5ffd8f8 --- /dev/null +++ b/Test_Time/bin/Debug/Test_Time.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Test_Time/bin/Debug/Test_Time.pdb b/Test_Time/bin/Debug/Test_Time.pdb new file mode 100644 index 0000000..7d9f9e9 Binary files /dev/null and b/Test_Time/bin/Debug/Test_Time.pdb differ diff --git a/Test_Time/bin/Debug/hetime.dll b/Test_Time/bin/Debug/hetime.dll new file mode 100644 index 0000000..db14136 Binary files /dev/null and b/Test_Time/bin/Debug/hetime.dll differ diff --git a/Test_Time/bin/Debug/hetime.pdb b/Test_Time/bin/Debug/hetime.pdb new file mode 100644 index 0000000..96f3d56 Binary files /dev/null and b/Test_Time/bin/Debug/hetime.pdb differ diff --git a/Test_Time/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/Test_Time/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..3cf0af3 --- /dev/null +++ b/Test_Time/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/Test_Time/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Test_Time/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..2a64df3 Binary files /dev/null and b/Test_Time/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Test_Time/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test_Time/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..cd65ab5 Binary files /dev/null and b/Test_Time/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test_Time/obj/Debug/Test_Time.Form1.resources b/Test_Time/obj/Debug/Test_Time.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_Time/obj/Debug/Test_Time.Form1.resources differ diff --git a/Test_Time/obj/Debug/Test_Time.Properties.Resources.resources b/Test_Time/obj/Debug/Test_Time.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_Time/obj/Debug/Test_Time.Properties.Resources.resources differ diff --git a/Test_Time/obj/Debug/Test_Time.csproj.AssemblyReference.cache b/Test_Time/obj/Debug/Test_Time.csproj.AssemblyReference.cache new file mode 100644 index 0000000..e222088 Binary files /dev/null and b/Test_Time/obj/Debug/Test_Time.csproj.AssemblyReference.cache differ diff --git a/Test_Time/obj/Debug/Test_Time.csproj.CopyComplete b/Test_Time/obj/Debug/Test_Time.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Test_Time/obj/Debug/Test_Time.csproj.CoreCompileInputs.cache b/Test_Time/obj/Debug/Test_Time.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..4d8527c --- /dev/null +++ b/Test_Time/obj/Debug/Test_Time.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +ea97f415cb45556d3deaf0518098d33f5588eb6f diff --git a/Test_Time/obj/Debug/Test_Time.csproj.FileListAbsolute.txt b/Test_Time/obj/Debug/Test_Time.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4542999 --- /dev/null +++ b/Test_Time/obj/Debug/Test_Time.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\bin\Debug\Test_Time.exe.config +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\bin\Debug\Test_Time.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\bin\Debug\Test_Time.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\bin\Debug\hetime.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\bin\Debug\hetime.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.csproj.SuggestedBindingRedirects.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.Form1.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.Properties.Resources.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.csproj.GenerateResource.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.csproj.CopyComplete +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Test_Time\obj\Debug\Test_Time.pdb diff --git a/Test_Time/obj/Debug/Test_Time.csproj.GenerateResource.cache b/Test_Time/obj/Debug/Test_Time.csproj.GenerateResource.cache new file mode 100644 index 0000000..9c28ef9 Binary files /dev/null and b/Test_Time/obj/Debug/Test_Time.csproj.GenerateResource.cache differ diff --git a/Test_Time/obj/Debug/Test_Time.csproj.SuggestedBindingRedirects.cache b/Test_Time/obj/Debug/Test_Time.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/Test_Time/obj/Debug/Test_Time.exe b/Test_Time/obj/Debug/Test_Time.exe new file mode 100644 index 0000000..f68a7e2 Binary files /dev/null and b/Test_Time/obj/Debug/Test_Time.exe differ diff --git a/Test_Time/obj/Debug/Test_Time.pdb b/Test_Time/obj/Debug/Test_Time.pdb new file mode 100644 index 0000000..7d9f9e9 Binary files /dev/null and b/Test_Time/obj/Debug/Test_Time.pdb differ diff --git a/Time.git.sln b/Time.git.sln new file mode 100644 index 0000000..238bea0 --- /dev/null +++ b/Time.git.sln @@ -0,0 +1,31 @@ + +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}") = "Test_Time", "Test_Time\Test_Time.csproj", "{B74A39D6-E702-4BB2-8156-717DC925C99A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Time", "Time\Time.csproj", "{10ED0B1C-768E-48D6-AE32-2828D47E2C52}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B74A39D6-E702-4BB2-8156-717DC925C99A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B74A39D6-E702-4BB2-8156-717DC925C99A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B74A39D6-E702-4BB2-8156-717DC925C99A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B74A39D6-E702-4BB2-8156-717DC925C99A}.Release|Any CPU.Build.0 = Release|Any CPU + {10ED0B1C-768E-48D6-AE32-2828D47E2C52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {10ED0B1C-768E-48D6-AE32-2828D47E2C52}.Debug|Any CPU.Build.0 = Debug|Any CPU + {10ED0B1C-768E-48D6-AE32-2828D47E2C52}.Release|Any CPU.ActiveCfg = Release|Any CPU + {10ED0B1C-768E-48D6-AE32-2828D47E2C52}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {95F9F73A-8221-45B2-AAEA-27B376333B8F} + EndGlobalSection +EndGlobal diff --git a/Time/Properties/AssemblyInfo.cs b/Time/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9d3b18a --- /dev/null +++ b/Time/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("Time")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Time")] +[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("10ed0b1c-768e-48d6-ae32-2828d47e2c52")] + +// 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/Time/Time.cs b/Time/Time.cs new file mode 100644 index 0000000..f5d5eb9 --- /dev/null +++ b/Time/Time.cs @@ -0,0 +1,259 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace Eugen.ESystem +{ + public class Time + { + #region Version und Copyright + // Version und Copyright + static string dllName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen + static string dllVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + static string copyright = GenerateCopyright(); + + //Assembly Datum und Zeit + static DateTime value = AssemblyDateTime(); + static string date = value.ToShortDateString(); + static string time = value.ToLongTimeString(); + + private static DateTime AssemblyDateTime() + { + var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; + var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision)); + //Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original) + return buildDateTime; + } + + private static string CurrentYear() + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + + private static string StartYear() + { + string startYear = ""; + if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © ")) + { + startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", ""); + while (startYear.StartsWith(" ")) + { + startYear = startYear.Remove(0, 1); + } + + if (startYear.Contains("-")) + { + startYear = startYear.Remove(startYear.IndexOf("-")); + } + else + { + startYear = startYear.Remove(startYear.IndexOf(" ")); + } + return startYear; + } + else + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + } + + private static string GenerateCopyright() + { + string startYear = StartYear(); + string currentYear = CurrentYear(); + + if (startYear == currentYear) + { + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + else + { + string temp = ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + string start = temp.Remove(temp.IndexOf(startYear) - 1); + string end = (temp.Remove(0, temp.IndexOf(" by"))); + + return String.Concat(start, " ", startYear, "-", currentYear, end); + } + } + #endregion + + #region DLL-Info + /// + /// Contains the name of the dll file. + /// + public static string DllName { private set; get; } + + /// + /// Contains the version of the dll file. + /// + public static string DllVersion { private set; get; } + + /// + /// Contains the copyright notice. + /// + public static string Copyright { private set; get; } + + /// + /// Contains the name-, version- and copyright-information of the dll file. + /// + public static string[] DllInfo { private set; get; } + + private static void SetDllInfo() + { + //Name, Version und Copyright setzen + DllName = dllName; + DllVersion = dllVersion; + Copyright = copyright; + + string[] dllInfo = new string[3]; + dllInfo[0] = dllName; + dllInfo[1] = dllVersion; + dllInfo[2] = copyright; + DllInfo = dllInfo; + } + + protected string ProgramName { private set; get; } + protected string ProgramVersion { private set; get; } + protected string ProgramCopyright { private set; get; } + #endregion + + static Time() + { + SetDllInfo(); + } + + public Time() + { + SetDllInfo(); + } + + /// + /// Write milliseconds or no + /// + public enum WriteMillisecond + { + Yes, + No + } + + private static string messageFormat = "{0:T}.{1}"; // Definiert das Mitteilungsformat + + /// + /// Current day + /// + /// The current day + public static string CurrentDay() + { + return DateTime.Now.ToString("dddd"); + } + + /// + /// Current date + /// + /// The current date + public static string CurrentDate() + { + return DateTime.Now.ToString("dd.MM.yyyy"); + } + + /// + /// Current time + /// + /// Write milliseconds or not + /// The current time + public static string CurrentTime(WriteMillisecond choice) + { + if (choice == WriteMillisecond.Yes) + { + DateTime time = DateTime.Now; + int ms = time.Millisecond; + return String.Format(messageFormat, new object[] { time, ms.ToString("000") }); + } + else + { + return DateTime.Now.ToString("hh:mm:ss"); + } + } + + /// + /// Current date and time + /// + /// Write milliseconds or not + /// The current date and time + public static string CurrentDateAndTime(WriteMillisecond choice) + { + if (choice == WriteMillisecond.Yes) + { + DateTime time = DateTime.Now; + int ms = time.Millisecond; + return String.Format(messageFormat, new object[] { time.ToString(), ms.ToString("000") }); + } + else + { + return DateTime.Now.ToString(); + } + } + + /// + /// Current day, date and time + /// + /// The current day, date and time + public static string CurrentDayDateTime() + { + return DateTime.Now.ToString("dddd, dd.MM.yyyy hh:mm:ss"); + } + + /// + /// Stop watch + /// + public class StopWatch + { + private DateTime startTime; + private DateTime endTime; + + /// + /// Starts the stopwatch + /// + /// Returns the start time + public string Start() + { + startTime = DateTime.Now; + return startTime.ToString("yyyy-MM-dd HH:mm:ss.ms"); + } + + /// + /// Stops the stopwatch + /// + /// Returns the stop time + public string Stop() + { + endTime = DateTime.Now; + return endTime.ToString("yyyy-MM-dd HH:mm:ss.ms"); + } + + /// + /// The time difference + /// + /// Returns the time difference + public string DurationTime() + { + if (startTime.ToString()!="01.01.0001 00:00:00" && startTime<=endTime) + { + TimeSpan timeSpan = endTime.Subtract(startTime); + return String.Format("{0:00}D{1:00}:{2:00}:{3:00}.{4:000}", timeSpan.Days, timeSpan.Hours, timeSpan.Minutes, timeSpan.Seconds, timeSpan.Milliseconds); + } + else + { + return String.Empty; + } + } + } + } +} diff --git a/Time/Time.csproj b/Time/Time.csproj new file mode 100644 index 0000000..1d5439f --- /dev/null +++ b/Time/Time.csproj @@ -0,0 +1,48 @@ + + + + + Debug + AnyCPU + {10ED0B1C-768E-48D6-AE32-2828D47E2C52} + Library + Properties + Eugen.ESystem + hetime + 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/Time/bin/Debug/hetime.dll b/Time/bin/Debug/hetime.dll new file mode 100644 index 0000000..db14136 Binary files /dev/null and b/Time/bin/Debug/hetime.dll differ diff --git a/Time/bin/Debug/hetime.pdb b/Time/bin/Debug/hetime.pdb new file mode 100644 index 0000000..96f3d56 Binary files /dev/null and b/Time/bin/Debug/hetime.pdb differ diff --git a/Time/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/Time/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..057ed7f --- /dev/null +++ b/Time/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/Time/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Time/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..5a2bd33 Binary files /dev/null and b/Time/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Time/obj/Debug/Time.csproj.AssemblyReference.cache b/Time/obj/Debug/Time.csproj.AssemblyReference.cache new file mode 100644 index 0000000..ce6c4ca Binary files /dev/null and b/Time/obj/Debug/Time.csproj.AssemblyReference.cache differ diff --git a/Time/obj/Debug/Time.csproj.CoreCompileInputs.cache b/Time/obj/Debug/Time.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..dc84015 --- /dev/null +++ b/Time/obj/Debug/Time.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +c377d3f18235240ab356ee582fc3797788776bfa diff --git a/Time/obj/Debug/Time.csproj.FileListAbsolute.txt b/Time/obj/Debug/Time.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..9a3936e --- /dev/null +++ b/Time/obj/Debug/Time.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Time\obj\Debug\Time.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Time\obj\Debug\Time.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Time\bin\Debug\hetime.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Time\bin\Debug\hetime.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Time\obj\Debug\hetime.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Time.git\Time\obj\Debug\hetime.pdb diff --git a/Time/obj/Debug/hetime.dll b/Time/obj/Debug/hetime.dll new file mode 100644 index 0000000..db14136 Binary files /dev/null and b/Time/obj/Debug/hetime.dll differ diff --git a/Time/obj/Debug/hetime.pdb b/Time/obj/Debug/hetime.pdb new file mode 100644 index 0000000..96f3d56 Binary files /dev/null and b/Time/obj/Debug/hetime.pdb differ