Tablet Anpassungen

This commit is contained in:
Kilian Wirl 2026-04-28 09:18:41 +02:00
parent fbd9c63e25
commit 2f65984f0f
4 changed files with 13 additions and 6 deletions

View File

@ -170,6 +170,7 @@ namespace Deckungsbeitrag
}
private void textBox_Leave(object sender, EventArgs e)
{
this.buttonAnmelden.Focus();
}
}
}

View File

@ -33,21 +33,23 @@
//
// FormShowUserControl
//
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.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(534, 692);
this.ClientSize = new System.Drawing.Size(475, 554);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormShowUserControl";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FormShowUserControl";
this.TopMost = true;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormShowUserControl_FormClosing);
this.Load += new System.EventHandler(this.FormShowUserControl_Load);
this.Shown += new System.EventHandler(this.FormShowUserControl_Shown);
this.ChangeUICues += new System.Windows.Forms.UICuesEventHandler(this.FormShowUserControl_ChangeUICues);
this.ResumeLayout(false);
}

View File

@ -61,8 +61,6 @@ namespace Deckungsbeitrag.AA_Forms
}
else
{
this.BringToFront();
this.CenterToScreen();
this.Text = "HEUTIGE TOUR WÄHLEN";
}
}
@ -102,6 +100,7 @@ namespace Deckungsbeitrag.AA_Forms
private void FormShowUserControl_Shown(object sender, EventArgs e)
{
this.ClientSize = new Size(uc.Width, uc.Height);
this.CenterToScreen();
}
private void FormShowUserControl_FormClosing(object sender, FormClosingEventArgs e)
@ -114,5 +113,10 @@ namespace Deckungsbeitrag.AA_Forms
}
}
private void FormShowUserControl_ChangeUICues(object sender, UICuesEventArgs e)
{
if (e.ShowKeyboard == false) this.CenterToScreen();
}
}
}

View File

@ -66,5 +66,5 @@ Build-Info:
=== ⚙️ INSTALL-REMINDER (1) ===
- ⚙️ DB anpassen. (Priority in Auftrag etc.) [Auftrag.cs]
Installation: 28.04.2026 08:40
Installation: 28.04.2026 09:16
=====================================