From d15ef67c7c01ce50a21a9db09070c8e9a9de82fb Mon Sep 17 00:00:00 2001 From: Kilian Wirl Date: Wed, 22 Apr 2026 17:42:47 +0200 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=20der=20Kundenauswahl=20in=20Form?= =?UTF-8?q?Liste=20(timer=20wieder=20aktiviert),=20neues=20Setup=20erstell?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AA-Forms/FormListe.Designer.cs | 32 +++++++++++++++----------- AA-Forms/FormListe.cs | 14 ++++------- Properties/AssemblyInfo.cs | 4 ++-- SetupVerwaltung/SetupVerwaltung.vdproj | 6 ++--- Verwaltung_ReadMe.txt | 4 ++-- 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/AA-Forms/FormListe.Designer.cs b/AA-Forms/FormListe.Designer.cs index 5036f1c..3ed88d6 100644 --- a/AA-Forms/FormListe.Designer.cs +++ b/AA-Forms/FormListe.Designer.cs @@ -59,10 +59,11 @@ namespace Deckungsbeitrag this.listViewKunde.HideSelection = false; this.listViewKunde.HotTracking = true; this.listViewKunde.HoverSelection = true; - this.listViewKunde.Location = new System.Drawing.Point(14, 68); + this.listViewKunde.Location = new System.Drawing.Point(12, 54); + this.listViewKunde.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.listViewKunde.MultiSelect = false; this.listViewKunde.Name = "listViewKunde"; - this.listViewKunde.Size = new System.Drawing.Size(592, 715); + this.listViewKunde.Size = new System.Drawing.Size(527, 573); this.listViewKunde.TabIndex = 1; this.listViewKunde.UseCompatibleStateImageBehavior = false; this.listViewKunde.View = System.Windows.Forms.View.Details; @@ -90,11 +91,13 @@ namespace Deckungsbeitrag // this.textBoxKunde.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBoxKunde.ForeColor = System.Drawing.Color.Silver; - this.textBoxKunde.Location = new System.Drawing.Point(14, 20); + this.textBoxKunde.Location = new System.Drawing.Point(12, 16); + this.textBoxKunde.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBoxKunde.Name = "textBoxKunde"; - this.textBoxKunde.Size = new System.Drawing.Size(178, 35); + this.textBoxKunde.Size = new System.Drawing.Size(159, 30); this.textBoxKunde.TabIndex = 0; this.textBoxKunde.Text = "Hier eingeben"; + this.textBoxKunde.TextChanged += new System.EventHandler(this.TextBoxKunde_TextChanged); this.textBoxKunde.Enter += new System.EventHandler(this.TextBoxKunde_Enter); this.textBoxKunde.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ListViewKunde_KeyDown); this.textBoxKunde.Leave += new System.EventHandler(this.TextBoxKunde_Leave); @@ -103,10 +106,10 @@ namespace Deckungsbeitrag // this.label1.AutoSize = true; this.label1.ForeColor = System.Drawing.Color.White; - this.label1.Location = new System.Drawing.Point(207, 22); + this.label1.Location = new System.Drawing.Point(184, 18); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(369, 40); + this.label1.Size = new System.Drawing.Size(304, 32); this.label1.TabIndex = 2; this.label1.Text = "KundeNr. oder Name eingeben.\r\nKunde nicht vorhanden? Starte die Eingabe mit (?)."; // @@ -118,9 +121,10 @@ namespace Deckungsbeitrag this.buttonOK.FlatAppearance.BorderSize = 0; this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.buttonOK.Location = new System.Drawing.Point(94, 106); + this.buttonOK.Location = new System.Drawing.Point(84, 85); + this.buttonOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.buttonOK.Name = "buttonOK"; - this.buttonOK.Size = new System.Drawing.Size(429, 63); + this.buttonOK.Size = new System.Drawing.Size(381, 50); this.buttonOK.TabIndex = 15; this.buttonOK.Text = "Kunde übernehmen"; this.buttonOK.UseVisualStyleBackColor = false; @@ -134,9 +138,10 @@ namespace Deckungsbeitrag this.buttonNeuerAuftrag.FlatAppearance.BorderSize = 0; this.buttonNeuerAuftrag.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonNeuerAuftrag.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.buttonNeuerAuftrag.Location = new System.Drawing.Point(180, 718); + this.buttonNeuerAuftrag.Location = new System.Drawing.Point(160, 574); + this.buttonNeuerAuftrag.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.buttonNeuerAuftrag.Name = "buttonNeuerAuftrag"; - this.buttonNeuerAuftrag.Size = new System.Drawing.Size(250, 52); + this.buttonNeuerAuftrag.Size = new System.Drawing.Size(222, 42); this.buttonNeuerAuftrag.TabIndex = 16; this.buttonNeuerAuftrag.Text = "Neuer Auftrag"; this.buttonNeuerAuftrag.UseVisualStyleBackColor = false; @@ -144,10 +149,10 @@ namespace Deckungsbeitrag // // FormListe // - this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101))))); - this.ClientSize = new System.Drawing.Size(620, 802); + this.ClientSize = new System.Drawing.Size(551, 642); this.Controls.Add(this.buttonNeuerAuftrag); this.Controls.Add(this.buttonOK); this.Controls.Add(this.label1); @@ -155,9 +160,10 @@ namespace Deckungsbeitrag this.Controls.Add(this.listViewKunde); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.MaximizeBox = false; this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(632, 56); + this.MinimumSize = new System.Drawing.Size(564, 54); this.Name = "FormListe"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; diff --git a/AA-Forms/FormListe.cs b/AA-Forms/FormListe.cs index 342cc36..2589ba6 100644 --- a/AA-Forms/FormListe.cs +++ b/AA-Forms/FormListe.cs @@ -39,7 +39,7 @@ namespace Deckungsbeitrag readonly string knd_col = "KundenNr,Suchtext,KundenName,Ort"; readonly string auf_col = "Aufgabe,Beschreibung"; readonly string auftrag_col = "Kunde,Liefertag,Container"; - private Timer timer; + public Timer timer; private readonly string kndService; @@ -73,12 +73,9 @@ namespace Deckungsbeitrag private void FormListe_Load(object sender, EventArgs e) { - // Timer für Wartezeit bis TextChanged eintritt. - //timer = new Timer - //{ - // Interval = 2000 // 0,7 Sekunden - //}; - //timer.Tick += Timer_Tick; + timer = new Timer(); + timer.Interval = 700; // 0,7 Sekunden + timer.Tick += Timer_Tick; this.buttonOK.Visible = this.buttonOK.Enabled = false; @@ -328,9 +325,6 @@ namespace Deckungsbeitrag { this.textBoxKunde.ForeColor = Color.Black; this.textBoxKunde.Clear(); - - - //GetKeyboard(); } private void TextBoxKunde_TextChanged(object sender, EventArgs e) { diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 92e5c05..bc0165c 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: -[assembly: AssemblyVersion("1.0.9.5")] -[assembly: AssemblyFileVersion("1.0.9.5")] +[assembly: AssemblyVersion("1.0.9.6")] +[assembly: AssemblyFileVersion("1.0.9.6")] diff --git a/SetupVerwaltung/SetupVerwaltung.vdproj b/SetupVerwaltung/SetupVerwaltung.vdproj index 3e735b6..e2a24da 100644 --- a/SetupVerwaltung/SetupVerwaltung.vdproj +++ b/SetupVerwaltung/SetupVerwaltung.vdproj @@ -1647,15 +1647,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:SetupVerwaltung" - "ProductCode" = "8:{923FFD94-43A9-4E1F-AD73-58A872F8122F}" - "PackageCode" = "8:{EB9A284F-D1D3-4D99-8951-94A9BCD57961}" + "ProductCode" = "8:{22135C85-E7C4-49FF-86F6-64638990CE96}" + "PackageCode" = "8:{121D4C10-6556-4871-9101-1B47D27FB9E8}" "UpgradeCode" = "8:{2DC7CE56-8D1C-42EB-B326-2E887EBB7F5A}" "AspNetVersion" = "8:" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.95" + "ProductVersion" = "8:1.0.96" "Manufacturer" = "8:Kilian Wirl GmbH" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" diff --git a/Verwaltung_ReadMe.txt b/Verwaltung_ReadMe.txt index c5da1c2..1d88256 100644 --- a/Verwaltung_ReadMe.txt +++ b/Verwaltung_ReadMe.txt @@ -1,5 +1,5 @@ ===================================== -NEUIGKEITEN - Version 1.0.9.5 +NEUIGKEITEN - Version 1.0.9.6 ===================================== Build-Info: @@ -84,5 +84,5 @@ Build-Info: - 🔄 Wenn Auftrag abgeschlossen wird muss die Containerzahl sauber addiert werden. Kundenanzahl und Containeranzahl schmutzig darf nicht erhöht werden. [Tour.cs] - 🔄 Zuweisung zu Fahrer muss geklärt werden. [Funktionen.cs] -Installation: 22.04.2026 14:11 +Installation: 22.04.2026 17:39 =====================================