From 7ca8e368592c8ef3bdebd706f325b7a177088a44 Mon Sep 17 00:00:00 2001 From: Michael Johne Date: Sun, 22 Oct 2023 23:13:15 +0200 Subject: [PATCH] Add files via upload (#24) --- AboutBoxForm.Designer.cs | 233 ++++++ AboutBoxForm.cs | 18 + AboutBoxForm.resx | 126 +++ AssemblyInfo.cs | 87 ++ Numeric List Generator.csproj | 121 +++ Numeric List Generator.csproj.user | 17 + Numeric List Generator.sln | 44 +- NumericListGeneratorForm.Designer.cs | 774 ++++++++++++++++++ NumericListGeneratorForm.cs | 372 +++++++++ NumericListGeneratorForm.resx | 250 ++++++ Program.cs | 15 + .../PublishProfiles/FolderProfile.pubxml | 17 + .../PublishProfiles/FolderProfile.pubxml.user | 10 + Properties/Resources.Designer.cs | 253 ++++++ Properties/Resources.resx | 178 ++++ Properties/Settings.Designer.cs | 26 + Properties/Settings.settings | 6 + Resources/Numeric List Generator.ico | Bin 0 -> 5430 bytes Resources/add.png | Bin 0 -> 698 bytes Resources/application.png | Bin 0 -> 366 bytes Resources/application_grey.png | Bin 0 -> 410 bytes Resources/bin_empty.png | Bin 0 -> 807 bytes Resources/clipboard_empty.png | Bin 0 -> 519 bytes Resources/cross.png | Bin 0 -> 473 bytes Resources/diskette.png | Bin 0 -> 730 bytes Resources/document_index.png | Bin 0 -> 594 bytes Resources/door_open.png | Bin 0 -> 606 bytes Resources/gear_in.png | Bin 0 -> 679 bytes Resources/information.png | Bin 0 -> 764 bytes Resources/page_copy.png | Bin 0 -> 593 bytes Resources/paste_plain.png | Bin 0 -> 715 bytes Resources/redo.png | Bin 0 -> 1288 bytes Resources/text_list_numbers.png | Bin 0 -> 1041 bytes Resources/tick.png | Bin 0 -> 451 bytes Resources/undo.png | Bin 0 -> 1307 bytes Resources/wrench.png | Bin 0 -> 660 bytes Resources/wrench_orange.png | Bin 0 -> 646 bytes SettingsForm.Designer.cs | 190 +++++ SettingsForm.cs | 23 + SettingsForm.resx | 123 +++ 40 files changed, 2867 insertions(+), 16 deletions(-) create mode 100644 AboutBoxForm.Designer.cs create mode 100644 AboutBoxForm.cs create mode 100644 AboutBoxForm.resx create mode 100644 AssemblyInfo.cs create mode 100644 Numeric List Generator.csproj create mode 100644 Numeric List Generator.csproj.user create mode 100644 NumericListGeneratorForm.Designer.cs create mode 100644 NumericListGeneratorForm.cs create mode 100644 NumericListGeneratorForm.resx create mode 100644 Program.cs create mode 100644 Properties/PublishProfiles/FolderProfile.pubxml create mode 100644 Properties/PublishProfiles/FolderProfile.pubxml.user create mode 100644 Properties/Resources.Designer.cs create mode 100644 Properties/Resources.resx create mode 100644 Properties/Settings.Designer.cs create mode 100644 Properties/Settings.settings create mode 100644 Resources/Numeric List Generator.ico create mode 100644 Resources/add.png create mode 100644 Resources/application.png create mode 100644 Resources/application_grey.png create mode 100644 Resources/bin_empty.png create mode 100644 Resources/clipboard_empty.png create mode 100644 Resources/cross.png create mode 100644 Resources/diskette.png create mode 100644 Resources/document_index.png create mode 100644 Resources/door_open.png create mode 100644 Resources/gear_in.png create mode 100644 Resources/information.png create mode 100644 Resources/page_copy.png create mode 100644 Resources/paste_plain.png create mode 100644 Resources/redo.png create mode 100644 Resources/text_list_numbers.png create mode 100644 Resources/tick.png create mode 100644 Resources/undo.png create mode 100644 Resources/wrench.png create mode 100644 Resources/wrench_orange.png create mode 100644 SettingsForm.Designer.cs create mode 100644 SettingsForm.cs create mode 100644 SettingsForm.resx diff --git a/AboutBoxForm.Designer.cs b/AboutBoxForm.Designer.cs new file mode 100644 index 00000000..5b9e4d17 --- /dev/null +++ b/AboutBoxForm.Designer.cs @@ -0,0 +1,233 @@ +namespace Numeric_List_Generator +{ + partial class AboutBoxForm + { + /// + /// Erforderliche Designervariable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Verwendete Ressourcen bereinigen. + /// + 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() + { + components = new System.ComponentModel.Container(); + tableLayoutPanel = new TableLayoutPanel(); + logoPictureBox = new PictureBox(); + labelProductName = new Label(); + labelVersion = new Label(); + labelCopyright = new Label(); + labelCompanyName = new Label(); + textBoxDescription = new TextBox(); + okButton = new Button(); + toolTip = new ToolTip(components); + tableLayoutPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)logoPictureBox).BeginInit(); + SuspendLayout(); + // + // tableLayoutPanel + // + tableLayoutPanel.AccessibleDescription = "Gruppiert die Elemente"; + tableLayoutPanel.AccessibleName = "Gruppiert die Elemente"; + tableLayoutPanel.AccessibleRole = AccessibleRole.Grouping; + tableLayoutPanel.ColumnCount = 2; + tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 13.50365F)); + tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 86.49635F)); + tableLayoutPanel.Controls.Add(logoPictureBox, 0, 0); + tableLayoutPanel.Controls.Add(labelProductName, 1, 0); + tableLayoutPanel.Controls.Add(labelVersion, 1, 1); + tableLayoutPanel.Controls.Add(labelCopyright, 1, 2); + tableLayoutPanel.Controls.Add(labelCompanyName, 1, 3); + tableLayoutPanel.Controls.Add(textBoxDescription, 1, 4); + tableLayoutPanel.Controls.Add(okButton, 1, 5); + tableLayoutPanel.Dock = DockStyle.Fill; + tableLayoutPanel.Location = new Point(10, 10); + tableLayoutPanel.Margin = new Padding(4, 3, 4, 3); + tableLayoutPanel.Name = "tableLayoutPanel"; + tableLayoutPanel.RowCount = 6; + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 45.50265F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 16.40212F)); + tableLayoutPanel.Size = new Size(321, 219); + tableLayoutPanel.TabIndex = 0; + // + // logoPictureBox + // + logoPictureBox.AccessibleDescription = "Zeigt das Programmlogo an"; + logoPictureBox.AccessibleName = "Programmlogo"; + logoPictureBox.AccessibleRole = AccessibleRole.Graphic; + logoPictureBox.Dock = DockStyle.Fill; + logoPictureBox.Image = Properties.Resources.text_list_numbers; + logoPictureBox.Location = new Point(4, 3); + logoPictureBox.Margin = new Padding(4, 3, 4, 3); + logoPictureBox.Name = "logoPictureBox"; + tableLayoutPanel.SetRowSpan(logoPictureBox, 6); + logoPictureBox.Size = new Size(35, 213); + logoPictureBox.TabIndex = 12; + logoPictureBox.TabStop = false; + toolTip.SetToolTip(logoPictureBox, "Programmlogo"); + // + // labelProductName + // + labelProductName.AccessibleDescription = "Zeigt den Produktnamen an"; + labelProductName.AccessibleName = "Produktname"; + labelProductName.AccessibleRole = AccessibleRole.StaticText; + labelProductName.AutoEllipsis = true; + labelProductName.Dock = DockStyle.Fill; + labelProductName.Location = new Point(50, 0); + labelProductName.Margin = new Padding(7, 0, 4, 0); + labelProductName.MaximumSize = new Size(0, 20); + labelProductName.Name = "labelProductName"; + labelProductName.Size = new Size(267, 20); + labelProductName.TabIndex = 0; + labelProductName.Text = "Produktname"; + labelProductName.TextAlign = ContentAlignment.MiddleLeft; + toolTip.SetToolTip(labelProductName, "Produktname"); + // + // labelVersion + // + labelVersion.AccessibleDescription = "Zeigt die Version an"; + labelVersion.AccessibleName = "Version"; + labelVersion.AccessibleRole = AccessibleRole.StaticText; + labelVersion.AutoEllipsis = true; + labelVersion.Dock = DockStyle.Fill; + labelVersion.Location = new Point(50, 21); + labelVersion.Margin = new Padding(7, 0, 4, 0); + labelVersion.MaximumSize = new Size(0, 20); + labelVersion.Name = "labelVersion"; + labelVersion.Size = new Size(267, 20); + labelVersion.TabIndex = 1; + labelVersion.Text = "Version"; + labelVersion.TextAlign = ContentAlignment.MiddleLeft; + toolTip.SetToolTip(labelVersion, "Version"); + // + // labelCopyright + // + labelCopyright.AccessibleDescription = "Zeigt den Copyrightvermerk an"; + labelCopyright.AccessibleName = "Copyright"; + labelCopyright.AccessibleRole = AccessibleRole.StaticText; + labelCopyright.AutoEllipsis = true; + labelCopyright.Dock = DockStyle.Fill; + labelCopyright.Location = new Point(50, 42); + labelCopyright.Margin = new Padding(7, 0, 4, 0); + labelCopyright.MaximumSize = new Size(0, 20); + labelCopyright.Name = "labelCopyright"; + labelCopyright.Size = new Size(267, 20); + labelCopyright.TabIndex = 2; + labelCopyright.Text = "Copyright"; + labelCopyright.TextAlign = ContentAlignment.MiddleLeft; + toolTip.SetToolTip(labelCopyright, "Copyright"); + // + // labelCompanyName + // + labelCompanyName.AccessibleDescription = "Zeigt den Firmenname an"; + labelCompanyName.AccessibleName = "Firmenname"; + labelCompanyName.AccessibleRole = AccessibleRole.StaticText; + labelCompanyName.AutoEllipsis = true; + labelCompanyName.Dock = DockStyle.Fill; + labelCompanyName.Location = new Point(50, 63); + labelCompanyName.Margin = new Padding(7, 0, 4, 0); + labelCompanyName.MaximumSize = new Size(0, 20); + labelCompanyName.Name = "labelCompanyName"; + labelCompanyName.Size = new Size(267, 20); + labelCompanyName.TabIndex = 3; + labelCompanyName.Text = "Firmenname"; + labelCompanyName.TextAlign = ContentAlignment.MiddleLeft; + toolTip.SetToolTip(labelCompanyName, "Firmenname"); + // + // textBoxDescription + // + textBoxDescription.AccessibleDescription = "Zeigt die Beschreibung an"; + textBoxDescription.AccessibleName = "Beschreibung"; + textBoxDescription.AccessibleRole = AccessibleRole.Text; + textBoxDescription.Dock = DockStyle.Fill; + textBoxDescription.Location = new Point(50, 87); + textBoxDescription.Margin = new Padding(7, 3, 4, 3); + textBoxDescription.Multiline = true; + textBoxDescription.Name = "textBoxDescription"; + textBoxDescription.PlaceholderText = "Beschreibung"; + textBoxDescription.ReadOnly = true; + textBoxDescription.ScrollBars = ScrollBars.Both; + textBoxDescription.Size = new Size(267, 91); + textBoxDescription.TabIndex = 4; + textBoxDescription.TabStop = false; + textBoxDescription.Text = "Beschreibung"; + toolTip.SetToolTip(textBoxDescription, "Beschreibung"); + // + // okButton + // + okButton.AccessibleDescription = "Schließt das Genster"; + okButton.AccessibleName = "Okay"; + okButton.AccessibleRole = AccessibleRole.PushButton; + okButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + okButton.AutoEllipsis = true; + okButton.DialogResult = DialogResult.Cancel; + okButton.Image = Properties.Resources.tick; + okButton.Location = new Point(251, 189); + okButton.Margin = new Padding(4, 3, 4, 3); + okButton.Name = "okButton"; + okButton.Size = new Size(66, 27); + okButton.TabIndex = 5; + okButton.Text = "&OK"; + okButton.TextAlign = ContentAlignment.MiddleRight; + okButton.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(okButton, "Okay"); + // + // AboutBoxForm + // + AcceptButton = okButton; + AccessibleDescription = "Fenster der Programminformation"; + AccessibleName = "Fenster der Programminformation"; + AccessibleRole = AccessibleRole.Window; + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(341, 239); + Controls.Add(tableLayoutPanel); + FormBorderStyle = FormBorderStyle.FixedDialog; + Margin = new Padding(4, 3, 4, 3); + MaximizeBox = false; + MinimizeBox = false; + Name = "AboutBoxForm"; + Padding = new Padding(10); + ShowIcon = false; + ShowInTaskbar = false; + StartPosition = FormStartPosition.CenterParent; + Text = "AboutBoxForm"; + tableLayoutPanel.ResumeLayout(false); + tableLayoutPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)logoPictureBox).EndInit(); + ResumeLayout(false); + } + + #endregion + + private TableLayoutPanel tableLayoutPanel; + private PictureBox logoPictureBox; + private Label labelProductName; + private Label labelVersion; + private Label labelCopyright; + private Label labelCompanyName; + private TextBox textBoxDescription; + private Button okButton; + private ToolTip toolTip; + } +} diff --git a/AboutBoxForm.cs b/AboutBoxForm.cs new file mode 100644 index 00000000..cca18c41 --- /dev/null +++ b/AboutBoxForm.cs @@ -0,0 +1,18 @@ +using MijoSoftware.AssemblyInformation; + +namespace Numeric_List_Generator +{ + partial class AboutBoxForm : Form + { + public AboutBoxForm() + { + InitializeComponent(); + Text = $"Info über {AssemblyInfo.AssemblyTitle}"; + labelProductName.Text = AssemblyInfo.AssemblyProduct; + labelVersion.Text = $"Version {AssemblyInfo.AssemblyVersion}"; + labelCopyright.Text = AssemblyInfo.AssemblyCopyright; + labelCompanyName.Text = AssemblyInfo.AssemblyCompany; + textBoxDescription.Text = AssemblyInfo.AssemblyDescription; + } + } +} diff --git a/AboutBoxForm.resx b/AboutBoxForm.resx new file mode 100644 index 00000000..4073a987 --- /dev/null +++ b/AboutBoxForm.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 61 + + \ No newline at end of file diff --git a/AssemblyInfo.cs b/AssemblyInfo.cs new file mode 100644 index 00000000..faef587b --- /dev/null +++ b/AssemblyInfo.cs @@ -0,0 +1,87 @@ +using System.Reflection; + +namespace MijoSoftware.AssemblyInformation +{ + /// + /// Provide some assembly information + /// + public static class AssemblyInfo + { + #region Assembly attribute accessors + + /// + /// Return the title of the assembly + /// + public static string AssemblyTitle + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyTitleAttribute), inherit: false); + if (attributes.Length > 0) + { + AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0]; + if (!string.IsNullOrEmpty(value: titleAttribute.Title)) + { + return titleAttribute.Title; + } + } + return Path.GetFileNameWithoutExtension(path: Assembly.GetExecutingAssembly().CodeBase); + } + } + + /// + /// Return the version of the assembly + /// + public static string AssemblyVersion => Assembly.GetExecutingAssembly().GetName().Version.ToString(); + + /// + /// Return the description of the assembly + /// + public static string AssemblyDescription + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyDescriptionAttribute), inherit: false); + return attributes.Length == 0 ? string.Empty : ((AssemblyDescriptionAttribute)attributes[0]).Description; + } + } + + /// + /// Return the product name of the assembly + /// + public static string AssemblyProduct + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyProductAttribute), inherit: false); + return attributes.Length == 0 ? string.Empty : ((AssemblyProductAttribute)attributes[0]).Product; + } + } + + /// + /// Return the copyright of the assembly + /// + public static string AssemblyCopyright + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyCopyrightAttribute), inherit: false); + return attributes.Length == 0 ? string.Empty : ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + } + + /// + /// Return the company name of the assembly + /// + public static string AssemblyCompany + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyCompanyAttribute), inherit: false); + return attributes.Length == 0 ? string.Empty : ((AssemblyCompanyAttribute)attributes[0]).Company; + } + } + + #endregion + } +} \ No newline at end of file diff --git a/Numeric List Generator.csproj b/Numeric List Generator.csproj new file mode 100644 index 00000000..bbe14313 --- /dev/null +++ b/Numeric List Generator.csproj @@ -0,0 +1,121 @@ + + + + WinExe + net7.0-windows + Numeric_List_Generator + enable + true + enable + Numeric List Generator + Mijo Software + 1.4.0.6 + True + AnyCPU;ARM32;ARM64;x64;x86 + Numeric_List_Generator.Program + Resources\Numeric List Generator.ico + Erstellt Listen mit numerischen Einträgen (z. B. URLs oder Bildergalerien) + 2013-2023 Mijo Software + https://mijo-software.de/numeric-list-generator/ + text_list_numbers.png + README.md + https://github.com/Mijo-Software/Numeric-List-Generator.git + list-generator + de + LICENSE + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + 9999 + True + + + + + + + + + True + True + Resources.resx + + + True + True + Settings.settings + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + True + \ + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + \ + + + True + \ + + + + \ No newline at end of file diff --git a/Numeric List Generator.csproj.user b/Numeric List Generator.csproj.user new file mode 100644 index 00000000..ce61593a --- /dev/null +++ b/Numeric List Generator.csproj.user @@ -0,0 +1,17 @@ + + + + <_LastSelectedProfileId>C:\Users\mj-pr\OneDrive\Programming\Visual Studio 2022\Numeric List Generator\Properties\PublishProfiles\FolderProfile.pubxml + + + + Form + + + Form + + + Form + + + \ No newline at end of file diff --git a/Numeric List Generator.sln b/Numeric List Generator.sln index 90303b93..9b95ac2e 100644 --- a/Numeric List Generator.sln +++ b/Numeric List Generator.sln @@ -1,37 +1,49 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31729.503 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34202.233 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Numeric List Generator", "Numeric List Generator\Numeric List Generator.csproj", "{D97E8329-C824-4406-93E0-C1224E393673}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Numeric List Generator", "Numeric List Generator.csproj", "{45230807-F9A7-4CA4-88EA-D750FA62D461}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|ARM32 = Debug|ARM32 + Debug|ARM64 = Debug|ARM64 Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|ARM32 = Release|ARM32 + Release|ARM64 = Release|ARM64 Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D97E8329-C824-4406-93E0-C1224E393673}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D97E8329-C824-4406-93E0-C1224E393673}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D97E8329-C824-4406-93E0-C1224E393673}.Debug|x64.ActiveCfg = Debug|x64 - {D97E8329-C824-4406-93E0-C1224E393673}.Debug|x64.Build.0 = Debug|x64 - {D97E8329-C824-4406-93E0-C1224E393673}.Debug|x86.ActiveCfg = Debug|x86 - {D97E8329-C824-4406-93E0-C1224E393673}.Debug|x86.Build.0 = Debug|x86 - {D97E8329-C824-4406-93E0-C1224E393673}.Release|Any CPU.ActiveCfg = Debug|Any CPU - {D97E8329-C824-4406-93E0-C1224E393673}.Release|Any CPU.Build.0 = Debug|Any CPU - {D97E8329-C824-4406-93E0-C1224E393673}.Release|x64.ActiveCfg = Release|x64 - {D97E8329-C824-4406-93E0-C1224E393673}.Release|x64.Build.0 = Release|x64 - {D97E8329-C824-4406-93E0-C1224E393673}.Release|x86.ActiveCfg = Release|x86 - {D97E8329-C824-4406-93E0-C1224E393673}.Release|x86.Build.0 = Release|x86 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|ARM32.ActiveCfg = Debug|ARM32 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|ARM32.Build.0 = Debug|ARM32 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|ARM64.Build.0 = Debug|ARM64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|x64.ActiveCfg = Debug|x64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|x64.Build.0 = Debug|x64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|x86.ActiveCfg = Debug|x86 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Debug|x86.Build.0 = Debug|x86 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|Any CPU.Build.0 = Release|Any CPU + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|ARM32.ActiveCfg = Release|ARM32 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|ARM32.Build.0 = Release|ARM32 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|ARM64.ActiveCfg = Release|ARM64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|ARM64.Build.0 = Release|ARM64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|x64.ActiveCfg = Release|x64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|x64.Build.0 = Release|x64 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|x86.ActiveCfg = Release|x86 + {45230807-F9A7-4CA4-88EA-D750FA62D461}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6FC381BB-C85F-4310-AFF5-E0EE97712EFE} + SolutionGuid = {AD729C2C-991C-44E3-8A0B-FEDA4F22672D} EndGlobalSection EndGlobal diff --git a/NumericListGeneratorForm.Designer.cs b/NumericListGeneratorForm.Designer.cs new file mode 100644 index 00000000..ffdc5a74 --- /dev/null +++ b/NumericListGeneratorForm.Designer.cs @@ -0,0 +1,774 @@ +namespace Numeric_List_Generator +{ + partial class NumericListGeneratorForm + { + /// + /// 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() + { + components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NumericListGeneratorForm)); + labelStringBeforeNumber = new Label(); + labelStringAfterNumber = new Label(); + labelNumberMin = new Label(); + numericUpDownNumberMinimum = new NumericUpDown(); + labelNumberMax = new Label(); + numericUpDownNumberMaximum = new NumericUpDown(); + checkBoxFillWithZeros = new CheckBox(); + textBoxList = new TextBox(); + labelProcress = new Label(); + progressBar = new ProgressBar(); + toolTip = new ToolTip(components); + textBoxStringBeforeNumber = new TextBox(); + textBoxStringAfterNumber = new TextBox(); + buttonRedo = new Button(); + buttonUndo = new Button(); + buttonCreateList = new Button(); + buttonInformationAboutApp = new Button(); + buttonExitApp = new Button(); + buttonDeleteList = new Button(); + buttonSaveList = new Button(); + buttonCopyList = new Button(); + buttonAddToList = new Button(); + labelResult = new Label(); + statusStripStatistic = new StatusStrip(); + toolStripStatusLabelSize = new ToolStripStatusLabel(); + toolStripStatusLabelLines = new ToolStripStatusLabel(); + toolStripStatusLabelTimeSpan = new ToolStripStatusLabel(); + toolStripStatusLabelLim = new ToolStripStatusLabel(); + toolStripSplitButtonStyle = new ToolStripSplitButton(); + toolStripMenuItemActivateVisualStyle = new ToolStripMenuItem(); + toolStripMenuItemDeactivateVisualStyle = new ToolStripMenuItem(); + backgroundWorker = new System.ComponentModel.BackgroundWorker(); + buttonSettings = new Button(); + statusStripInfo = new StatusStrip(); + toolStripStatusLabelInformation = new ToolStripStatusLabel(); + ((System.ComponentModel.ISupportInitialize)numericUpDownNumberMinimum).BeginInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDownNumberMaximum).BeginInit(); + statusStripStatistic.SuspendLayout(); + statusStripInfo.SuspendLayout(); + SuspendLayout(); + // + // labelStringBeforeNumber + // + labelStringBeforeNumber.AccessibleDescription = "Zeichenkette vor der Zahl"; + labelStringBeforeNumber.AccessibleName = "Zeichenkette vor der Zahl"; + labelStringBeforeNumber.AccessibleRole = AccessibleRole.StaticText; + labelStringBeforeNumber.AutoEllipsis = true; + labelStringBeforeNumber.AutoSize = true; + labelStringBeforeNumber.Location = new Point(10, 10); + labelStringBeforeNumber.Margin = new Padding(4, 0, 4, 0); + labelStringBeforeNumber.Name = "labelStringBeforeNumber"; + labelStringBeforeNumber.Size = new Size(144, 15); + labelStringBeforeNumber.TabIndex = 0; + labelStringBeforeNumber.Text = "Zeichenkette &vor der Zahl:"; + labelStringBeforeNumber.Enter += SetStatusbar_Enter; + labelStringBeforeNumber.Leave += ClearStatusbar_Leave; + labelStringBeforeNumber.MouseEnter += SetStatusbar_Enter; + labelStringBeforeNumber.MouseLeave += ClearStatusbar_Leave; + // + // labelStringAfterNumber + // + labelStringAfterNumber.AccessibleDescription = "Zeichenkette nach der Zahl"; + labelStringAfterNumber.AccessibleName = "Zeichenkette nach der Zahl"; + labelStringAfterNumber.AccessibleRole = AccessibleRole.StaticText; + labelStringAfterNumber.AutoEllipsis = true; + labelStringAfterNumber.AutoSize = true; + labelStringAfterNumber.Location = new Point(10, 107); + labelStringAfterNumber.Margin = new Padding(4, 0, 4, 0); + labelStringAfterNumber.Name = "labelStringAfterNumber"; + labelStringAfterNumber.Size = new Size(153, 15); + labelStringAfterNumber.TabIndex = 7; + labelStringAfterNumber.Text = "Zeichenkette &nach der Zahl:"; + toolTip.SetToolTip(labelStringAfterNumber, "Zeichenkette nach der Zahl"); + labelStringAfterNumber.Enter += SetStatusbar_Enter; + labelStringAfterNumber.Leave += ClearStatusbar_Leave; + labelStringAfterNumber.MouseEnter += SetStatusbar_Enter; + labelStringAfterNumber.MouseLeave += ClearStatusbar_Leave; + // + // labelNumberMin + // + labelNumberMin.AccessibleDescription = "Zahlen Minimum"; + labelNumberMin.AccessibleName = "Zahlen Minimum"; + labelNumberMin.AccessibleRole = AccessibleRole.StaticText; + labelNumberMin.AutoEllipsis = true; + labelNumberMin.AutoSize = true; + labelNumberMin.Location = new Point(10, 69); + labelNumberMin.Margin = new Padding(4, 0, 4, 0); + labelNumberMin.Name = "labelNumberMin"; + labelNumberMin.Size = new Size(66, 15); + labelNumberMin.TabIndex = 2; + labelNumberMin.Text = "Zahlen v&on"; + toolTip.SetToolTip(labelNumberMin, "Zahlen Minimum"); + labelNumberMin.Enter += SetStatusbar_Enter; + labelNumberMin.Leave += ClearStatusbar_Leave; + labelNumberMin.MouseEnter += SetStatusbar_Enter; + labelNumberMin.MouseLeave += ClearStatusbar_Leave; + // + // numericUpDownNumberMinimum + // + numericUpDownNumberMinimum.AccessibleDescription = "Minimun der Zahl, mit der die Einträge erstellt werden sollen"; + numericUpDownNumberMinimum.AccessibleName = "Minimun der Zahl, mit der die Einträge erstellt werden sollen"; + numericUpDownNumberMinimum.AccessibleRole = AccessibleRole.SpinButton; + numericUpDownNumberMinimum.Location = new Point(89, 67); + numericUpDownNumberMinimum.Margin = new Padding(4, 3, 4, 3); + numericUpDownNumberMinimum.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 }); + numericUpDownNumberMinimum.Name = "numericUpDownNumberMinimum"; + numericUpDownNumberMinimum.Size = new Size(57, 23); + numericUpDownNumberMinimum.TabIndex = 3; + toolTip.SetToolTip(numericUpDownNumberMinimum, "Minimun der Zahl, mit der die Einträge erstellt werden sollen"); + numericUpDownNumberMinimum.Value = new decimal(new int[] { 1, 0, 0, 0 }); + numericUpDownNumberMinimum.Enter += SetStatusbar_Enter; + numericUpDownNumberMinimum.Leave += ClearStatusbar_Leave; + // + // labelNumberMax + // + labelNumberMax.AccessibleDescription = "Zahlen Maximum"; + labelNumberMax.AccessibleName = "Zahlen Maximum"; + labelNumberMax.AccessibleRole = AccessibleRole.StaticText; + labelNumberMax.AutoSize = true; + labelNumberMax.Location = new Point(153, 69); + labelNumberMax.Margin = new Padding(4, 0, 4, 0); + labelNumberMax.Name = "labelNumberMax"; + labelNumberMax.Size = new Size(22, 15); + labelNumberMax.TabIndex = 4; + labelNumberMax.Text = "b&is"; + toolTip.SetToolTip(labelNumberMax, "Zahlen Maximum"); + labelNumberMax.Enter += SetStatusbar_Enter; + labelNumberMax.Leave += ClearStatusbar_Leave; + labelNumberMax.MouseEnter += SetStatusbar_Enter; + labelNumberMax.MouseLeave += ClearStatusbar_Leave; + // + // numericUpDownNumberMaximum + // + numericUpDownNumberMaximum.AccessibleDescription = "Maximun der Zahl, mit der die Einträge erstellt werden sollen"; + numericUpDownNumberMaximum.AccessibleName = "Maximun der Zahl, mit der die Einträge erstellt werden sollen"; + numericUpDownNumberMaximum.AccessibleRole = AccessibleRole.SpinButton; + numericUpDownNumberMaximum.Location = new Point(183, 67); + numericUpDownNumberMaximum.Margin = new Padding(4, 3, 4, 3); + numericUpDownNumberMaximum.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 }); + numericUpDownNumberMaximum.Name = "numericUpDownNumberMaximum"; + numericUpDownNumberMaximum.Size = new Size(57, 23); + numericUpDownNumberMaximum.TabIndex = 5; + toolTip.SetToolTip(numericUpDownNumberMaximum, "Maximun der Zahl, mit der die Einträge erstellt werden sollen"); + numericUpDownNumberMaximum.Value = new decimal(new int[] { 10, 0, 0, 0 }); + numericUpDownNumberMaximum.Enter += SetStatusbar_Enter; + numericUpDownNumberMaximum.Leave += ClearStatusbar_Leave; + // + // checkBoxFillWithZeros + // + checkBoxFillWithZeros.AccessibleDescription = "Markieren, wenn die Einträge mit voranführenden Nullen aufgefüllt werden sollen"; + checkBoxFillWithZeros.AccessibleName = "Markieren, wenn die Einträge mit voranführenden Nullen aufgefüllt werden sollen"; + checkBoxFillWithZeros.AccessibleRole = AccessibleRole.CheckButton; + checkBoxFillWithZeros.AutoSize = true; + checkBoxFillWithZeros.Location = new Point(255, 69); + checkBoxFillWithZeros.Margin = new Padding(4, 3, 4, 3); + checkBoxFillWithZeros.Name = "checkBoxFillWithZeros"; + checkBoxFillWithZeros.Size = new Size(132, 19); + checkBoxFillWithZeros.TabIndex = 6; + checkBoxFillWithZeros.Text = "&mit Nullen auffüllen"; + toolTip.SetToolTip(checkBoxFillWithZeros, "Markieren, wenn die Einträge mit voranführenden Nullen aufgefüllt werden sollen"); + checkBoxFillWithZeros.UseVisualStyleBackColor = true; + checkBoxFillWithZeros.Enter += SetStatusbar_Enter; + checkBoxFillWithZeros.Leave += ClearStatusbar_Leave; + checkBoxFillWithZeros.MouseEnter += SetStatusbar_Enter; + checkBoxFillWithZeros.MouseLeave += ClearStatusbar_Leave; + // + // textBoxList + // + textBoxList.AccessibleDescription = "Zeigt die Liste mit den generierten Einträgen an"; + textBoxList.AccessibleName = "Generierten Einträge"; + textBoxList.AccessibleRole = AccessibleRole.Text; + textBoxList.Location = new Point(14, 302); + textBoxList.Margin = new Padding(4, 3, 4, 3); + textBoxList.MaxLength = int.MaxValue; + textBoxList.Multiline = true; + textBoxList.Name = "textBoxList"; + textBoxList.ScrollBars = ScrollBars.Both; + textBoxList.Size = new Size(395, 192); + textBoxList.TabIndex = 19; + toolTip.SetToolTip(textBoxList, "Zeigt die Liste mit den generierten Einträgen an"); + textBoxList.WordWrap = false; + textBoxList.Enter += SetStatusbar_Enter; + textBoxList.Leave += ClearStatusbar_Leave; + textBoxList.MouseEnter += SetStatusbar_Enter; + textBoxList.MouseLeave += ClearStatusbar_Leave; + // + // labelProcress + // + labelProcress.AccessibleDescription = "Verarbeitung"; + labelProcress.AccessibleName = "Verarbeitung"; + labelProcress.AccessibleRole = AccessibleRole.StaticText; + labelProcress.AutoEllipsis = true; + labelProcress.AutoSize = true; + labelProcress.Location = new Point(10, 253); + labelProcress.Margin = new Padding(4, 0, 4, 0); + labelProcress.Name = "labelProcress"; + labelProcress.Size = new Size(77, 15); + labelProcress.TabIndex = 16; + labelProcress.Text = "Verarbeitun&g:"; + toolTip.SetToolTip(labelProcress, "Verarbeitung"); + labelProcress.Enter += SetStatusbar_Enter; + labelProcress.Leave += ClearStatusbar_Leave; + labelProcress.MouseEnter += SetStatusbar_Enter; + labelProcress.MouseLeave += ClearStatusbar_Leave; + // + // progressBar + // + progressBar.AccessibleDescription = "Zeigt den laufenden Verarbeitungsstatus an"; + progressBar.AccessibleName = "Verarbeitungsstatus"; + progressBar.AccessibleRole = AccessibleRole.ProgressBar; + progressBar.Location = new Point(95, 253); + progressBar.Margin = new Padding(4, 3, 4, 3); + progressBar.Name = "progressBar"; + progressBar.Size = new Size(314, 20); + progressBar.Style = ProgressBarStyle.Continuous; + progressBar.TabIndex = 17; + toolTip.SetToolTip(progressBar, "Zeigt den laufenden Verarbeitungsstatus an"); + progressBar.MouseEnter += SetStatusbar_Enter; + progressBar.MouseLeave += ClearStatusbar_Leave; + // + // textBoxStringBeforeNumber + // + textBoxStringBeforeNumber.AccessibleDescription = "Eingabe des Textes vor der Zahlenangabe"; + textBoxStringBeforeNumber.AccessibleName = "Eingabe des Textes vor der Zahlenangabe"; + textBoxStringBeforeNumber.AccessibleRole = AccessibleRole.Text; + textBoxStringBeforeNumber.AutoCompleteMode = AutoCompleteMode.SuggestAppend; + textBoxStringBeforeNumber.AutoCompleteSource = AutoCompleteSource.CustomSource; + textBoxStringBeforeNumber.Location = new Point(14, 29); + textBoxStringBeforeNumber.Margin = new Padding(4, 3, 4, 3); + textBoxStringBeforeNumber.Name = "textBoxStringBeforeNumber"; + textBoxStringBeforeNumber.PlaceholderText = "Eingabe des Textes vor der Zahlenangabe"; + textBoxStringBeforeNumber.Size = new Size(395, 23); + textBoxStringBeforeNumber.TabIndex = 1; + textBoxStringBeforeNumber.Text = "http://www.domain.com/files/picture"; + toolTip.SetToolTip(textBoxStringBeforeNumber, "Eingabe des Textes vor der Zahlenangabe"); + textBoxStringBeforeNumber.Enter += SetStatusbar_Enter; + textBoxStringBeforeNumber.Leave += ClearStatusbar_Leave; + textBoxStringBeforeNumber.MouseEnter += SetStatusbar_Enter; + textBoxStringBeforeNumber.MouseLeave += ClearStatusbar_Leave; + // + // textBoxStringAfterNumber + // + textBoxStringAfterNumber.AccessibleDescription = "Eingabe des Textes nach der Zahlenangabe"; + textBoxStringAfterNumber.AccessibleName = "Eingabe des Textes nach der Zahlenangabe"; + textBoxStringAfterNumber.AccessibleRole = AccessibleRole.Text; + textBoxStringAfterNumber.AutoCompleteMode = AutoCompleteMode.SuggestAppend; + textBoxStringAfterNumber.AutoCompleteSource = AutoCompleteSource.CustomSource; + textBoxStringAfterNumber.Location = new Point(14, 126); + textBoxStringAfterNumber.Margin = new Padding(4, 3, 4, 3); + textBoxStringAfterNumber.Name = "textBoxStringAfterNumber"; + textBoxStringAfterNumber.PlaceholderText = "Eingabe des Textes nach der Zahlenangabe"; + textBoxStringAfterNumber.Size = new Size(395, 23); + textBoxStringAfterNumber.TabIndex = 8; + textBoxStringAfterNumber.Text = ".jpg"; + toolTip.SetToolTip(textBoxStringAfterNumber, "Eingabe des Textes nach der Zahlenangabe"); + textBoxStringAfterNumber.Enter += SetStatusbar_Enter; + textBoxStringAfterNumber.Leave += ClearStatusbar_Leave; + textBoxStringAfterNumber.MouseEnter += SetStatusbar_Enter; + textBoxStringAfterNumber.MouseLeave += ClearStatusbar_Leave; + // + // buttonRedo + // + buttonRedo.AccessibleDescription = "Verwirft die letzte rückgängig gemachte Änderung"; + buttonRedo.AccessibleName = "Letzte Änderung verwerfen"; + buttonRedo.AccessibleRole = AccessibleRole.PushButton; + buttonRedo.AutoEllipsis = true; + buttonRedo.Image = Properties.Resources.redo; + buttonRedo.Location = new Point(86, 205); + buttonRedo.Margin = new Padding(4, 3, 4, 3); + buttonRedo.Name = "buttonRedo"; + buttonRedo.Size = new Size(68, 30); + buttonRedo.TabIndex = 13; + buttonRedo.Text = "&Redo"; + buttonRedo.TextAlign = ContentAlignment.MiddleRight; + buttonRedo.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonRedo, "Verwirft die letzte rückgängig gemachte Änderung"); + buttonRedo.UseVisualStyleBackColor = true; + buttonRedo.Click += ButtonRedo_Click; + buttonRedo.Enter += SetStatusbar_Enter; + buttonRedo.Leave += ClearStatusbar_Leave; + buttonRedo.MouseEnter += SetStatusbar_Enter; + buttonRedo.MouseLeave += ClearStatusbar_Leave; + // + // buttonUndo + // + buttonUndo.AccessibleDescription = "Macht die letzte Änderung rückgängig"; + buttonUndo.AccessibleName = "Änderung rückgängigmachen"; + buttonUndo.AccessibleRole = AccessibleRole.PushButton; + buttonUndo.AutoEllipsis = true; + buttonUndo.Image = (Image)resources.GetObject("buttonUndo.Image"); + buttonUndo.Location = new Point(14, 205); + buttonUndo.Margin = new Padding(4, 3, 4, 3); + buttonUndo.Name = "buttonUndo"; + buttonUndo.Size = new Size(68, 30); + buttonUndo.TabIndex = 12; + buttonUndo.Text = "&Undo"; + buttonUndo.TextAlign = ContentAlignment.MiddleRight; + buttonUndo.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonUndo, "Macht die letzte Änderung rückgängig"); + buttonUndo.UseVisualStyleBackColor = true; + buttonUndo.Click += ButtonUndo_Click; + buttonUndo.Enter += SetStatusbar_Enter; + buttonUndo.Leave += ClearStatusbar_Leave; + buttonUndo.MouseEnter += SetStatusbar_Enter; + buttonUndo.MouseLeave += ClearStatusbar_Leave; + // + // buttonCreateList + // + buttonCreateList.AccessibleDescription = "Erstellt eine neue Liste"; + buttonCreateList.AccessibleName = "Liste neu erstellen"; + buttonCreateList.AccessibleRole = AccessibleRole.PushButton; + buttonCreateList.AutoEllipsis = true; + buttonCreateList.Image = Properties.Resources.document_index; + buttonCreateList.Location = new Point(14, 168); + buttonCreateList.Margin = new Padding(4, 3, 4, 3); + buttonCreateList.Name = "buttonCreateList"; + buttonCreateList.Size = new Size(140, 30); + buttonCreateList.TabIndex = 9; + buttonCreateList.Text = "Liste neu &erstellen"; + buttonCreateList.TextAlign = ContentAlignment.MiddleRight; + buttonCreateList.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonCreateList, "Erstellt eine neue Liste"); + buttonCreateList.UseVisualStyleBackColor = true; + buttonCreateList.Click += ButtonCreateList_Click; + buttonCreateList.Enter += SetStatusbar_Enter; + buttonCreateList.Leave += ClearStatusbar_Leave; + buttonCreateList.MouseEnter += SetStatusbar_Enter; + buttonCreateList.MouseLeave += ClearStatusbar_Leave; + // + // buttonInformationAboutApp + // + buttonInformationAboutApp.AccessibleDescription = "Ruft die Programminformationen auf"; + buttonInformationAboutApp.AccessibleName = "Programminformationen"; + buttonInformationAboutApp.AccessibleRole = AccessibleRole.PushButton; + buttonInformationAboutApp.AutoEllipsis = true; + buttonInformationAboutApp.Image = Properties.Resources.information; + buttonInformationAboutApp.Location = new Point(14, 502); + buttonInformationAboutApp.Margin = new Padding(4, 3, 4, 3); + buttonInformationAboutApp.Name = "buttonInformationAboutApp"; + buttonInformationAboutApp.Size = new Size(68, 30); + buttonInformationAboutApp.TabIndex = 20; + buttonInformationAboutApp.Text = "&Info"; + buttonInformationAboutApp.TextAlign = ContentAlignment.MiddleRight; + buttonInformationAboutApp.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonInformationAboutApp, "Ruft die Programminformationen auf"); + buttonInformationAboutApp.UseVisualStyleBackColor = true; + buttonInformationAboutApp.Click += ButtonInformationAboutApp_Click; + buttonInformationAboutApp.Enter += SetStatusbar_Enter; + buttonInformationAboutApp.Leave += ClearStatusbar_Leave; + buttonInformationAboutApp.MouseEnter += SetStatusbar_Enter; + buttonInformationAboutApp.MouseLeave += ClearStatusbar_Leave; + // + // buttonExitApp + // + buttonExitApp.AccessibleDescription = "Beendet das Program"; + buttonExitApp.AccessibleName = "Programm beenden"; + buttonExitApp.AccessibleRole = AccessibleRole.PushButton; + buttonExitApp.AutoEllipsis = true; + buttonExitApp.Image = Properties.Resources.door_open; + buttonExitApp.Location = new Point(259, 502); + buttonExitApp.Margin = new Padding(4, 3, 4, 3); + buttonExitApp.Name = "buttonExitApp"; + buttonExitApp.Size = new Size(150, 30); + buttonExitApp.TabIndex = 22; + buttonExitApp.Text = "Programm &beenden"; + buttonExitApp.TextAlign = ContentAlignment.MiddleRight; + buttonExitApp.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonExitApp, "Beendet das Programm"); + buttonExitApp.UseVisualStyleBackColor = true; + buttonExitApp.Click += ButtonExitApp_Click; + buttonExitApp.Enter += SetStatusbar_Enter; + buttonExitApp.Leave += ClearStatusbar_Leave; + buttonExitApp.MouseEnter += SetStatusbar_Enter; + buttonExitApp.MouseLeave += ClearStatusbar_Leave; + // + // buttonDeleteList + // + buttonDeleteList.AccessibleDescription = "Löscht die Liste"; + buttonDeleteList.AccessibleName = "Liste löschen"; + buttonDeleteList.AccessibleRole = AccessibleRole.PushButton; + buttonDeleteList.AutoEllipsis = true; + buttonDeleteList.Image = Properties.Resources.bin_empty; + buttonDeleteList.Location = new Point(289, 168); + buttonDeleteList.Margin = new Padding(4, 3, 4, 3); + buttonDeleteList.Name = "buttonDeleteList"; + buttonDeleteList.Size = new Size(120, 30); + buttonDeleteList.TabIndex = 11; + buttonDeleteList.Text = "Liste &löschen"; + buttonDeleteList.TextAlign = ContentAlignment.MiddleRight; + buttonDeleteList.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonDeleteList, "Löscht die Liste"); + buttonDeleteList.UseVisualStyleBackColor = true; + buttonDeleteList.Click += ButtonDeleteList_Click; + buttonDeleteList.Enter += SetStatusbar_Enter; + buttonDeleteList.Leave += ClearStatusbar_Leave; + buttonDeleteList.MouseEnter += SetStatusbar_Enter; + buttonDeleteList.MouseLeave += ClearStatusbar_Leave; + // + // buttonSaveList + // + buttonSaveList.AccessibleDescription = "Speichert die Liste als Textdatei ab"; + buttonSaveList.AccessibleName = "Liste abspeichern"; + buttonSaveList.AccessibleRole = AccessibleRole.PushButton; + buttonSaveList.AutoEllipsis = true; + buttonSaveList.Image = Properties.Resources.diskette; + buttonSaveList.Location = new Point(289, 205); + buttonSaveList.Margin = new Padding(4, 3, 4, 3); + buttonSaveList.Name = "buttonSaveList"; + buttonSaveList.Size = new Size(120, 30); + buttonSaveList.TabIndex = 15; + buttonSaveList.Text = "Liste &speichern"; + buttonSaveList.TextAlign = ContentAlignment.MiddleRight; + buttonSaveList.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonSaveList, "Speichert die Liste als Textdatei ab"); + buttonSaveList.UseVisualStyleBackColor = true; + buttonSaveList.Click += ButtonSaveList_Click; + buttonSaveList.Enter += SetStatusbar_Enter; + buttonSaveList.Leave += ClearStatusbar_Leave; + buttonSaveList.MouseEnter += SetStatusbar_Enter; + buttonSaveList.MouseLeave += ClearStatusbar_Leave; + // + // buttonCopyList + // + buttonCopyList.AccessibleDescription = "Kopiert die Liste in die Windows-Zwischenablage"; + buttonCopyList.AccessibleName = "Liste koperien"; + buttonCopyList.AccessibleRole = AccessibleRole.PushButton; + buttonCopyList.AutoEllipsis = true; + buttonCopyList.Image = Properties.Resources.page_copy; + buttonCopyList.Location = new Point(161, 205); + buttonCopyList.Margin = new Padding(4, 3, 4, 3); + buttonCopyList.Name = "buttonCopyList"; + buttonCopyList.Size = new Size(121, 30); + buttonCopyList.TabIndex = 14; + buttonCopyList.Text = "Liste &kopieren"; + buttonCopyList.TextAlign = ContentAlignment.MiddleRight; + buttonCopyList.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonCopyList, "Kopiert die Liste in die Zwischenanlage"); + buttonCopyList.UseVisualStyleBackColor = true; + buttonCopyList.Click += ButtonCopyList_Click; + buttonCopyList.Enter += SetStatusbar_Enter; + buttonCopyList.Leave += ClearStatusbar_Leave; + buttonCopyList.MouseEnter += SetStatusbar_Enter; + buttonCopyList.MouseLeave += ClearStatusbar_Leave; + // + // buttonAddToList + // + buttonAddToList.AccessibleDescription = "Fügt die Einträge an der vorhandenen Liste an"; + buttonAddToList.AccessibleName = "Liste anfügen"; + buttonAddToList.AccessibleRole = AccessibleRole.PushButton; + buttonAddToList.AutoEllipsis = true; + buttonAddToList.Image = Properties.Resources.add; + buttonAddToList.Location = new Point(161, 168); + buttonAddToList.Margin = new Padding(4, 3, 4, 3); + buttonAddToList.Name = "buttonAddToList"; + buttonAddToList.Size = new Size(121, 30); + buttonAddToList.TabIndex = 10; + buttonAddToList.Text = "Liste &anfügen"; + buttonAddToList.TextAlign = ContentAlignment.MiddleRight; + buttonAddToList.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonAddToList, "Fügt die Einträge an der vorhandenen Liste an"); + buttonAddToList.UseVisualStyleBackColor = true; + buttonAddToList.Click += ButtonAddToList_Click; + buttonAddToList.Enter += SetStatusbar_Enter; + buttonAddToList.Leave += ClearStatusbar_Leave; + buttonAddToList.MouseEnter += SetStatusbar_Enter; + buttonAddToList.MouseLeave += ClearStatusbar_Leave; + // + // labelResult + // + labelResult.AccessibleDescription = "Ergebnis"; + labelResult.AccessibleName = "Ergebnis"; + labelResult.AccessibleRole = AccessibleRole.StaticText; + labelResult.AutoEllipsis = true; + labelResult.AutoSize = true; + labelResult.Location = new Point(10, 284); + labelResult.Margin = new Padding(4, 0, 4, 0); + labelResult.Name = "labelResult"; + labelResult.Size = new Size(55, 15); + labelResult.TabIndex = 18; + labelResult.Text = "E&rgebnis:"; + toolTip.SetToolTip(labelResult, "Ergebnis"); + labelResult.MouseEnter += SetStatusbar_Enter; + labelResult.MouseLeave += ClearStatusbar_Leave; + // + // statusStripStatistic + // + statusStripStatistic.AccessibleDescription = "Statusbar für statistische Angaben"; + statusStripStatistic.AccessibleName = "Statusbar"; + statusStripStatistic.AccessibleRole = AccessibleRole.StatusBar; + statusStripStatistic.AllowItemReorder = true; + statusStripStatistic.Items.AddRange(new ToolStripItem[] { toolStripStatusLabelSize, toolStripStatusLabelLines, toolStripStatusLabelTimeSpan, toolStripStatusLabelLim, toolStripSplitButtonStyle }); + statusStripStatistic.Location = new Point(0, 561); + statusStripStatistic.Name = "statusStripStatistic"; + statusStripStatistic.Padding = new Padding(1, 0, 16, 0); + statusStripStatistic.ShowItemToolTips = true; + statusStripStatistic.Size = new Size(424, 24); + statusStripStatistic.SizingGrip = false; + statusStripStatistic.TabIndex = 23; + statusStripStatistic.TabStop = true; + statusStripStatistic.Text = "statusStripStatistic"; + // + // toolStripStatusLabelSize + // + toolStripStatusLabelSize.AccessibleDescription = "Gibt die Größe der Liste in Bytes an"; + toolStripStatusLabelSize.AccessibleName = "Größe der Liste"; + toolStripStatusLabelSize.AccessibleRole = AccessibleRole.StaticText; + toolStripStatusLabelSize.AutoToolTip = true; + toolStripStatusLabelSize.BorderSides = ToolStripStatusLabelBorderSides.Left | ToolStripStatusLabelBorderSides.Top | ToolStripStatusLabelBorderSides.Right | ToolStripStatusLabelBorderSides.Bottom; + toolStripStatusLabelSize.Name = "toolStripStatusLabelSize"; + toolStripStatusLabelSize.Size = new Size(43, 19); + toolStripStatusLabelSize.Tag = "Größe"; + toolStripStatusLabelSize.Text = "Größe"; + toolStripStatusLabelSize.Click += ToolStripStatusLabelSize_Click; + // + // toolStripStatusLabelLines + // + toolStripStatusLabelLines.AccessibleDescription = "Gibt die Anzahl der Zeilen in der Liste an"; + toolStripStatusLabelLines.AccessibleName = "Anzahl der Zeilen in der Liste"; + toolStripStatusLabelLines.AccessibleRole = AccessibleRole.StaticText; + toolStripStatusLabelLines.AutoToolTip = true; + toolStripStatusLabelLines.BorderSides = ToolStripStatusLabelBorderSides.Left | ToolStripStatusLabelBorderSides.Top | ToolStripStatusLabelBorderSides.Right | ToolStripStatusLabelBorderSides.Bottom; + toolStripStatusLabelLines.Name = "toolStripStatusLabelLines"; + toolStripStatusLabelLines.Size = new Size(43, 19); + toolStripStatusLabelLines.Tag = "Zeilen"; + toolStripStatusLabelLines.Text = "Zeilen"; + toolStripStatusLabelLines.Click += ToolStripStatusLabelLines_Click; + // + // toolStripStatusLabelTimeSpan + // + toolStripStatusLabelTimeSpan.AccessibleDescription = "Gibt die Dauer der Listengenerierung an"; + toolStripStatusLabelTimeSpan.AccessibleName = "Dauer der Listengenerierung"; + toolStripStatusLabelTimeSpan.AccessibleRole = AccessibleRole.StaticText; + toolStripStatusLabelTimeSpan.AutoToolTip = true; + toolStripStatusLabelTimeSpan.BorderSides = ToolStripStatusLabelBorderSides.Left | ToolStripStatusLabelBorderSides.Top | ToolStripStatusLabelBorderSides.Right | ToolStripStatusLabelBorderSides.Bottom; + toolStripStatusLabelTimeSpan.Name = "toolStripStatusLabelTimeSpan"; + toolStripStatusLabelTimeSpan.Size = new Size(42, 19); + toolStripStatusLabelTimeSpan.Tag = "Dauer"; + toolStripStatusLabelTimeSpan.Text = "Dauer"; + toolStripStatusLabelTimeSpan.ToolTipText = "Dauer"; + toolStripStatusLabelTimeSpan.Click += ToolStripStatusLabelTimeSpan_Click; + // + // toolStripStatusLabelLim + // + toolStripStatusLabelLim.AccessibleDescription = "Zeigt den berechneten LIM an"; + toolStripStatusLabelLim.AccessibleName = "Berechneter LIM"; + toolStripStatusLabelLim.AccessibleRole = AccessibleRole.StaticText; + toolStripStatusLabelLim.AutoToolTip = true; + toolStripStatusLabelLim.BorderSides = ToolStripStatusLabelBorderSides.Left | ToolStripStatusLabelBorderSides.Top | ToolStripStatusLabelBorderSides.Right | ToolStripStatusLabelBorderSides.Bottom; + toolStripStatusLabelLim.Name = "toolStripStatusLabelLim"; + toolStripStatusLabelLim.Size = new Size(247, 19); + toolStripStatusLabelLim.Spring = true; + toolStripStatusLabelLim.Tag = "LIM"; + toolStripStatusLabelLim.Text = "LIM"; + toolStripStatusLabelLim.Click += ToolStripStatusLabelLim_Click; + // + // toolStripSplitButtonStyle + // + toolStripSplitButtonStyle.AccessibleDescription = "Aktiviert oder deaktiviert den visuellen Stil des Programms"; + toolStripSplitButtonStyle.AccessibleName = "Visuellen Stil de-/aktivieren"; + toolStripSplitButtonStyle.AccessibleRole = AccessibleRole.PushButton; + toolStripSplitButtonStyle.DisplayStyle = ToolStripItemDisplayStyle.Image; + toolStripSplitButtonStyle.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItemActivateVisualStyle, toolStripMenuItemDeactivateVisualStyle }); + toolStripSplitButtonStyle.Image = Properties.Resources.application_grey; + toolStripSplitButtonStyle.ImageTransparentColor = Color.Magenta; + toolStripSplitButtonStyle.Name = "toolStripSplitButtonStyle"; + toolStripSplitButtonStyle.Size = new Size(32, 22); + toolStripSplitButtonStyle.Text = "Visueller Stil"; + toolStripSplitButtonStyle.ButtonClick += ToolStripStatusLabelStyle_Click; + // + // toolStripMenuItemActivateVisualStyle + // + toolStripMenuItemActivateVisualStyle.AccessibleDescription = "Aktiviert den visuellen Stil des Programms"; + toolStripMenuItemActivateVisualStyle.AccessibleName = "Visuellen Stil aktivieren"; + toolStripMenuItemActivateVisualStyle.AccessibleRole = AccessibleRole.MenuItem; + toolStripMenuItemActivateVisualStyle.AutoToolTip = true; + toolStripMenuItemActivateVisualStyle.Image = Properties.Resources.application; + toolStripMenuItemActivateVisualStyle.Name = "toolStripMenuItemActivateVisualStyle"; + toolStripMenuItemActivateVisualStyle.Size = new Size(204, 22); + toolStripMenuItemActivateVisualStyle.Text = "Visueller Stil &aktivieren"; + toolStripMenuItemActivateVisualStyle.ToolTipText = "Visueller Stil aktivieren"; + toolStripMenuItemActivateVisualStyle.Click += ToolStripMenuItemActivateVisualStyle_Click; + // + // toolStripMenuItemDeactivateVisualStyle + // + toolStripMenuItemDeactivateVisualStyle.AccessibleDescription = "Deaktiviert den visuellen Stil des Programms"; + toolStripMenuItemDeactivateVisualStyle.AccessibleName = "Visuellen Stil deaktivieren"; + toolStripMenuItemDeactivateVisualStyle.AccessibleRole = AccessibleRole.MenuItem; + toolStripMenuItemDeactivateVisualStyle.AutoToolTip = true; + toolStripMenuItemDeactivateVisualStyle.Image = Properties.Resources.application_grey; + toolStripMenuItemDeactivateVisualStyle.Name = "toolStripMenuItemDeactivateVisualStyle"; + toolStripMenuItemDeactivateVisualStyle.Size = new Size(204, 22); + toolStripMenuItemDeactivateVisualStyle.Text = "Visueller Stil &deaktivieren"; + toolStripMenuItemDeactivateVisualStyle.ToolTipText = "Visueller Stil deaktivieren"; + toolStripMenuItemDeactivateVisualStyle.Click += ToolStripMenuItemDeactivateVisualStyle_Click; + // + // backgroundWorker + // + backgroundWorker.WorkerReportsProgress = true; + backgroundWorker.WorkerSupportsCancellation = true; + backgroundWorker.DoWork += BackgroundWorker_DoWork; + backgroundWorker.ProgressChanged += BackgroundWorker_ProgressChanged; + backgroundWorker.RunWorkerCompleted += BackgroundWorker_RunWorkerCompleted; + // + // buttonSettings + // + buttonSettings.AccessibleDescription = "Öffnet die Einstellungen"; + buttonSettings.AccessibleName = "Einstellungen"; + buttonSettings.AccessibleRole = AccessibleRole.PushButton; + buttonSettings.AutoEllipsis = true; + buttonSettings.Image = Properties.Resources.wrench_orange; + buttonSettings.Location = new Point(89, 502); + buttonSettings.Margin = new Padding(4, 3, 4, 3); + buttonSettings.Name = "buttonSettings"; + buttonSettings.Size = new Size(115, 30); + buttonSettings.TabIndex = 21; + buttonSettings.Text = "Eins&tellungen"; + buttonSettings.TextAlign = ContentAlignment.MiddleRight; + buttonSettings.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonSettings, "Öffnet die Einstellungen"); + buttonSettings.UseVisualStyleBackColor = true; + buttonSettings.Click += ButtonSettings_Click; + buttonSettings.Enter += SetStatusbar_Enter; + buttonSettings.Leave += ClearStatusbar_Leave; + buttonSettings.MouseEnter += SetStatusbar_Enter; + buttonSettings.MouseLeave += ClearStatusbar_Leave; + // + // statusStripInfo + // + statusStripInfo.AccessibleDescription = "Statusbar für Informationstext"; + statusStripInfo.AccessibleName = "Statusbar"; + statusStripInfo.AccessibleRole = AccessibleRole.StatusBar; + statusStripInfo.Items.AddRange(new ToolStripItem[] { toolStripStatusLabelInformation }); + statusStripInfo.Location = new Point(0, 539); + statusStripInfo.Name = "statusStripInfo"; + statusStripInfo.ShowItemToolTips = true; + statusStripInfo.Size = new Size(424, 22); + statusStripInfo.SizingGrip = false; + statusStripInfo.TabIndex = 24; + statusStripInfo.TabStop = true; + statusStripInfo.Text = "statusStripInfo"; + // + // toolStripStatusLabelInformation + // + toolStripStatusLabelInformation.AccessibleDescription = "Zeigt Informationsstext an"; + toolStripStatusLabelInformation.AccessibleName = "Informationen"; + toolStripStatusLabelInformation.AccessibleRole = AccessibleRole.StaticText; + toolStripStatusLabelInformation.AutoToolTip = true; + toolStripStatusLabelInformation.Name = "toolStripStatusLabelInformation"; + toolStripStatusLabelInformation.Size = new Size(28, 17); + toolStripStatusLabelInformation.Text = "info"; + // + // NumericListGeneratorForm + // + AccessibleDescription = "Programmfenster"; + AccessibleName = "Programmfenster"; + AccessibleRole = AccessibleRole.Window; + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(424, 585); + Controls.Add(statusStripInfo); + Controls.Add(buttonRedo); + Controls.Add(buttonSettings); + Controls.Add(textBoxStringAfterNumber); + Controls.Add(textBoxStringBeforeNumber); + Controls.Add(statusStripStatistic); + Controls.Add(buttonUndo); + Controls.Add(labelResult); + Controls.Add(buttonCreateList); + Controls.Add(buttonInformationAboutApp); + Controls.Add(buttonExitApp); + Controls.Add(progressBar); + Controls.Add(labelProcress); + Controls.Add(textBoxList); + Controls.Add(buttonDeleteList); + Controls.Add(buttonSaveList); + Controls.Add(buttonCopyList); + Controls.Add(buttonAddToList); + Controls.Add(checkBoxFillWithZeros); + Controls.Add(numericUpDownNumberMaximum); + Controls.Add(labelNumberMax); + Controls.Add(numericUpDownNumberMinimum); + Controls.Add(labelNumberMin); + Controls.Add(labelStringAfterNumber); + Controls.Add(labelStringBeforeNumber); + FormBorderStyle = FormBorderStyle.FixedSingle; + Icon = (Icon)resources.GetObject("$this.Icon"); + Margin = new Padding(4, 3, 4, 3); + MaximizeBox = false; + Name = "NumericListGeneratorForm"; + StartPosition = FormStartPosition.CenterScreen; + Text = "Numeric List Generator"; + Load += NumericListGeneratorForm_Load; + ((System.ComponentModel.ISupportInitialize)numericUpDownNumberMinimum).EndInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDownNumberMaximum).EndInit(); + statusStripStatistic.ResumeLayout(false); + statusStripStatistic.PerformLayout(); + statusStripInfo.ResumeLayout(false); + statusStripInfo.PerformLayout(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private Label labelStringBeforeNumber; + private Label labelStringAfterNumber; + private Label labelNumberMin; + private NumericUpDown numericUpDownNumberMinimum; + private Label labelNumberMax; + private NumericUpDown numericUpDownNumberMaximum; + private CheckBox checkBoxFillWithZeros; + private Button buttonAddToList; + private Button buttonCopyList; + private Button buttonSaveList; + private Button buttonDeleteList; + private TextBox textBoxList; + private Label labelProcress; + private ProgressBar progressBar; + private Button buttonExitApp; + private Button buttonInformationAboutApp; + private Button buttonCreateList; + private ToolTip toolTip; + private Label labelResult; + private Button buttonUndo; + private StatusStrip statusStripStatistic; + private ToolStripStatusLabel toolStripStatusLabelSize; + private ToolStripStatusLabel toolStripStatusLabelLines; + private ToolStripStatusLabel toolStripStatusLabelLim; + private TextBox textBoxStringBeforeNumber; + private TextBox textBoxStringAfterNumber; + private System.ComponentModel.BackgroundWorker backgroundWorker; + private Button buttonSettings; + private Button buttonRedo; + private ToolStripStatusLabel toolStripStatusLabelTimeSpan; + private ToolStripSplitButton toolStripSplitButtonStyle; + private ToolStripMenuItem toolStripMenuItemActivateVisualStyle; + private ToolStripMenuItem toolStripMenuItemDeactivateVisualStyle; + private StatusStrip statusStripInfo; + private ToolStripStatusLabel toolStripStatusLabelInformation; + } +} + diff --git a/NumericListGeneratorForm.cs b/NumericListGeneratorForm.cs new file mode 100644 index 00000000..c83644e3 --- /dev/null +++ b/NumericListGeneratorForm.cs @@ -0,0 +1,372 @@ +using System.Diagnostics; +using System.Windows.Forms.VisualStyles; + +namespace Numeric_List_Generator +{ + /// + /// Main Form + /// + [DebuggerDisplay(value: $"{{{nameof(GetDebuggerDisplay)}(),nq}}")] + public partial class NumericListGeneratorForm : Form + { + /// + /// timeSpan + /// + private TimeSpan timeSpan; + + /// + /// backupListUndo, backupListRedo + /// + private string backupListUndo, backupListRedo; + + /// + /// startTime, endTime + /// + private DateTime startTime, endTime; + + #region + + /// + /// Constructor + /// + public NumericListGeneratorForm() => InitializeComponent(); + + #endregion + + #region + + /// + /// Get Debugger Display + /// + /// Return the debugger display + private string GetDebuggerDisplay() => ToString(); + + /// + /// Set a specific text to the status bar + /// + /// text with some information + private void SetStatusbarText(string text) + { + toolStripStatusLabelInformation.Enabled = !string.IsNullOrEmpty(value: text); + toolStripStatusLabelInformation.Text = text; + } + + private void UpdateStatusBarStatistic() + { + if (toolStripStatusLabelSize.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelSize.Text = $"Größe: {textBoxList.Text.Length} Bytes"; + } + if (toolStripStatusLabelLines.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelLines.Text = $"Zeilen: {textBoxList.Lines.LongLength}"; + } + if (toolStripStatusLabelTimeSpan.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelTimeSpan.Text = $"Dauer: {timeSpan:hh\\:mm\\:ss\\.ff}"; + } + if (toolStripStatusLabelLim.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelLim.Text = $"LIM: {(int)numericUpDownNumberMaximum.Value / timeSpan.TotalSeconds:N4} ips"; + } + } + + private void DisableControls() + { + textBoxStringBeforeNumber.Enabled = false; + numericUpDownNumberMinimum.Enabled = false; + numericUpDownNumberMaximum.Enabled = false; + checkBoxFillWithZeros.Enabled = false; + textBoxStringAfterNumber.Enabled = false; + buttonCreateList.Enabled = false; + buttonAddToList.Enabled = false; + buttonDeleteList.Enabled = false; + buttonUndo.Enabled = false; + buttonRedo.Enabled = false; + buttonCopyList.Enabled = false; + buttonSaveList.Enabled = false; + textBoxList.Enabled = false; + } + + private void EnableControls() + { + textBoxStringBeforeNumber.Enabled = true; + numericUpDownNumberMinimum.Enabled = true; + numericUpDownNumberMaximum.Enabled = true; + checkBoxFillWithZeros.Enabled = true; + textBoxStringAfterNumber.Enabled = true; + buttonCreateList.Enabled = true; + buttonAddToList.Enabled = true; + buttonDeleteList.Enabled = true; + buttonUndo.Enabled = true; + buttonCopyList.Enabled = true; + buttonSaveList.Enabled = true; + textBoxList.Enabled = true; + } + + #endregion + + private void NumericListGeneratorForm_Load(object sender, EventArgs e) + { + SetStatusbarText(text: string.Empty); + buttonSettings.Visible = false; + buttonUndo.Enabled = false; + buttonRedo.Enabled = false; + UpdateStatusBarStatistic(); + } + + #region Enter event handlers + + /// + /// Detect the accessibility description to set as information text in the status bar + /// + /// object sender + /// event arguments + private void SetStatusbar_Enter(object sender, EventArgs e) + { + switch (sender) + { + case TextBox textBox: SetStatusbarText(text: textBox.AccessibleDescription); break; + case Button button: SetStatusbarText(text: button.AccessibleDescription); break; + case RadioButton radioButton: SetStatusbarText(text: radioButton.AccessibleDescription); break; + case CheckBox checkBox: SetStatusbarText(text: checkBox.AccessibleDescription); break; + case DateTimePicker dateTimePicker: SetStatusbarText(text: dateTimePicker.AccessibleDescription); break; + case Label label: SetStatusbarText(text: label.AccessibleDescription); break; + case PictureBox pictureBox: SetStatusbarText(text: pictureBox.AccessibleDescription); break; + case CheckedListBox checkedListBox: SetStatusbarText(text: checkedListBox.AccessibleDescription); break; + case ComboBox box: SetStatusbarText(text: box.AccessibleDescription); break; + case DataGridView view: SetStatusbarText(text: view.AccessibleDescription); break; + case GroupBox group: SetStatusbarText(text: group.AccessibleDescription); break; + case ListBox box: SetStatusbarText(text: box.AccessibleDescription); break; + case ListView view: SetStatusbarText(text: view.AccessibleDescription); break; + case MaskedTextBox box: SetStatusbarText(text: box.AccessibleDescription); break; + case NumericUpDown numericUpDown: SetStatusbarText(text: numericUpDown.AccessibleDescription); break; + case MonthCalendar monthCalendar: SetStatusbarText(text: monthCalendar.AccessibleDescription); break; + case PropertyGrid propertyGrid: SetStatusbarText(text: propertyGrid.AccessibleDescription); break; + case RichTextBox richTextBox: SetStatusbarText(text: richTextBox.AccessibleDescription); break; + case ScrollBar scrollBar: SetStatusbarText(text: scrollBar.AccessibleDescription); break; + case TrackBar trackBar: SetStatusbarText(text: trackBar.AccessibleDescription); break; + case WebBrowser webBrowser: SetStatusbarText(text: webBrowser.AccessibleDescription); break; + case DomainUpDown domainUpDown: SetStatusbarText(text: domainUpDown.AccessibleDescription); break; + case ToolStripButton toolStripButton: SetStatusbarText(text: toolStripButton.AccessibleDescription); break; + case ToolStripMenuItem toolStripMenuItem: SetStatusbarText(text: toolStripMenuItem.AccessibleDescription); break; + case ToolStripLabel toolStripLabel: SetStatusbarText(text: toolStripLabel.AccessibleDescription); break; + case ToolStripComboBox toolStripComboBox: SetStatusbarText(text: toolStripComboBox.AccessibleDescription); break; + case ToolStripDropDown toolStripDropDown: SetStatusbarText(text: toolStripDropDown.AccessibleDescription); break; + case ToolStripDropDownButton toolStripDropDownButton: SetStatusbarText(text: toolStripDropDownButton.AccessibleDescription); break; + case ToolStripDropDownItem toolStripDropDownItem: SetStatusbarText(text: toolStripDropDownItem.AccessibleDescription); break; + case ToolStripProgressBar progressBar: SetStatusbarText(text: progressBar.AccessibleDescription); break; + case ToolStripSeparator toolStripSeparator: SetStatusbarText(text: toolStripSeparator.AccessibleDescription); break; + case ToolStripTextBox toolStripTextBox: SetStatusbarText(text: toolStripTextBox.AccessibleDescription); break; + } + } + + #endregion + + #region Leave event handlers + + /// + /// Clear the information text of the status bar + /// + /// object sender + /// event arguments + /// The parameters and are not needed, but must be indicated. + private void ClearStatusbar_Leave(object sender, EventArgs e) => SetStatusbarText(text: string.Empty); + + #endregion + + private void ButtonAddToList_Click(object sender, EventArgs e) + { + DisableControls(); + backupListUndo = textBoxList.Text; + startTime = DateTime.Now; + progressBar.Minimum = 0; + progressBar.Maximum = (int)numericUpDownNumberMaximum.Value; + progressBar.Value = 0; + progressBar.Step = 1; + backgroundWorker.RunWorkerAsync(); + } + + private void ButtonCopyList_Click(object sender, EventArgs e) + { + textBoxList.SelectAll(); + textBoxList.Copy(); + MessageBox.Show(text: "Die Liste wurde in die Zwischenablage kopiert."); + } + + private void ButtonSaveList_Click(object sender, EventArgs e) + { + using SaveFileDialog save = new() + { + FileName = "liste.txt", + Filter = "Textdatei | *.txt" + }; + if (save.ShowDialog() == DialogResult.OK) + { + StreamWriter writer = new(stream: save.OpenFile()); + try + { + writer.WriteLine(value: textBoxList.Text); + } + finally + { + writer.Close(); + MessageBox.Show(text: "Die Liste wurde in die Textdatei kopiert."); + } + } + } + + private void ButtonDeleteList_Click(object sender, EventArgs e) + { + textBoxList.Clear(); + timeSpan = TimeSpan.Zero; + UpdateStatusBarStatistic(); + } + + private void ButtonInformationAboutApp_Click(object sender, EventArgs e) + { + using AboutBoxForm formAboutBox = new(); + formAboutBox.ShowDialog(); + } + + private void ButtonExitApp_Click(object sender, EventArgs e) => Close(); + + private void ButtonCreateList_Click(object sender, EventArgs e) + { + DisableControls(); + ButtonDeleteList_Click(sender: sender, e: e); + ButtonAddToList_Click(sender: sender, e: e); + } + + private void ButtonUndo_Click(object sender, EventArgs e) + { + textBoxList.Text = backupListUndo; + buttonUndo.Enabled = false; + buttonRedo.Enabled = true; + UpdateStatusBarStatistic(); + } + + private void ButtonRedo_Click(object sender, EventArgs e) + { + textBoxList.Text = backupListRedo; + buttonUndo.Enabled = true; + buttonRedo.Enabled = false; + UpdateStatusBarStatistic(); + } + + private void BackgroundWorker_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e) + { + for (int i = (int)numericUpDownNumberMinimum.Value; i < (int)numericUpDownNumberMaximum.Value + 1; i++) + { + if (textBoxList.Text.Length > 0) + { + textBoxList.AppendText(text: Environment.NewLine); + } + if (checkBoxFillWithZeros.Checked) + { + textBoxList.AppendText(text: $"{textBoxStringBeforeNumber.Text}{i.ToString().PadLeft(totalWidth: ((int)numericUpDownNumberMaximum.Value).ToString().Length, paddingChar: '0')}{textBoxStringAfterNumber.Text}"); + } + else + { + textBoxList.AppendText(text: $"{textBoxStringBeforeNumber.Text}{i}{textBoxStringAfterNumber.Text}"); + } + backgroundWorker.ReportProgress(percentProgress: i); + endTime = DateTime.Now; + timeSpan = endTime - startTime; + UpdateStatusBarStatistic(); + backupListRedo = textBoxList.Text; + } + } + + private void BackgroundWorker_ProgressChanged(object sender, System.ComponentModel.ProgressChangedEventArgs e) => progressBar.PerformStep(); + + private void ButtonSettings_Click(object sender, EventArgs e) + { + using SettingsForm formSettings = new(); + formSettings.ShowDialog(); + } + + private void ToolStripStatusLabelSize_Click(object sender, EventArgs e) + { + if (toolStripStatusLabelSize.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelSize.ForeColor = SystemColors.GrayText; + toolStripStatusLabelSize.Text = toolStripStatusLabelSize.Tag.ToString(); + } + else + { + toolStripStatusLabelSize.ForeColor = SystemColors.ControlText; + } + } + + private void ToolStripStatusLabelLines_Click(object sender, EventArgs e) + { + if (toolStripStatusLabelLines.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelLines.ForeColor = SystemColors.GrayText; + toolStripStatusLabelLines.Text = toolStripStatusLabelLines.Tag.ToString(); + } + else + { + toolStripStatusLabelLines.ForeColor = SystemColors.ControlText; + } + } + + private void ToolStripStatusLabelTimeSpan_Click(object sender, EventArgs e) + { + if (toolStripStatusLabelTimeSpan.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelTimeSpan.ForeColor = SystemColors.GrayText; + toolStripStatusLabelTimeSpan.Text = toolStripStatusLabelTimeSpan.Tag.ToString(); + } + else + { + toolStripStatusLabelTimeSpan.ForeColor = SystemColors.ControlText; + } + } + + private void ToolStripStatusLabelLim_Click(object sender, EventArgs e) + { + if (toolStripStatusLabelLim.ForeColor == SystemColors.ControlText) + { + toolStripStatusLabelLim.ForeColor = SystemColors.GrayText; + toolStripStatusLabelLim.Text = toolStripStatusLabelLim.Tag.ToString(); + } + else + { + toolStripStatusLabelLim.ForeColor = SystemColors.ControlText; + } + } + + private void ToolStripStatusLabelStyle_Click(object sender, EventArgs e) + { + if (Application.VisualStyleState == VisualStyleState.ClientAndNonClientAreasEnabled) + { + toolStripSplitButtonStyle.Image = Properties.Resources.application; + Application.VisualStyleState = VisualStyleState.NoneEnabled; + } + else + { + toolStripSplitButtonStyle.Image = Properties.Resources.application_grey; + Application.VisualStyleState = VisualStyleState.ClientAndNonClientAreasEnabled; + } + Invalidate(invalidateChildren: true); + } + + private void ToolStripMenuItemActivateVisualStyle_Click(object sender, EventArgs e) + { + toolStripSplitButtonStyle.Image = Properties.Resources.application_grey; + Application.VisualStyleState = VisualStyleState.ClientAndNonClientAreasEnabled; + Invalidate(invalidateChildren: true); + } + + private void ToolStripMenuItemDeactivateVisualStyle_Click(object sender, EventArgs e) + { + toolStripSplitButtonStyle.Image = Properties.Resources.application; + Application.VisualStyleState = VisualStyleState.NoneEnabled; + Invalidate(invalidateChildren: true); + } + + private void BackgroundWorker_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e) => EnableControls(); + } +} \ No newline at end of file diff --git a/NumericListGeneratorForm.resx b/NumericListGeneratorForm.resx new file mode 100644 index 00000000..ffdc2bf9 --- /dev/null +++ b/NumericListGeneratorForm.resx @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 5, 8 + + + 5, 8 + + + 5, 8 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGMSURBVDhPpZLfK0NhGMff6937A9Tc09zaHGxHklwo + ScaFdkVxJXGxnTFJMRG5slpqfoQL2zlnmzaMXSgSpTEpF5PaSa1RLvT1vOfKxXvh5KlPz/t+z/t8n+d9 + OwzAvxCKVhCKVhCKVmDyXIp5CHcoydpmdYekaDFXQP1wBlQ4/QTPhEvR0DKjx9yzSZsnlDLrOIwE/iHa + rGibXQvHWNILUO/ekHksE4ZJtmjg8OYVgcNbtM+nQY3WeFPTgDpiOfuMntULpB8MRC9LmDoqYihyjcGN + C3jXcvCun2OQGN+6QiT/ggFa08Q7poHTn0DB+IJWeMfIfhHdkXvIizlI/kS10RcO2eXhvrp2Xz/PDl94 + Tgpqn70rp6BrgAxk0yD+WEVf7Ane3Wd0ruTRNBHLMMbqiRrC9gu+b3BNbutUzA3AmhUVZ6VvjCbLGEsb + iBcq6FAODjz0qHxEERS10vTeCZ35Yq1BtSKRSYuSICgHNfCHFRX+hsLOp+ELPqpDwN9C9HNYQShaQSha + QSj+HbAfEXhx3XgHRPIAAAAASUVORK5CYII= + + + + 95, 8 + + + 204, 8 + + + 360, 8 + + + 44 + + + + AAABAAIAEBAAAAEAIABoBAAAJgAAACAgAAABACAAqBAAAI4EAAAoAAAAEAAAACAAAAABACAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAIwAAADMAAAAzAAAAMwAAADMAAAAzAAAAMwAAADMAAAAzAAAAMwAA + ADMAAAAzAAAAMwAAADMAAAAzAAAAI6ampsCysrL/sLCw/6+vsP+vr7D/r6+w/6+vsP+vr7D/r6+w/6+v + sP+vr7D/r6+w/6+vsP+wsLD/srKy/6ampsCysrL///////////////////////////////////////// + //////////////////////////////////+ysrL/sLCw///////+/////////////////////v////7+ + ///+/v7//v7+//7+/v/+/v7//v7+//3+/v//////sLCw/6+vr////////P///8Z0Gv/IeiT/x3Uc//// + ///////////////////////////////////9/Pz//////6+vr/+vr6////////j8///gvpb/zYU1/+vT + vP//////Q0FA/1pYVf9samj/cW5s/15bWf9GREP//P39//////+vr6//sLCw///////2+Pn/+P////Hr + 5v/IeB//+v////3+/v////7////+//7//v////7//P37//f39v//////sLCw/7CwsP//////8/T2/9KT + T//Zqnb/z49H//X4+//09PP/9PPy//Tz8v/08/L/9PPy//Ty8f/y8fD//////7CwsP+wsLD//////+/x + 8f/x9vr/8vr///L3/P/x8vP/8fHw//Hx8P/x8fD/8fHw//Hx8P/w8O//7+/u//////+wsLD/sLCw//// + ///t7e3/7/L3/8d0GP/w8/j/8fHx//X08//39vX/9vX0//b19P/39vX/9fTz/+/u7f//////sLCw/7Cw + sP//////6evr/+zy+P/JeB7/7fP4//Dy8v9FQ0H/XVpY/29ta/9zcW7/YF5c/0lHRv/v7+7//////7Cw + sP+wsLD//////+jo6f/r8fj/ynoh/+vv9f/s7Oz/8O/u//Lx8P/x8O//8fDv//Lx8P/w7+7/6uno//// + //+wsLD/sLCw///////k5+n/z5NP/8p4Hv/m6+//5efm/+bm5f/m5+b/5ufm/+bm5f/m5+b/5ebl/+Pk + 4v//////sLCw/7CwsP//////4OHh/+Ll6P/d0MH/4uPk/+Hg3//h4N//4eDf/+Hg3//h4N//4eDf/+Hf + 3v/g397//////7CwsP+ysrL///////////////////////////////////////////////////////// + //////////////////+ysrL/tbW177Kysv+wsLD/sLCw/7CwsP+wsLD/sLCw/7CwsP+wsLD/sLCw/7Cw + sP+wsLD/sLCw/7CwsP+ysrL/tbW17wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAIAAAAEAAAAABACAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAABQAAABAAAAAWAAAAFgAAABYAAAAWAAAAFgAAABYAAAAWAAAAFgAAABYAAAAWAAAAFgAA + ABYAAAAWAAAAFgAAABYAAAAWAAAAFgAAABYAAAAWAAAAFgAAABYAAAAWAAAAFgAAABYAAAAWAAAAFgAA + ABYAAAAWAAAAEAAAAAUAAAAQAAAAMQAAAEIAAABDAAAAQwAAAEMAAABDAAAAQwAAAEMAAABDAAAAQwAA + AEMAAABDAAAAQwAAAEMAAABDAAAAQwAAAEMAAABDAAAAQwAAAEMAAABDAAAAQwAAAEMAAABDAAAAQwAA + AEMAAABDAAAAQwAAAEIAAAAxAAAAEAAAABaioqLzoqKi/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+f + n/+fn5//n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+f + n/+fn5//n5+f/5+fn/+fn5//oqKi/6KiovMAAAAWAAAAFqKiov////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////oqKi/wAAABYAAAAWn5+f//////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////+fn5//AAAAFgAAABafn5////////39 + /f/8/Pz//Pz8//z8/P/8/Pz//Pz8//z8/P/8/Pz//Pz8//z8/P/8/Pz//Pz8//z8/P/8/Pz//Pz8//z8 + /P/8/Pz//Pz8//z8/P/8/Pz//Pz8//z8/P/8/Pz//Pz8//z8/P/9/f3//////5+fn/8AAAAWAAAAFp+f + n////////Pz8//v7+//7+/v/+/v8//v8/f/7/f3/+/z9//v7/P/7+/v/+/v7//v7+//7+/v/+/v7//v7 + +//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//z8/P//////n5+f/wAA + ABYAAAAWn5+f///////7+/v/+vr6//r6+//7/P7//P////3////9////+/3+//r6+//6+vr/+vr6//r6 + +v/6+vr/+vr6//r6+v/6+vr/+vr6//r6+v/6+vr/+vr6//r6+v/6+vr/+vr6//r6+v/6+vr/+/v7//// + //+fn5//AAAAFgAAABafn5////////r6+v/5+fn/+fr6//v+///LgjH/0ZBI/9CORv/8////+vv8//v7 + +//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+vr6//n5 + +f/6+vr//////5+fn/8AAAAWAAAAFp+fn///////+fn5//j4+P/4+fn/+vz///3/////////zok+//j4 + 9//8/f7///////////////////////////////////////////////////////////////////////// + ///7/Pz/+Pj5//n5+f//////n5+f/wAAABYAAAAWn5+f///////4+Pb/9/f2//f49//5+/z/3LF//8yC + MP/Wnl///P////////8+Ozr/TUpH/1RRUP9bWFf/YmBe/2lnZv9xbmz/dHFv/2xpZ/9lYmD/XVta/1ZU + U/9OS0r/QD49//7+/f/4+Pf/+Pj2//////+fn5//AAAAFgAAABafn5////////b39f/29vX/9vf2//j6 + +//7////8+7p/8h4If/6////+vv7/////v////////////////////////////////////////////// + //////////////////////7/+fr5//b39f/29/X//////5+fn/8AAAAWAAAAFp+fn///////9fT0//X0 + 9P/19fX/9/n8/8+NQ//Rk0z/0JFJ//j7///29vf/9/b2//f29v/39vb/9/b2//f29v/39vb/9/b2//f2 + 9v/39vb/9/b2//f29v/39vb/9/b2//f29v/29PX/9fT0//X09P//////n5+f/wAAABYAAAAWn5+f//// + ///08/P/9PPz//T09f/2+Pz/+f////r////5////9vj7//T09P/08/P/9PPz//Tz8//08/P/9PPz//Tz + 8//08/P/9PPz//Tz8//08/P/9PPz//Tz8//08/P/9PPz//Tz8//08/P/9PPz//////+fn5//AAAAFgAA + ABafn5////////Py8v/z8vL/8/P0//b5///IeB//yXsl/9COR//19/v/9PT0//X09P/19PT/9fT0//X0 + 9P/19PT/9fT0//X09P/19PT/9fT0//X09P/19PT/9fT0//X09P/19PT/9PPz//Py8v/z8vL//////5+f + n/8AAAAWAAAAFp+fn///////8vHx//Lx8f/y8vP/9Pf9/9CSS//WnmL/8/j8//T3+v/29fb/+/r6//38 + /f/9/P3//fz8//z8/P/8+/v/+/r7//v6+//8+/v//Pv8//38/P/9/Pz//fz8//v6+v/19PT/8vHx//Lx + 8f//////n5+f/wAAABYAAAAWn5+f///////x8O//8fDv//Hw8P/z8/X/8fPy/9mseP/QkUv/9Pj8//j4 + 9/9APTz/TktJ/1VTUv9cWln/Y2Fg/2toZ/9ycG7/dXNw/21raP9mZGH/X1xb/1dVVP9PTUz/QkA///f2 + 9f/y8e//8fDv//////+fn5//AAAAFgAAABafn5///////+/v7v/v7+7/7+/v//Dy8//y+P3/9P///8l3 + H//y9/z/8/T0//j49//6+vn/+vr5//r6+f/5+vn/+fn4//j49//4+Pf/+Pn4//n5+P/6+vn/+vr5//r6 + +f/4+Pf/8vLx/+/v7v/v7+7//////5+fn/8AAAAWAAAAFp+fn///////7u7t/+7u7f/u7+7/7/L0/8yD + Mv/QkEn/05ZV//D0+P/v8O//8PDv//Dw7//w8O//8PDv//Dw7//w8O//8PDv//Dw7//w8O//8PDv//Dw + 7//w8O//8PDv//Dw7//v7+7/7u7t/+7u7f//////n5+f/wAAABYAAAAWn5+f///////t7ev/7e3s/+3t + 7P/u8PH/7/X6//D4///w9fr/7vDx/+3t7P/t7ez/7e3s/+3t7P/t7ez/7e3s/+3t7P/t7ez/7e3s/+3t + 7P/t7ez/7e3s/+3t7P/t7ez/7e3s/+3t7P/t7ez/7e3r//////+fn5//AAAAFgAAABafn5///////+vs + 6v/s7Ov/7Ozr/+zu7v/u8/j/yHQZ/+7z+P/s7u7/7e3s/+7u7f/u7u3/7u7t/+7u7f/u7u3/7u7t/+7u + 7f/u7u3/7u7t/+7u7f/u7u3/7u7t/+7u7f/u7u3/7e3s/+zs6//r7Or//////5+fn/8AAAAWAAAAFp+f + n///////6unp/+vq6v/r6ur/6+zt/+3y+P/Jdx7/7fL4/+zs7f/u7e3/8/Ly//b19f/29fX/9fT1//X0 + 9P/08/P/9PPz//Tz8//08/P/9PP0//X09P/29fX/9vX1//Py8v/u7e3/6+rq/+rp6f//////n5+f/wAA + ABYAAAAWn5+f///////p6Oj/6unp/+rp6f/q6+z/7fL6/8l5IP/s8fj/7Ozt//Dv7/9BPz7/T01L/1ZU + U/9eW1r/ZWJh/2xqaf90cW//dnRx/25sav9nZWL/YF5d/1lXVf9QTk3/Q0FA//Dv7//r6ur/6ejo//// + //+fn5//AAAAFgAAABafn5///////+jn5//p6Oj/6ejp/+rr7v/o5OD/ynoh/+vw9//q6uv/7Ovr//Hw + 8f/08/P/9PPz//Py8//z8vL/8vHx//Lx8f/y8fH/8vHx//Ly8v/z8vL/9PPz//Tz8//x8PH/7Ovr/+no + 6P/o5+f//////5+fn/8AAAAWAAAAFp+fn///////5+bl/+jn5v/o5+f/6evt/9GVUv/KeB7/6u7y/+jo + 6P/p6Ob/6uno/+rp6P/q6ej/6uno/+rp6P/q6ej/6uno/+rp6P/q6ej/6uno/+rp6P/q6ej/6uno/+rp + 6P/p6Ob/6Ofm/+fm5f//////n5+f/wAAABYAAAAWn5+f///////m5eT/5+bl/+fm5f/n6Oj/6ezv/+LW + yP/o6ev/5+fm/+fm5f/n5uX/5+bl/+fm5f/n5uX/5+bl/+fm5f/n5uX/5+bl/+fm5f/n5uX/5+bl/+fm + 5f/n5uX/5+bl/+fm5f/n5uX/5uXk//////+fn5//AAAAFgAAABafn5///////+Xk4v/m5eT/5uXk/+bl + 5f/m5ub/5ufn/+bm5v/m5eT/5uXk/+bl5P/m5eT/5uXk/+bl5P/m5eT/5uXk/+bl5P/m5eT/5uXk/+bl + 5P/m5eT/5uXk/+bl5P/m5eT/5uXk/+bl5P/l5OL//////5+fn/8AAAAWAAAAFp+fn///////5OLh/+Xk + 4//l5OP/5eTj/+Xk4//l5OP/5eTj/+Xk4//l5OP/5eTj/+Xk4//l5OP/5eTj/+Xk4//l5OP/5eTj/+Xk + 4//l5OP/5eTj/+Xk4//l5OP/5eTj/+Xk4//l5OP/5eTj/+Ti4f//////n5+f/wAAABYAAAAWn5+f//// + ///i4eD/4+Lh/+Tj4v/k4+L/5OPi/+Tj4v/k4+L/5OPi/+Tj4v/k4+L/5OPi/+Tj4v/k4+L/5OPi/+Tj + 4v/k4+L/5OPi/+Tj4v/k4+L/5OPi/+Tj4v/k4+L/5OPi/+Tj4v/j4uH/4uHg//////+fn5//AAAAFgAA + ABWgoKD//////+Hf3v/h4N//4eDf/+Hg3//h4N//4eDf/+Hg3//h4N//4eDf/+Hg3//h4N//4eDf/+Hg + 3//h4N//4eDf/+Hg3//h4N//4eDf/+Hg3//h4N//4eDf/+Hg3//h4N//4eDf/+Hg3//h397//////6Cg + oP8AAAAVAAAADaKiov////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////oqKi/wAAAA0AAAAEoaGhtKKiov+goKD/n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+f + n/+fn5//n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+fn/+fn5//n5+f/5+f + n/+fn5//oKCg/6Kiov+hoaG0AAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + + + \ No newline at end of file diff --git a/Program.cs b/Program.cs new file mode 100644 index 00000000..f752e198 --- /dev/null +++ b/Program.cs @@ -0,0 +1,15 @@ +namespace Numeric_List_Generator +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + ApplicationConfiguration.Initialize(); + Application.Run(mainForm: new NumericListGeneratorForm()); + } + } +} \ No newline at end of file diff --git a/Properties/PublishProfiles/FolderProfile.pubxml b/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 00000000..e2662efe --- /dev/null +++ b/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,17 @@ + + + + + Release + Any CPU + bin\Release\net7.0-windows\publish\linux-arm64\ + FileSystem + <_TargetId>Folder + net7.0-windows + linux-arm64 + false + true + + \ No newline at end of file diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user new file mode 100644 index 00000000..107a6d15 --- /dev/null +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -0,0 +1,10 @@ + + + + + True|2023-10-22T20:57:33.2564582Z;True|2023-10-22T22:57:24.5821996+02:00;True|2023-10-22T22:57:10.8510092+02:00;True|2023-10-22T22:56:59.5846993+02:00;True|2023-10-22T22:56:50.6496112+02:00;True|2023-10-22T22:56:42.0747904+02:00;True|2023-10-22T22:56:33.2717070+02:00;True|2023-10-22T22:56:20.4765540+02:00;True|2023-10-22T22:56:07.3276842+02:00; + + + \ No newline at end of file diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 00000000..2cc60454 --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,253 @@ +//------------------------------------------------------------------------------ +// +// 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 Numeric_List_Generator.Properties { + using System; + + + /// + /// 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("Numeric_List_Generator.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; + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap add { + get { + object obj = ResourceManager.GetObject("add", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap application { + get { + object obj = ResourceManager.GetObject("application", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap application_grey { + get { + object obj = ResourceManager.GetObject("application_grey", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bin_empty { + get { + object obj = ResourceManager.GetObject("bin_empty", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap clipboard_empty { + get { + object obj = ResourceManager.GetObject("clipboard_empty", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap cross { + get { + object obj = ResourceManager.GetObject("cross", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap diskette { + get { + object obj = ResourceManager.GetObject("diskette", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap document_index { + get { + object obj = ResourceManager.GetObject("document_index", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap door_open { + get { + object obj = ResourceManager.GetObject("door_open", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap gear_in { + get { + object obj = ResourceManager.GetObject("gear_in", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap information { + get { + object obj = ResourceManager.GetObject("information", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap page_copy { + get { + object obj = ResourceManager.GetObject("page_copy", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap paste_plain { + get { + object obj = ResourceManager.GetObject("paste_plain", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap redo { + get { + object obj = ResourceManager.GetObject("redo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap text_list_numbers { + get { + object obj = ResourceManager.GetObject("text_list_numbers", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap tick { + get { + object obj = ResourceManager.GetObject("tick", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap undo { + get { + object obj = ResourceManager.GetObject("undo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap wrench { + get { + object obj = ResourceManager.GetObject("wrench", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap wrench_orange { + get { + object obj = ResourceManager.GetObject("wrench_orange", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 00000000..982d3bcd --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + ..\Resources\add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\application.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\application_grey.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bin_empty.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\clipboard_empty.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\cross.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\diskette.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\document_index.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\door_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\gear_in.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\information.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\page_copy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\paste_plain.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\redo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\text_list_numbers.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\tick.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\undo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\wrench.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\wrench_orange.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs new file mode 100644 index 00000000..b066c7f3 --- /dev/null +++ b/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 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 Numeric_List_Generator.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.7.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/Properties/Settings.settings b/Properties/Settings.settings new file mode 100644 index 00000000..15034e76 --- /dev/null +++ b/Properties/Settings.settings @@ -0,0 +1,6 @@ + + + + + + diff --git a/Resources/Numeric List Generator.ico b/Resources/Numeric List Generator.ico new file mode 100644 index 0000000000000000000000000000000000000000..621ab6674a9938290c67c4c8ae39e8a576eb5a54 GIT binary patch literal 5430 zcmc&%OKeqD6nz>Tk}$!jF;apWhoW(!QVLbDl%GHaS}3IoEl>)T@(~9n7zYkSl*mv% z17eIxk;u##ok)u)MG_Jcm408}|Npt~*X3I0_BPn|8v01fN!H!xo_+RNXWx77zI%H- zk9Z#S%$w(-tnjqX@pzv1csvyq_Wd^;KgqEdIL0n#*y9v#Z4nhOmx)CeFJAol^5x68 zbm9`| zl!}@S`rBoozQv)wpU&X-PhLUr){h!O^|C6|Z>dAu-d1$9x1q6ND^|Qwjbf=}^s?6; z)G}5M7G*r>Mfb4<$g^+n(|AJvY*{Q7kj-YOwfFDXCsP^xd3qi0e0u~pK3|EnRX{40 zL@Js1FA{Mi;;~8g(Rdv3OdbgmC$dGv6G_B5Zz5u`D5BBGB>QkUjA$Z@tDR3Emb7RW zN1FWEOd6SV%0PXMMI+%!_WocHp@fB=W6vN=`&c4@H>;Ond;Jz1*uM{lI@;0HxD7Qc zS4_$8^Z5~sTex<7A%f8~LZJ|1+^2kvbI*eM8VmS+llX^5{J6pAca8ksU=+h6UUU;-U z?|$Lfx&?*%9ao&GAgTz(qyK4-QKyjf_$))54)2)=_~rL(H*rqnFERcWi^Um*IMk-%7k8mh7z6vo5(=DeWZ_<&GiUlz z9B%yL&gb(4*Da1hGqqcxP#QJkwqA3}gE-Wt@?UG_ayjHE3;eD9c49GZo_Y(tCs&xg zY>FxDs*s>YTO^w*ovfJblogD|zwxYVyrQ+|Kvh_?5rfh%(PiB4L$~;^dyA3ry~t zqz~Fdo@d#C&UG%wn89%a_I2;*B{iO4e(kL9#vft+YoL83Qn>!{OXxjSgIj0n5KCEz zGFMfeT@J+UtnbDj4hInqhYTVy?l+xBjKxQcQumJT!DLYMQ^ucQD8T%j`Mwb0ewpug zcRp#P?#1i)FkLBItt$>U{(zsgLLgux6h>He$5GZDlp)?nSj*@e$}m0&>9LqH9yiA0 zf&HC2^JF7itt}2We!tIW^qLb0@;$KV>iM7oA=WSAk42+cwzQIGy4J+@M#lJE%{y5~ z?tx zfbWF0Se)m;@i)nDM7}xS^|&01W6nI;$X49qaN{3g4dr7^W%dya!2m1RkNd3^@z>Gj^i(>-+{B!5dnX!J>->&t! uTirh0@v$0ToUA|Q6LTM8{WX{TbIzYX|AY3RJt;4oNr*#S;uJUWP}{$1rwK^_ literal 0 HcmV?d00001 diff --git a/Resources/add.png b/Resources/add.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea124a744763ffe056b84a56b6100c45303068a GIT binary patch literal 698 zcmV;r0!96aP)CkTpyMMUf(3l}b2gjyF`6&DIhc6Ox{+>|cFg@&|{O2tC7 zAdLz6G)>ax`#zm{`4v-e;e~nJcjwMIGjrw&!!Yna%fcTaMC0Jn42DzTT{&|D$NC3RR&&_ON0G>EAhaGrFuaO#MVp(S z!sQkK3V!D~*f;U)njb5Xw^&~Hqoi_nfR*x8ItH*)bYU^Hf$uyT+2_3l$ZQ#zw~R?awQu z3Nb1e(3@?6#zy}}TLpGy6TNQoYnWl5tlc?xq~|cg$&V&;nIcMh6M*+cDu+w5D`hwp zv%6;-DsZADZHwyc#Lba(i&WmzO{rfl3saT4`m!n`kl9H0FDvj@pFqLSh-dG8MW(4)oG4Zq#0^#T{7)3X1R;rWC+RGNHrJB`nNlX#((`&os&^9v6tF4a6zNEWb8L%K7_v#KHSMrrP2$@sK(H5->{^ gAb%707*qoM6N<$f(m;$tN;K2 literal 0 HcmV?d00001 diff --git a/Resources/application.png b/Resources/application.png new file mode 100644 index 0000000000000000000000000000000000000000..217d1ecc6e5c05e4df49878e68919fa29045ebed GIT binary patch literal 366 zcmV-!0g?WRP)F4(|?FDQ&g2`eFBnG?!Yo2>Cd<(yw`^7O8@`> M07*qoM6N<$f*EL)`~Uy| literal 0 HcmV?d00001 diff --git a/Resources/application_grey.png b/Resources/application_grey.png new file mode 100644 index 0000000000000000000000000000000000000000..fbcb2a9f4bc0b7a3592035a2532f1988aa1e0738 GIT binary patch literal 410 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XpIX zPZ!4!jq|M+6#1AOd0HRtzwIfuiK$=iu<8ybF4qq#GTfaHxe7R0mOCija_muDXdHc8 zUw{2nr}`%~n`5~-e@zOuO!C;Ery)McurT$9GHZH&=ms~YfEfmpCZ9apl4szswJ)wB`Jv|saDBFsX&Us$iUD<*T7iU&^W}v#LCFb%EVOLz{twL;7~xlAc}_E z{FKbJN}vV4U!-mg7ec#$`gxH85~pclTsBt ca}(23gHjVyDhp4hf&z@e)78&qol`;+08;pXYybcN literal 0 HcmV?d00001 diff --git a/Resources/bin_empty.png b/Resources/bin_empty.png new file mode 100644 index 0000000000000000000000000000000000000000..df6278bcf211ed276e36d662e606be5702fcc99e GIT binary patch literal 807 zcmV+?1K9kDP)(RCwBKQ%g(}Q4~G%DQ#&x9ic@U ztSku8$U+tZ8Vxp>@M(3!3UJ}pt*n)e%Z3GEgBy*+AWBGB00k0tCkYrAegF{yfk67> zXa96M<9!b>NOt5r`xgZFeqA0$mcqZeV zMaeO@yUca1rUsY1UKmHH9GI=mjScV8;^NbIJoZ>Vzk0#d8VI1juMgpH1U82Q#TF~f z6c$SnDk{8a@%u6O>ZR*H0F%jtTrS5!Op?Uk#p7{oZEwM5wZX0^P!tDjHakqR#97Iw zEAvDG(eimLFR$Q9cQ>pS3rH)|&7`4FC?J(iV{L7nnZW=UWn+|Rx3g#V(+Mb%O!AA- zNCXQDO9<0mUVafCj|VPSDV=3_VVRO2+8s)}yUc@|4RuIo(wLeU$HD#{WRf9Kb%}Oa zmiaD<6p{#0IASFh3R+NAONqXYZ{L65f>S}&m8)3!y^I$F1CV&4%w;eDiIPX&y@wzQ zoPlWQhNrcy89rYlQmHi8Sz1DXdI61heZ2C_Oo%5>PfhWvon2l3j2GEombA{z&BI!3 z#-BuzI&sKpz8M@uHk*Urf1h9WQ)`)V!*7QmoB%Lt^IyJFYi#7Wl>_9d3#^i_sfp$w zjOpnRPYg{=@YZ#7cHv|?$qNy`Nbl#_SsD@x5{U#fEzdQ7`uG8>tE&hE9`MU;i~+6T zA;#d?1L|w^Rzp2nTbhZsKmbYX?Cx@Px9>C}NxqDYjdH-y>S~iy zRqtJ{tVBGvM+qrJY4XC+2y&#~Y%YSTmhkDTt-Vf@=)~?$9E%G-={&p7c$Drcu)(`v(W(!CkM%CA*C#@ZR}ubw1wJr9S={>kjSHh9HhwO z{;`3x+6|^@y+k_Jcb#PUp_N2#at<>uN0=23`@-k>9of|6z`;M1& literal 0 HcmV?d00001 diff --git a/Resources/cross.png b/Resources/cross.png new file mode 100644 index 0000000000000000000000000000000000000000..33a383748bca465d6d0e7be4fa2ce83c861e36ba GIT binary patch literal 473 zcmV;~0Ve*5P)1Bai@#8xK6ALSt`Ds!U zgJE$w!x4r~upuBeNDL+qQVRo&AX69_8I6G^o-xSIWB9ggCR~y$DjiIti(QyHiNWT; z1rwm&voHfda$rLYlhYZ#Z(52q5IOy#8P3n03Dykco(1bgG5}#nY&^ryJ)2N8v%B~) zoL{^Ut{E1HENGU1B^ZDHMEDoxSD+ZO8uT!Lhqh5*5X0XKC$V~g*}$CP-1>DOS1`g{ z05<@n+1SUM;or?Ga1BiAI$#=I?Ch4UU_;fHo8W8^o&;cN2@GxNd{hQ%GD^#sypjxcyz{1W3 zEO_G35tPt|#SXeWC><~$WhP^!%wmis3^C+UG80S@4$WBQ;juso00=MutP2U)_A3w6 P00000NkvXXu0mjf8D7L! literal 0 HcmV?d00001 diff --git a/Resources/diskette.png b/Resources/diskette.png new file mode 100644 index 0000000000000000000000000000000000000000..d0d400ec6459b70b39a5b97890f9073cfc8a080a GIT binary patch literal 730 zcmV<00ww*4P)RCwBqQ%y)!K^Q%A@7(vE_o>eo zlKmUjqT1WW7A-1i7qkhB2%>1?wjw3+iP)l*e~T7|B(_j=6BfRL5W&ZoFDpqK1Oy*Tyl3hv#|jpA*=#wa#ImpKF3} zB_k{w1p2TvbNac(lHV`ebnNI8oA&vFdixEE#m z(B9EaRfRY{aB08u>TN=G5U%fm>Iu~fDZNdbmHOU z9h4?Uk@4Z?tu@3Rb{yeqNn?ff=Q+xEe7!WAFH^3DIaxi8Xw-#WK@;gI>_fbWCSW4uoFAZM#Z?y%5wpH# zX1i0}4znZUv*4Sqs;RE|`s*4dguu$`>R+!?sTG_<_?5Mk|%L?8IQFXrN zvf@4~l}aL=$=Klr5}FG5Rkvbs4~GZ)3j4((3WZ&jPuVss%R*~B{xY4-E`~W8;b3HL z3#Oqf-}5*o2iue{kKlS9>Khu+*3#0O$>mH+zlb!Le)kNzrbvO49*$d4{?q1Wd`YKO z?sXy|sXxDwfuUCb)O5*30v1^9K3 z4?S@t?JW!^S~0c!3p;-fFgKF8odIzmR0u9HafIt!2+xP$4#ABuxTe8CatUuHmy|SP z3!5aWj*qDy(CKO?Qa{n3T)ta_h;c3-{#vz&26S^igGKr(BMm?r)M2cz1H-fHNDg*l zeEu7D3Wt~vyz zTFo0MbjVO#SH@!6{D4sj)*4uGmy(A@VS8t{15L{R!%8V*(sp?F^al1nyv5J`_gLS$ z14A>L(~*H<{KW-_(Y%2);liiAC;06nqOu6S?GvPf1pP*^yMv>Fo=E`Il|kevF^Pbw zZ(up|-voSy95WnGJCo-UfSq_SBn0jWLBY2T_Zet$7sc4iI0sD=V`pW#K24E_fvX#P zXxo+y1`vDNBx@u=nz>3zAY;XlOMK0{4l)86Xc-|LC{orQ?|vvrkaEPM*XI$sUu?z% zh6@6xBtRkq2dm@p1P}(EjTDwn*6_`wPw?XN3apCdaFh|8>91!X=S+bc2q`j!+(_rg zJ;a*bUVd3640cVzz!8osFUgTy87&fk+=To#lQGvcv{4xqU(4OEYcMpZYlo_;=H%G5 zB4lCEC-u#^XCR|%nmC%g`o7Ldzfrjm8GZ|adh_uFE-yD2=?p(1#N{)E)fN0>-MfA5 s`o_7_JDV3)jKcrb616Iy&>sN?0IKWq#ew<8WdHyG07*qoM6N<$g8oPisQ>@~ literal 0 HcmV?d00001 diff --git a/Resources/gear_in.png b/Resources/gear_in.png new file mode 100644 index 0000000000000000000000000000000000000000..eaf5df81123258240dfdacb61c8311a24723261b GIT binary patch literal 679 zcmV;Y0$BZtP)6avF z=Q0%&1i{)d2hC;^SV}Y+4Nz6(RbQX;q+!5!!_Z-COMcC9`@m+i{oMgoLdBoKK+qG5 zMFFc1p$mArynLcksXoH|1V(>P0Yy=2C=e7y5emg3eER$ajvPJ&;<(7Ju9o6tm%`<8 z0SWJAW}D5Xz`bf2ba)s<%}`$M7Q+~D94=(+~ETn-^i zYYc#WeZBq>C*?B?^AEt7hcJdVnV4F#+gXn+%P*ZyX9TMiM@GCTrt3k!KNyWg1*{Hj zz&ZlP`}PU;ayt7)lA6@c06JNF_~72T^OK1sRCnXIKd|r6cn`o9gjD7#Oij-~+sW9) zWQu-|VI0F4ow<~J{`TE_bMDq1>RqIr&Z$hcPG^P$$N|B!=E|~`O&S}5E1-+fUVyQM z?U(rbQ*}5v6ro-<67Y8eoX_V~MNw-Ghhu>4{=T;7ee?RYXa{h$THXPSW3MmF-#tx+ zceOwccwX4`VA_BsY^8R8Vg3{Xeu8Zt!2fu<`>!k92HOD~?j(K*FaYp=TTQ`bOcVeB N002ovPDHLkV1f^9IAZ_+ literal 0 HcmV?d00001 diff --git a/Resources/information.png b/Resources/information.png new file mode 100644 index 0000000000000000000000000000000000000000..85c1876b5faba5f7af90b67c6fdad4b3d6306acd GIT binary patch literal 764 zcmVu(v^Re+QC2dv>+ zS85PT*?2b-#mvedY;HLS_$7`VEJS_vUX=JG9u7`nHNK^aZ~?&ubn4vQehQ!F6L>bh zgt^rux?8HS^tc{2srbE?MBl`+!kNc>Pr1%BcU-K**snOggySgm>quuD2$7x6XG!ca zrTWjfX$mm^i4*FjP^WMl=X&{p0KP6Hh-koP=*sTBp2x{MAK^E3Smg6BK-{Dx3nX)I(&_xHP}RoAokKf{z-79-zqTri*W7#Fn_5wN^~FL{ z!wD1>S=gpe*i;=rb8T?v%C-;8s$_$TBobSA^L85R&o3XLixk!g4`&wNca4t8o=XkK zQA|Zf=Ms1|9aEQxnxoin&=>+6lsr221I*_aR|Kt0000jJ0s@#c!`CXF{bxYYha;0^sl*3zsYxr8L$P+o8Qk^bX_y6uO$+mqEuDxg*oODQ@>5{d3> z%Y%n&izW!2Ktl8WYT8;kw#MS0d7Mm9z-W3ssC{oit==*@lK=AauOVxX&{`0wYCJ0BF+rQ^(8%VfC9>e@!c3DZ+xyKq+pHF|AD4?5OC<+-aBuhBt8< z_kd|@oFFf(zh^hLr=wJY?nWdv_>nX+ODBr(>Pr)XP?}4WwkG!PtX#&Gk4`PEKYx3; zxe7Z6KY=bQ?)X4aV%Gw3;la+{XfsXu7ewZLxpZ=(HL@?V62zS2Q562}d-uh5XdBbk zO^X!4Av#qgigc=`RY*WrH#do+T_l4@3r^a(E`m;0(m_Oo#^NG%@P|~FB9@4Q_(Kw3 zUi04l@!b0!FY1s3H@WYgbH4MP?;Q5v#sU}=Tpgk@d>$<7XlMm62ihB9`QQm8%Rs|{ zc~?;vxw)J4AJ}iMl&onbN=io%BEp%I1!!_G0(iOgMo09f7^82#&LGQ>k@XXzH7=s4 zbn$WpOoeD}{6ubI5(EmzaWFbEigNiX0eEqGn*G32hh&Y>B?po2&P0;X3NjQadBd=!^1%wdo{ zuGLE1FbVw*LP1gSHJ$9Z(A$$|2#BAkZC2k3;)1 zxVO5BeEwLPTsVEo`b-2jzk7b0a$@wDff*ySK_2%|sa&&n<2O|WF^mz+c8~^v-y#hZ zA{t*r)k7iDK0VLF%F11AzNmw9j(UBA-gxTgre@G>Q&CdZ&^Fs9RT|)O7uOdTQwGKP zd15R30JeorD|t)+h+@)#Ww5-ogcCC}P*lLgohugm07eMEO8`2N#RL%>FF|l=-qmU~ zO)wh7TA9Hx@ZVjr+5GfvHrA9`24c_0Vb_UQ)p7ory%E>7V~u^L%ru?s|4UMP`uv&d xb;qUZkMu7TIOaG`hYeV?<3<7uHu*<@0RVmFQ(}77sv-aY002ovPDHLkV1i5dKS2Nh literal 0 HcmV?d00001 diff --git a/Resources/redo.png b/Resources/redo.png new file mode 100644 index 0000000000000000000000000000000000000000..bb7673c827db2f3a36301746358d693bc844bb69 GIT binary patch literal 1288 zcmaJ>du$VR9KSJGCMn>9NO>48w`i6~dv|?pJy!d=!YXt$UETVJ60Uc@b!T@E?{4dD zI9rJjW=Pz?I46r@^iKlQ#KeGOI0??!jc7DX9T{Sb4;DKz&4A6G*Rc-&uwHWad*t)^ zd|#hjPq<rBP^6Qj`QBFC)YO9OS43 zhyaS|eBldF2SMcs8;vQk&|ZQTI5Snim{m^H*$`CcRz-?V0tJqP1k1aS-1!j%W*HaK zY!6`}(GObL`Ys7Hb~Qxlt|aYb5cgAXol58e98f4&<=S|eP+iE9E}`!W*C+xnL6oEm zxtCNd6o&nR1Yo-vGtrm>haEOEZo`~5=MLC{;TVcrP^`v;V}!kiz;Jl^LG)-6(?UeZ zUCXiblM8886p=vDR4QdoSiO+|2Tfkdl}1p%4+|WrgBt z5F}lQu3%8thEVwfXPW3kztfg+a_=yne9N|DRl=hl?u z7OcRDdSntvYzJU=NdgBil}xaubFr1wTjnyQbFr7?qIxoDVX*%ibn!}ePhq=aTm7(N ze8B5&mvmciyY|sH5LEVJkn~2?@8gS_<}QCc)AO1kv__Fq`O-5*y0qT5iAh~VmI9d2N1p^J_8Q+0J{{ZG| B)nEVs literal 0 HcmV?d00001 diff --git a/Resources/text_list_numbers.png b/Resources/text_list_numbers.png new file mode 100644 index 0000000000000000000000000000000000000000..0b95bee03b2590a6cf982f7acba5714065de46a5 GIT binary patch literal 1041 zcmV+s1n&EZP)`v=6kUR#DDdFXODFZzp&y!hsl=d8g%N0nK>QI&bTLwK zW_M>^-}h$UuB)T_L)W)__stA%-uKt%^ZmYI0IZRbk=Kl|o-hm{r9>?U=>g|l>6scB z80c5e8b(J)<#7+CQ|Y$o&sCnQv9!EO7S=QXPyudfK7*W2R~f)e*g0o9M65TpnJ9P2LOQ zuAulOY#UsNJfvj-P&*unl4#Ny1_9EU3<8?vK?dw(fFem#($O5w$87&pp0Q#{QitnidW{KcY*w-Gn zkrC=%?D}a+iQKb6rB#rX0-?#FTKf5JE4aha ze18EJg}|m~!m@QYD+;bG;9xfcG@uDP>2z9Sp=1h-0i3S4G9jK!{z7|`qd_4o3*FsU zH4ExoM>D`NY@mBZPmfsO6Z+GhPqU}*6$_@Pr=n^qW$6?sthg3K@3SSO>Ju2hc~-wH z$&;D)Z*@(Gd@n>Gzj3aPASMEQ*Yo{Tz@WoCzvkhG@X<58h{;>$$cSj8YB3PkW%o5e zv2XclM;;MbKgfA|SQeCFfN6zShQ3on;s_}I)3@7@4I^+?6@gGfqC_uHg$Od&g6Z$w zop$_L_s}`GKr1;d=9&ep;vxj9glS~UV}Z<_0~j7otYG}xUtDTU>dtLh0v9fJp`o!6 zb%p_ie$^LLFAzIf;79ZJwqn6Q%+Ai}!^nZnNRU!#3Xw9Pw}phGYw#;ImMk0_`1J8Z zRVfI9Y-KD^Ts;414yj}UuFc6y3ju*ZR(Uki;Eg$N?q3NBaB~kj@}*bmZwABysS*~H zWk7U-p?lp4wbrQ4m?Cq?gK1d?PMI)|;MG00000 LNkvXXu0mjf=|vS{GWXg z=jFEi{#(+mPYdl{bJ+sm-!h2X0+2YXqDA3r`Z z{0G?zlwk(Ok%)vW!-P4vv1&#KAea1K`JDUz+#3vF3}U;W`I!(fb_Hr!{gNAuT}jjo tH^dVdGoGE~X@(m@tY$_^vok<|0RUEP!L?xlWyb&j002ovPDHLkV1gj@#Tx(s literal 0 HcmV?d00001 diff --git a/Resources/undo.png b/Resources/undo.png new file mode 100644 index 0000000000000000000000000000000000000000..0c196ec096e723d2074006e40215e54a4046817d GIT binary patch literal 1307 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+n3Xa^B1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+* zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxKsVXI%uvD1M9IxIyg#@@$ndN=gc>^!3Zj z%k|2Q_413-^$jg8E%gnI^o@*kfhu&1EAvVcD|GXUm0>2hq!uR^WfqiV=I1GZOiWD5 zFD$Tv3bSNU;+l1ennz|zM-B0$V)JVzP|XC=H|jx7ncO3BHWAB;NpiyW)Z+ZoqGVvir744~DzI`cN=+=uFAB-e&w+(vKt_H^esM;Afr4|esh*)icxGNo zet9uiy|1s8XI^nhVqS8pr;Du;&;-5A%oHn2V^ecO3kx$t14lzcLsw%*0~d2Q0~b>Z zXA3uDGe=99UYGpj(%jU%5}4i;gkE!;dO=Acw*Y9fOKMSOS!#+~QGTuh*vnR#xZPrc z(>$o&6x?nx#i>^x=oo!a#3DsBObD2IKumbD1#;jCKQ#}S+KYh6dgn2wNCpPReoq(2 zkcwMxf_*hy0!99vtIanu{^a9)%Kzqx2m?)N?MXb+sfQyXPH;&_Mrc^8Zu8nEW~R(- zZ6DaRY0|`-6aGB0?=igG^Wom^b6@vQn9|xC9RIxJT={;#`+KJ^nexMzAzInp-`{#zZ4i^^R01xF?53F3**WOLrrutMR{c?fjt?WOn8YjOW zn7M54{IDkxpBQKV4nMf{ZTEuAsK-q%+h@I6mb!T5sq5Q>ES=L2v~Rv$y+%%@plE8t zp8d^Fb_NBctbgc~9cno3kbCTN^OHIEmbh-uk>*XU{P48OKzQe|!asuL7qe}SJU)5k z<++SE2Af<}TBdB98yWG6|NYc2Pb%){P0L9;TNS%@hji_cCvGBqzRfdtxV(B)QJK1A z>vVVZo+s+(#Uz8T{#}^3{2_0F?Q(8MgG;d|zNKkR7Wk5$s8b@x&7<4$^6bif4@14@ zzh7Hrvn^AX$y+=ri#`4EHW#+Nk^kOoW8l7Ae*L(T>l`DIm2(!>9*q2d(t5%F{SE4j aYz*y^(ZWV1D!WOtK1XM@TfnzRpQ80Nj-H}k$3j)=f<94du-@Rg%PG*)XeHPzLc zk^a4cVxjPjFh;h0<46qDv;0T z$M&^5pyTv-`)(GZC?X?f7{-C9RIaHiAW2e<#cILAf*)p+5utDhmoHsx|CjGQ(^FkQ zktC=dS*=#+bUMhgtZw_XHB|+2xojq%m+NW_1{9gl!Hy2xzH^UC?D_`19&36~R1`(Z zreey8@I|M<1 zn92AaJ-pw;*!gmg+Gw~jKGZ!Dpbu%HTW><-o%E3FiYv-e4$Wv$Ys;)wK!y7}A(~4O zU7h9W@aQt_z3wKP&E{CGMV0;U!N!~8L!G;tou~J2#pCyJr1B-ilWBw%%WHw>KUeZe zr%s#tCq`Pg*qyG<9Slw&B@v>(c>G+PpBCk82+PlAq)#;EP- zcdEZOJjK%6s=bn?1rAR>@<_`iL=p)sh5gg1f$m0000Go5FJ zHKB;iLeX`h=uHycbtObZ3%XmBR0RD8Dd7(&@((D|kOt9}T|`UDeq7GNEY#X*Gv=D; z+)n45?flr;@jZuxm3h_!FT6a@^ZmTf`+Z-^Fbq%>h23Iu>Ty@uFsAD~o@Q?ygS_wy zda1NPG-obeIL|p@6ZaoZp7yxi&yNQ?(6qM+nqERdDj*)`I)ALD;-rPL1<0~I-P_#- znsQ+F-Frxq1W^)+jDlg5tsZ-TqPQA-4Om=U2IFxfxst@q8`rzH>jRg<_5f8;VS42A z`9RY&R8=+8bCo@|fMT&I%ChQpIi1i6=u}@HZV!(cWir0g;XqXn6b+hOl%Z-G7=}S} zU_Y)My^L%&i-|{5yhZreGp-NSKl!Y8oI7-N2AP#_;J9VPVle^;faiHgqBu8x?{1iA z=XU_ogKWg#+Y+h`v?2Gi2D4NcZ(lx3kKY;TuQ)>>>#M2#;|l3pY=rFzhHCe<0$*N( zRRs8xpD^)&>;K!l9VVs+{So#=d&tcm0XF7IhK9zMaZp>B$>-z`yZJ<0;-NiHz3m4= z?#5$exFvuuK-rYAlqp3I56f3bi(w0JvEH-wtvx^~K>!74>v<$nLNqv + /// 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() + { + components = new System.ComponentModel.Container(); + checkedListBoxStatusbar = new CheckedListBox(); + groupBoxStatusbar = new GroupBox(); + groupBoxWindowBehaviour = new GroupBox(); + checkedListBoxWindowBehaviour = new CheckedListBox(); + groupBoxStyle = new GroupBox(); + checkedListBoxStyle = new CheckedListBox(); + toolTip = new ToolTip(components); + buttonApply = new Button(); + buttonCancel = new Button(); + groupBoxStatusbar.SuspendLayout(); + groupBoxWindowBehaviour.SuspendLayout(); + groupBoxStyle.SuspendLayout(); + SuspendLayout(); + // + // checkedListBoxStatusbar + // + checkedListBoxStatusbar.CheckOnClick = true; + checkedListBoxStatusbar.Dock = DockStyle.Fill; + checkedListBoxStatusbar.FormattingEnabled = true; + checkedListBoxStatusbar.Items.AddRange(new object[] { "Angabe der Größe deaktivieren", "Angabe der Zeilen deaktivieren", "Angabe der Dauer deaktivieren", "Angabe des LIM deaktivieren" }); + checkedListBoxStatusbar.Location = new Point(4, 19); + checkedListBoxStatusbar.Margin = new Padding(4, 3, 4, 3); + checkedListBoxStatusbar.Name = "checkedListBoxStatusbar"; + checkedListBoxStatusbar.Size = new Size(229, 76); + checkedListBoxStatusbar.TabIndex = 0; + // + // groupBoxStatusbar + // + groupBoxStatusbar.Controls.Add(checkedListBoxStatusbar); + groupBoxStatusbar.Location = new Point(14, 135); + groupBoxStatusbar.Margin = new Padding(4, 3, 4, 3); + groupBoxStatusbar.Name = "groupBoxStatusbar"; + groupBoxStatusbar.Padding = new Padding(4, 3, 4, 3); + groupBoxStatusbar.Size = new Size(237, 98); + groupBoxStatusbar.TabIndex = 2; + groupBoxStatusbar.TabStop = false; + groupBoxStatusbar.Text = "Statusbar"; + // + // groupBoxWindowBehaviour + // + groupBoxWindowBehaviour.Controls.Add(checkedListBoxWindowBehaviour); + groupBoxWindowBehaviour.Location = new Point(14, 14); + groupBoxWindowBehaviour.Margin = new Padding(4, 3, 4, 3); + groupBoxWindowBehaviour.Name = "groupBoxWindowBehaviour"; + groupBoxWindowBehaviour.Padding = new Padding(4, 3, 4, 3); + groupBoxWindowBehaviour.Size = new Size(233, 63); + groupBoxWindowBehaviour.TabIndex = 0; + groupBoxWindowBehaviour.TabStop = false; + groupBoxWindowBehaviour.Text = "Fensterverhalten"; + // + // checkedListBoxWindowBehaviour + // + checkedListBoxWindowBehaviour.CheckOnClick = true; + checkedListBoxWindowBehaviour.Dock = DockStyle.Fill; + checkedListBoxWindowBehaviour.FormattingEnabled = true; + checkedListBoxWindowBehaviour.Items.AddRange(new object[] { "immer im Vordergrund halten", "ins Tray minimieren" }); + checkedListBoxWindowBehaviour.Location = new Point(4, 19); + checkedListBoxWindowBehaviour.Margin = new Padding(4, 3, 4, 3); + checkedListBoxWindowBehaviour.Name = "checkedListBoxWindowBehaviour"; + checkedListBoxWindowBehaviour.Size = new Size(225, 41); + checkedListBoxWindowBehaviour.TabIndex = 0; + // + // groupBoxStyle + // + groupBoxStyle.Controls.Add(checkedListBoxStyle); + groupBoxStyle.Location = new Point(14, 81); + groupBoxStyle.Margin = new Padding(4, 3, 4, 3); + groupBoxStyle.Name = "groupBoxStyle"; + groupBoxStyle.Padding = new Padding(4, 3, 4, 3); + groupBoxStyle.Size = new Size(237, 47); + groupBoxStyle.TabIndex = 1; + groupBoxStyle.TabStop = false; + groupBoxStyle.Text = "Aussehen"; + // + // checkedListBoxStyle + // + checkedListBoxStyle.CheckOnClick = true; + checkedListBoxStyle.Dock = DockStyle.Fill; + checkedListBoxStyle.FormattingEnabled = true; + checkedListBoxStyle.Items.AddRange(new object[] { "Visueller Stil deaktivieren" }); + checkedListBoxStyle.Location = new Point(4, 19); + checkedListBoxStyle.Margin = new Padding(4, 3, 4, 3); + checkedListBoxStyle.Name = "checkedListBoxStyle"; + checkedListBoxStyle.Size = new Size(229, 25); + checkedListBoxStyle.TabIndex = 0; + checkedListBoxStyle.SelectedIndexChanged += CheckedListBoxStyle_SelectedIndexChanged; + // + // buttonApply + // + buttonApply.DialogResult = DialogResult.OK; + buttonApply.Image = Numeric_List_Generator.Properties.Resources.tick; + buttonApply.Location = new Point(14, 240); + buttonApply.Margin = new Padding(4, 3, 4, 3); + buttonApply.Name = "buttonApply"; + buttonApply.Size = new Size(88, 27); + buttonApply.TabIndex = 3; + buttonApply.Text = "&Okay"; + buttonApply.TextAlign = ContentAlignment.MiddleRight; + buttonApply.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonApply, "Wendet die Einstellungen an"); + buttonApply.UseVisualStyleBackColor = true; + buttonApply.Click += ButtonApply_Click; + // + // buttonCancel + // + buttonCancel.DialogResult = DialogResult.Cancel; + buttonCancel.Image = Numeric_List_Generator.Properties.Resources.cross; + buttonCancel.Location = new Point(163, 240); + buttonCancel.Margin = new Padding(4, 3, 4, 3); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(88, 27); + buttonCancel.TabIndex = 4; + buttonCancel.Text = "&Abbruch"; + buttonCancel.TextAlign = ContentAlignment.MiddleRight; + buttonCancel.TextImageRelation = TextImageRelation.ImageBeforeText; + toolTip.SetToolTip(buttonCancel, "Bricht den Vorgang ab"); + buttonCancel.UseVisualStyleBackColor = true; + buttonCancel.Click += ButtonCancel_Click; + // + // SettingsForm + // + AcceptButton = buttonApply; + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + CancelButton = buttonCancel; + ClientSize = new Size(265, 280); + Controls.Add(buttonCancel); + Controls.Add(buttonApply); + Controls.Add(groupBoxStyle); + Controls.Add(groupBoxWindowBehaviour); + Controls.Add(groupBoxStatusbar); + FormBorderStyle = FormBorderStyle.FixedToolWindow; + Margin = new Padding(4, 3, 4, 3); + MaximizeBox = false; + MinimizeBox = false; + Name = "SettingsForm"; + ShowInTaskbar = false; + StartPosition = FormStartPosition.CenterParent; + Text = "Einstellungen"; + groupBoxStatusbar.ResumeLayout(false); + groupBoxWindowBehaviour.ResumeLayout(false); + groupBoxStyle.ResumeLayout(false); + ResumeLayout(false); + } + + #endregion + + private CheckedListBox checkedListBoxStatusbar; + private GroupBox groupBoxStatusbar; + private GroupBox groupBoxWindowBehaviour; + private CheckedListBox checkedListBoxWindowBehaviour; + private GroupBox groupBoxStyle; + private CheckedListBox checkedListBoxStyle; + private Button buttonApply; + private ToolTip toolTip; + private Button buttonCancel; + } +} \ No newline at end of file diff --git a/SettingsForm.cs b/SettingsForm.cs new file mode 100644 index 00000000..177f280a --- /dev/null +++ b/SettingsForm.cs @@ -0,0 +1,23 @@ +using System.Windows.Forms.VisualStyles; + +namespace Numeric_List_Generator +{ + public partial class SettingsForm : Form + { + public SettingsForm() => InitializeComponent(); + + private void CheckedListBoxStyle_SelectedIndexChanged(object sender, EventArgs e) + { + Application.VisualStyleState = checkedListBoxStyle.GetItemChecked(index: 0) ? VisualStyleState.NoneEnabled : VisualStyleState.ClientAndNonClientAreasEnabled; + Invalidate(invalidateChildren: true); + } + + private void ButtonApply_Click(object sender, EventArgs e) + { + } + + private void ButtonCancel_Click(object sender, EventArgs e) + { + } + } +} diff --git a/SettingsForm.resx b/SettingsForm.resx new file mode 100644 index 00000000..b35b2c61 --- /dev/null +++ b/SettingsForm.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file