commit 96e5e8550d6520a18447671d3953c7d643d6db24 Author: Eugen Höglinger Date: Wed Oct 9 10:32:21 2024 +0200 Kleine Änderungen diff --git a/.vs/MsgBoxBasic.git/v16/.suo b/.vs/MsgBoxBasic.git/v16/.suo new file mode 100644 index 0000000..a03116f Binary files /dev/null and b/.vs/MsgBoxBasic.git/v16/.suo differ diff --git a/MsgBoxBasic.git.sln b/MsgBoxBasic.git.sln new file mode 100644 index 0000000..89c1f0e --- /dev/null +++ b/MsgBoxBasic.git.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31205.134 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgBoxBasic", "MsgBoxBasic\MsgBoxBasic.csproj", "{E9960CB0-212E-4672-868F-BFD87BD16993}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test-MsgBoxBasic", "Test-MsgBoxBasic\Test-MsgBoxBasic.csproj", "{107CB684-6441-4567-9D17-7D67A655BAAD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E9960CB0-212E-4672-868F-BFD87BD16993}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E9960CB0-212E-4672-868F-BFD87BD16993}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E9960CB0-212E-4672-868F-BFD87BD16993}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E9960CB0-212E-4672-868F-BFD87BD16993}.Release|Any CPU.Build.0 = Release|Any CPU + {107CB684-6441-4567-9D17-7D67A655BAAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {107CB684-6441-4567-9D17-7D67A655BAAD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {107CB684-6441-4567-9D17-7D67A655BAAD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {107CB684-6441-4567-9D17-7D67A655BAAD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9A02B097-D9DD-4600-91FC-B60E1B84F673} + EndGlobalSection +EndGlobal diff --git a/MsgBoxBasic/MsgBoxBasic.Designer.cs b/MsgBoxBasic/MsgBoxBasic.Designer.cs new file mode 100644 index 0000000..2fdb93e --- /dev/null +++ b/MsgBoxBasic/MsgBoxBasic.Designer.cs @@ -0,0 +1,88 @@ + +namespace Eugen.ESystem.Windows.Forms +{ + partial class MsgBoxBasic + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.button1.Location = new System.Drawing.Point(12, 434); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 0; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + // + // button2 + // + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.button2.Location = new System.Drawing.Point(359, 434); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 1; + this.button2.Text = "button2"; + this.button2.UseVisualStyleBackColor = true; + // + // button3 + // + this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.button3.Location = new System.Drawing.Point(705, 434); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(75, 23); + this.button3.TabIndex = 2; + this.button3.Text = "button3"; + this.button3.UseVisualStyleBackColor = true; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(792, 469); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Name = "Form1"; + this.Text = "MsgBoxBasic"; + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + } +} \ No newline at end of file diff --git a/MsgBoxBasic/MsgBoxBasic.cs b/MsgBoxBasic/MsgBoxBasic.cs new file mode 100644 index 0000000..0284b4e --- /dev/null +++ b/MsgBoxBasic/MsgBoxBasic.cs @@ -0,0 +1,142 @@ +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; + +namespace Eugen.ESystem.Windows.Forms +{ + public partial class MsgBoxBasic : Form + { + #region Version und Copyright + // Version und Copyright + string dllName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen + string dllVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + string copyright = GenerateCopyright(); + //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 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 void SetDllInfo() + { + //Name, Version und Copyright setzen + DllName = dllName; + DllVersion = dllVersion; + Copyright = this.copyright; + + string[] dllInfo = new string[3]; + dllInfo[0] = dllName; + dllInfo[1] = dllVersion; + dllInfo[2] = this.copyright; + DllInfo = dllInfo; + } + + protected string ProgramName { private set; get; } + protected string ProgramVersion { private set; get; } + protected string ProgramCopyright { private set; get; } + #endregion + + public MsgBoxBasic() + { + SetDllInfo(); + InitializeComponent(); + } + + /// + /// Sets a user specific window size. + /// + /// A value greater than 400. + /// A value greater than 300. + public void SetSize(int width, int height) + { + if (width < 400) + { + width = 400; + } + if (height < 300) + { + height = 300; + } + this.ClientSize = new System.Drawing.Size(width, height); + } + } +} diff --git a/MsgBoxBasic/MsgBoxBasic.csproj b/MsgBoxBasic/MsgBoxBasic.csproj new file mode 100644 index 0000000..e73239e --- /dev/null +++ b/MsgBoxBasic/MsgBoxBasic.csproj @@ -0,0 +1,61 @@ + + + + + Debug + AnyCPU + {E9960CB0-212E-4672-868F-BFD87BD16993} + Library + Properties + MsgBoxBasic + MsgBoxBasic + v4.6.1 + 512 + false + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + MsgBoxBasic.cs + + + + + + MsgBoxBasic.cs + + + + \ No newline at end of file diff --git a/MsgBoxBasic/MsgBoxBasic.resx b/MsgBoxBasic/MsgBoxBasic.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MsgBoxBasic/MsgBoxBasic.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/MsgBoxBasic/Properties/AssemblyInfo.cs b/MsgBoxBasic/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d960487 --- /dev/null +++ b/MsgBoxBasic/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("MsgBoxBasic")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MsgBoxBasic")] +[assembly: AssemblyCopyright("Copyright © 2021 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("e9960cb0-212e-4672-868f-bfd87bd16993")] + +// 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/MsgBoxBasic/bin/Debug/MsgBoxBasic.dll b/MsgBoxBasic/bin/Debug/MsgBoxBasic.dll new file mode 100644 index 0000000..51a7c9f Binary files /dev/null and b/MsgBoxBasic/bin/Debug/MsgBoxBasic.dll differ diff --git a/MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb b/MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb new file mode 100644 index 0000000..9243d70 Binary files /dev/null and b/MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb differ diff --git a/MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs b/MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs new file mode 100644 index 0000000..3aa5318 --- /dev/null +++ b/MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")] diff --git a/MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/MsgBoxBasic/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/MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..3f43d9d Binary files /dev/null and b/MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..5852af5 Binary files /dev/null and b/MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/MsgBoxBasic/obj/Debug/Eugen.ESystem.Windows.Forms.MsgBoxBasic.resources b/MsgBoxBasic/obj/Debug/Eugen.ESystem.Windows.Forms.MsgBoxBasic.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/MsgBoxBasic/obj/Debug/Eugen.ESystem.Windows.Forms.MsgBoxBasic.resources differ diff --git a/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.CoreCompileInputs.cache b/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..1adce2a --- /dev/null +++ b/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +486fe51a8f3a18e35f5ec6ae079156f482ea4ddf diff --git a/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.FileListAbsolute.txt b/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..08cc95e --- /dev/null +++ b/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.FileListAbsolute.txt @@ -0,0 +1,7 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\bin\Debug\MsgBoxBasic.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\bin\Debug\MsgBoxBasic.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\obj\Debug\MsgBoxBasic.csproj.GenerateResource.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\obj\Debug\MsgBoxBasic.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\obj\Debug\MsgBoxBasic.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\obj\Debug\MsgBoxBasic.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\MsgBoxBasic\obj\Debug\Eugen.ESystem.Windows.Forms.MsgBoxBasic.resources diff --git a/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.GenerateResource.cache b/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.GenerateResource.cache new file mode 100644 index 0000000..950c17c Binary files /dev/null and b/MsgBoxBasic/obj/Debug/MsgBoxBasic.csproj.GenerateResource.cache differ diff --git a/MsgBoxBasic/obj/Debug/MsgBoxBasic.dll b/MsgBoxBasic/obj/Debug/MsgBoxBasic.dll new file mode 100644 index 0000000..51a7c9f Binary files /dev/null and b/MsgBoxBasic/obj/Debug/MsgBoxBasic.dll differ diff --git a/MsgBoxBasic/obj/Debug/MsgBoxBasic.pdb b/MsgBoxBasic/obj/Debug/MsgBoxBasic.pdb new file mode 100644 index 0000000..9243d70 Binary files /dev/null and b/MsgBoxBasic/obj/Debug/MsgBoxBasic.pdb differ diff --git a/Test-MsgBoxBasic/App.config b/Test-MsgBoxBasic/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/Test-MsgBoxBasic/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Test-MsgBoxBasic/Form1.Designer.cs b/Test-MsgBoxBasic/Form1.Designer.cs new file mode 100644 index 0000000..955bd58 --- /dev/null +++ b/Test-MsgBoxBasic/Form1.Designer.cs @@ -0,0 +1,119 @@ + +namespace Test_MsgBoxBasic +{ + partial class Form1 + { + /// + /// Erforderliche Designervariable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Verwendete Ressourcen bereinigen. + /// + /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Windows Form-Designer generierter Code + + /// + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// + private void InitializeComponent() + { + this.buttonRunProgram = new System.Windows.Forms.Button(); + this.groupBoxProgramInfo = new System.Windows.Forms.GroupBox(); + this.labelProgramInfo = new System.Windows.Forms.Label(); + this.groupBoxDLLInfo = new System.Windows.Forms.GroupBox(); + this.labelDLLInfo = new System.Windows.Forms.Label(); + this.groupBoxProgramInfo.SuspendLayout(); + this.groupBoxDLLInfo.SuspendLayout(); + this.SuspendLayout(); + // + // buttonRunProgram + // + this.buttonRunProgram.Location = new System.Drawing.Point(12, 287); + this.buttonRunProgram.Name = "buttonRunProgram"; + this.buttonRunProgram.Size = new System.Drawing.Size(776, 23); + this.buttonRunProgram.TabIndex = 0; + this.buttonRunProgram.Text = "Programm ausführen"; + this.buttonRunProgram.UseVisualStyleBackColor = true; + this.buttonRunProgram.Click += new System.EventHandler(this.buttonRunProgram_Click); + // + // groupBoxProgramInfo + // + this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo); + this.groupBoxProgramInfo.Location = new System.Drawing.Point(12, 372); + this.groupBoxProgramInfo.Name = "groupBoxProgramInfo"; + this.groupBoxProgramInfo.Size = new System.Drawing.Size(385, 66); + this.groupBoxProgramInfo.TabIndex = 11; + this.groupBoxProgramInfo.TabStop = false; + this.groupBoxProgramInfo.Text = "Programm Information"; + // + // labelProgramInfo + // + this.labelProgramInfo.AutoSize = true; + this.labelProgramInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.labelProgramInfo.Location = new System.Drawing.Point(7, 20); + this.labelProgramInfo.Name = "labelProgramInfo"; + this.labelProgramInfo.Size = new System.Drawing.Size(16, 13); + this.labelProgramInfo.TabIndex = 0; + this.labelProgramInfo.Text = "..."; + // + // groupBoxDLLInfo + // + this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo); + this.groupBoxDLLInfo.Location = new System.Drawing.Point(403, 372); + this.groupBoxDLLInfo.Name = "groupBoxDLLInfo"; + this.groupBoxDLLInfo.Size = new System.Drawing.Size(385, 66); + this.groupBoxDLLInfo.TabIndex = 12; + this.groupBoxDLLInfo.TabStop = false; + this.groupBoxDLLInfo.Text = "DLL Information"; + // + // labelDLLInfo + // + this.labelDLLInfo.AutoSize = true; + this.labelDLLInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.labelDLLInfo.Location = new System.Drawing.Point(7, 20); + this.labelDLLInfo.Name = "labelDLLInfo"; + this.labelDLLInfo.Size = new System.Drawing.Size(16, 13); + this.labelDLLInfo.TabIndex = 0; + this.labelDLLInfo.Text = "..."; + // + // 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.groupBoxProgramInfo); + this.Controls.Add(this.groupBoxDLLInfo); + this.Controls.Add(this.buttonRunProgram); + this.Name = "Form1"; + this.Text = "Test_MsgBoxBasic"; + 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.Button buttonRunProgram; + private System.Windows.Forms.GroupBox groupBoxProgramInfo; + private System.Windows.Forms.Label labelProgramInfo; + private System.Windows.Forms.GroupBox groupBoxDLLInfo; + private System.Windows.Forms.Label labelDLLInfo; + } +} + diff --git a/Test-MsgBoxBasic/Form1.cs b/Test-MsgBoxBasic/Form1.cs new file mode 100644 index 0000000..471e240 --- /dev/null +++ b/Test-MsgBoxBasic/Form1.cs @@ -0,0 +1,124 @@ +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.Windows.Forms; + +namespace Test_MsgBoxBasic +{ + 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 = ""; + 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 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(MsgBoxBasic.DllName, "\r\n", MsgBoxBasic.DllVersion, "\r\n", MsgBoxBasic.Copyright); // Zeigt die DLL-Information an + } + + private void buttonRunProgram_Click(object sender, EventArgs e) + { + // + //TODO: Hier Programmcode einfügen der ausgeführt werden soll + // + } + } +} diff --git a/Test-MsgBoxBasic/Form1.resx b/Test-MsgBoxBasic/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Test-MsgBoxBasic/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-MsgBoxBasic/Program.cs b/Test-MsgBoxBasic/Program.cs new file mode 100644 index 0000000..0390fd4 --- /dev/null +++ b/Test-MsgBoxBasic/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_MsgBoxBasic +{ + 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-MsgBoxBasic/Properties/AssemblyInfo.cs b/Test-MsgBoxBasic/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..84bb137 --- /dev/null +++ b/Test-MsgBoxBasic/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_InfoBox")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Test_InfoBox")] +[assembly: AssemblyCopyright("Copyright © 2021 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("107cb684-6441-4567-9d17-7d67a655baad")] + +// 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-MsgBoxBasic/Properties/Resources.Designer.cs b/Test-MsgBoxBasic/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4e33d51 --- /dev/null +++ b/Test-MsgBoxBasic/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_MsgBoxBasic.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_MsgBoxBasic.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-MsgBoxBasic/Properties/Resources.resx b/Test-MsgBoxBasic/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Test-MsgBoxBasic/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-MsgBoxBasic/Properties/Settings.Designer.cs b/Test-MsgBoxBasic/Properties/Settings.Designer.cs new file mode 100644 index 0000000..b8fc631 --- /dev/null +++ b/Test-MsgBoxBasic/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_MsgBoxBasic.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-MsgBoxBasic/Properties/Settings.settings b/Test-MsgBoxBasic/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Test-MsgBoxBasic/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Test-MsgBoxBasic/Test-MsgBoxBasic.csproj b/Test-MsgBoxBasic/Test-MsgBoxBasic.csproj new file mode 100644 index 0000000..f824e8d --- /dev/null +++ b/Test-MsgBoxBasic/Test-MsgBoxBasic.csproj @@ -0,0 +1,86 @@ + + + + + Debug + AnyCPU + {107CB684-6441-4567-9D17-7D67A655BAAD} + WinExe + Test_MsgBoxBasic + Test-MsgBoxBasic + v4.6.1 + 512 + true + false + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\MsgBoxBasic\bin\Debug\MsgBoxBasic.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-MsgBoxBasic/bin/Debug/MsgBoxBasic.dll b/Test-MsgBoxBasic/bin/Debug/MsgBoxBasic.dll new file mode 100644 index 0000000..51a7c9f Binary files /dev/null and b/Test-MsgBoxBasic/bin/Debug/MsgBoxBasic.dll differ diff --git a/Test-MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb b/Test-MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb new file mode 100644 index 0000000..9243d70 Binary files /dev/null and b/Test-MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb differ diff --git a/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.exe b/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.exe new file mode 100644 index 0000000..ea2bbf5 Binary files /dev/null and b/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.exe differ diff --git a/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.exe.config b/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.exe.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.pdb b/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.pdb new file mode 100644 index 0000000..c96f841 Binary files /dev/null and b/Test-MsgBoxBasic/bin/Debug/Test-MsgBoxBasic.pdb differ diff --git a/Test-MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs b/Test-MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs new file mode 100644 index 0000000..3aa5318 --- /dev/null +++ b/Test-MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")] diff --git a/Test-MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Test-MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..cc760d9 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Test-MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test-MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..778a447 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.CopyComplete b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.CoreCompileInputs.cache b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..f73df86 --- /dev/null +++ b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +d0d2b677ab6b5d1796e5b5b21788360019584ca5 diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.FileListAbsolute.txt b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b87f7a4 --- /dev/null +++ b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.FileListAbsolute.txt @@ -0,0 +1,13 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test-MsgBoxBasic.csprojAssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.Form1.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.Properties.Resources.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test-MsgBoxBasic.csproj.GenerateResource.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test-MsgBoxBasic.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\bin\Debug\Test-MsgBoxBasic.exe.config +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\bin\Debug\Test-MsgBoxBasic.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\bin\Debug\Test-MsgBoxBasic.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\bin\Debug\MsgBoxBasic.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\bin\Debug\MsgBoxBasic.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test-MsgBoxBasic.csproj.CopyComplete +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test-MsgBoxBasic.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test-MsgBoxBasic\obj\Debug\Test-MsgBoxBasic.pdb diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.GenerateResource.cache b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.GenerateResource.cache new file mode 100644 index 0000000..ad6ed14 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csproj.GenerateResource.cache differ diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csprojAssemblyReference.cache b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csprojAssemblyReference.cache new file mode 100644 index 0000000..d585a90 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.csprojAssemblyReference.cache differ diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.exe b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.exe new file mode 100644 index 0000000..ea2bbf5 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.exe differ diff --git a/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.pdb b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.pdb new file mode 100644 index 0000000..c96f841 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/Test-MsgBoxBasic.pdb differ diff --git a/Test-MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Form1.resources b/Test-MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Form1.resources differ diff --git a/Test-MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Properties.Resources.resources b/Test-MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test-MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Properties.Resources.resources differ diff --git a/Test_MsgBoxBasic/App.config b/Test_MsgBoxBasic/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Test_MsgBoxBasic/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Test_MsgBoxBasic/Form1.Designer.cs b/Test_MsgBoxBasic/Form1.Designer.cs new file mode 100644 index 0000000..8f1f09c --- /dev/null +++ b/Test_MsgBoxBasic/Form1.Designer.cs @@ -0,0 +1,145 @@ + +namespace Test_MsgBoxBasic +{ + 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.buttonShowInfo3 = new System.Windows.Forms.Button(); + this.buttonShowInfo2 = new System.Windows.Forms.Button(); + this.buttonShowInfo1 = 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 = 16; + 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 = 17; + 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 = "..."; + // + // buttonShowInfo3 + // + this.buttonShowInfo3.Location = new System.Drawing.Point(534, 234); + this.buttonShowInfo3.Name = "buttonShowInfo3"; + this.buttonShowInfo3.Size = new System.Drawing.Size(254, 23); + this.buttonShowInfo3.TabIndex = 15; + this.buttonShowInfo3.Text = "Show Question"; + this.buttonShowInfo3.UseVisualStyleBackColor = true; + this.buttonShowInfo3.Click += new System.EventHandler(this.buttonShowInfo3_Click); + // + // buttonShowInfo2 + // + this.buttonShowInfo2.Location = new System.Drawing.Point(273, 234); + this.buttonShowInfo2.Name = "buttonShowInfo2"; + this.buttonShowInfo2.Size = new System.Drawing.Size(254, 23); + this.buttonShowInfo2.TabIndex = 14; + this.buttonShowInfo2.Text = "Show Warning"; + this.buttonShowInfo2.UseVisualStyleBackColor = true; + this.buttonShowInfo2.Click += new System.EventHandler(this.buttonShowInfo2_Click_1); + // + // buttonShowInfo1 + // + this.buttonShowInfo1.Location = new System.Drawing.Point(13, 234); + this.buttonShowInfo1.Name = "buttonShowInfo1"; + this.buttonShowInfo1.Size = new System.Drawing.Size(254, 23); + this.buttonShowInfo1.TabIndex = 13; + this.buttonShowInfo1.Text = "Show Info"; + this.buttonShowInfo1.UseVisualStyleBackColor = true; + this.buttonShowInfo1.Click += new System.EventHandler(this.buttonShowInfo1_Click_1); + // + // 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.groupBoxProgramInfo); + this.Controls.Add(this.groupBoxDLLInfo); + this.Controls.Add(this.buttonShowInfo3); + this.Controls.Add(this.buttonShowInfo2); + this.Controls.Add(this.buttonShowInfo1); + this.Name = "Form1"; + this.Text = "Form1"; + 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 buttonShowInfo3; + private System.Windows.Forms.Button buttonShowInfo2; + private System.Windows.Forms.Button buttonShowInfo1; + } +} + diff --git a/Test_MsgBoxBasic/Form1.cs b/Test_MsgBoxBasic/Form1.cs new file mode 100644 index 0000000..9d42a6f --- /dev/null +++ b/Test_MsgBoxBasic/Form1.cs @@ -0,0 +1,164 @@ +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.Windows.Forms; + +namespace Test_MsgBoxBasic +{ + 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 = ""; + 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 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(MsgBoxBasic.DllName, "\r\n", MsgBoxBasic.DllVersion, "\r\n", MsgBoxBasic.Copyright); // Zeigt die DLL-Information an + labelDLLInfo.Text = MsgBoxBasic.DllName; + } + + private void buttonShowInfo1_Click_1(object sender, EventArgs e) + { + ////string text = "In diesem Bereich wird die komplette Information ausgegeben. Beim Exportieren wird der Inhalt dieses Bereiches auf eine Zeilenlänge von 80 Zeichen formatiert und dann in eine Textdatei exportiert. So kann die Textdatei problemlos auf ein A4 im Hochformat ausgedruckt werden. Zeilenumbrüche und Wagenrückläufe im Text werden erkannt und bei der Formatierung berücksichtigt.\r\nWird der Text oder ein Teil davom markiert und dann exportiert, dann wir der markierte Teil unformatiert exportiert."; + + //// + //// Diese Zeilen gehört in das Programm kopiert + //// + //// Aufruf des Informationsfensters + //var info = new MsgBoxBasic(); + //info.ShowDialog(); + //// + //// + } + + private void buttonShowInfo2_Click_1(object sender, EventArgs e) + { + ////string text = "In diesem Bereich wird die komplette Information ausgegeben. Beim Exportieren wird der Inhalt dieses Bereiches auf eine Zeilenlänge von 80 Zeichen formatiert und dann in eine Textdatei exportiert. So kann die Textdatei problemlos auf ein A4 im Hochformat ausgedruckt werden. Zeilenumbrüche und Wagenrückläufe im Text werden erkannt und bei der Formatierung berücksichtigt.\r\nWird der Text oder ein Teil davom markiert und dann exportiert, dann wir der markierte Teil unformatiert exportiert."; + + //// + //// Diese Zeilen gehört in das Programm kopiert + //// + //// Aufruf des Informationsfensters + //var info1 = new MsgBoxBasic(); + //info1.ShowDialog(); + //// + //// + } + + private void buttonShowInfo3_Click(object sender, EventArgs e) + { + //// + //// Diese Zeilen gehört in das Programm kopiert + //// + //// Aufruf des Informationsfensters + //var msgBox = new MsgBoxBasic(); + //msgBox.SetSize(400, 300); //Eine neue Fenstergröße definieren + //msgBox.ShowDialog(); + //// + //// + } + } +} diff --git a/Test_MsgBoxBasic/Form1.resx b/Test_MsgBoxBasic/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic/Program.cs b/Test_MsgBoxBasic/Program.cs new file mode 100644 index 0000000..0390fd4 --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic +{ + 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_MsgBoxBasic/Properties/AssemblyInfo.cs b/Test_MsgBoxBasic/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..68206fd --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Test_MsgBoxBasic")] +[assembly: AssemblyCopyright("Copyright © 2021 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("dddb16e5-271f-4bfa-8199-058a247f339f")] + +// 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_MsgBoxBasic/Properties/Resources.Designer.cs b/Test_MsgBoxBasic/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4e33d51 --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic.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_MsgBoxBasic.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_MsgBoxBasic/Properties/Resources.resx b/Test_MsgBoxBasic/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic/Properties/Settings.Designer.cs b/Test_MsgBoxBasic/Properties/Settings.Designer.cs new file mode 100644 index 0000000..b8fc631 --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic.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_MsgBoxBasic/Properties/Settings.settings b/Test_MsgBoxBasic/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Test_MsgBoxBasic/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Test_MsgBoxBasic/Test_MsgBoxBasic.csproj b/Test_MsgBoxBasic/Test_MsgBoxBasic.csproj new file mode 100644 index 0000000..70e3c87 --- /dev/null +++ b/Test_MsgBoxBasic/Test_MsgBoxBasic.csproj @@ -0,0 +1,86 @@ + + + + + Debug + AnyCPU + {DDDB16E5-271F-4BFA-8199-058A247F339F} + WinExe + Test_MsgBoxBasic + Test_MsgBoxBasic + v4.7.2 + 512 + true + false + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\MsgBoxBasic\bin\Debug\MsgBoxBasic.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_MsgBoxBasic/bin/Debug/MsgBoxBasic.dll b/Test_MsgBoxBasic/bin/Debug/MsgBoxBasic.dll new file mode 100644 index 0000000..c7e9212 Binary files /dev/null and b/Test_MsgBoxBasic/bin/Debug/MsgBoxBasic.dll differ diff --git a/Test_MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb b/Test_MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb new file mode 100644 index 0000000..584bb2a Binary files /dev/null and b/Test_MsgBoxBasic/bin/Debug/MsgBoxBasic.pdb differ diff --git a/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.exe b/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.exe new file mode 100644 index 0000000..d1e950c Binary files /dev/null and b/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.exe differ diff --git a/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.exe.config b/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.pdb b/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.pdb new file mode 100644 index 0000000..22299d5 Binary files /dev/null and b/Test_MsgBoxBasic/bin/Debug/Test_MsgBoxBasic.pdb differ diff --git a/Test_MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/Test_MsgBoxBasic/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/Test_MsgBoxBasic/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_MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test_MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..a0e4126 Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Form1.resources b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Form1.resources differ diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Properties.Resources.resources b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.Properties.Resources.resources differ diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.CopyComplete b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.CoreCompileInputs.cache b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..62eef35 --- /dev/null +++ b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +ed2e3083986f38ed966835f7adfd5a679374254c diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.FileListAbsolute.txt b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..7616eea --- /dev/null +++ b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.FileListAbsolute.txt @@ -0,0 +1,13 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.csprojAssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.Form1.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.Properties.Resources.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.csproj.GenerateResource.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\bin\Debug\Test_MsgBoxBasic.exe.config +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\bin\Debug\Test_MsgBoxBasic.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\bin\Debug\Test_MsgBoxBasic.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\bin\Debug\MsgBoxBasic.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\bin\Debug\MsgBoxBasic.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.csproj.CopyComplete +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\MsgBoxBasic.git\Test_MsgBoxBasic\obj\Debug\Test_MsgBoxBasic.pdb diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.GenerateResource.cache b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.GenerateResource.cache new file mode 100644 index 0000000..680ed6b Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csproj.GenerateResource.cache differ diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csprojAssemblyReference.cache b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csprojAssemblyReference.cache new file mode 100644 index 0000000..6802550 Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.csprojAssemblyReference.cache differ diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.exe b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.exe new file mode 100644 index 0000000..d1e950c Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.exe differ diff --git a/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.pdb b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.pdb new file mode 100644 index 0000000..22299d5 Binary files /dev/null and b/Test_MsgBoxBasic/obj/Debug/Test_MsgBoxBasic.pdb differ