Update 20260817

This commit is contained in:
Stefan Hutter
2026-08-17 09:42:53 +02:00
parent f99cd1e112
commit fd56a4cffd
26 changed files with 392 additions and 282 deletions
+15 -10
View File
@@ -117,7 +117,11 @@ namespace OnDoc.Versandstrasse
}
private void Versandstrasse_Load(object sender, EventArgs e)
{
Screen screen = Screen.FromControl(this);
if (this.Width > screen.WorkingArea.Width || this.Height > screen.WorkingArea.Height)
{
this.WindowState = FormWindowState.Maximized;
}
if (Properties.Settings.Default.GASSize == "True")
{
@@ -190,15 +194,15 @@ namespace OnDoc.Versandstrasse
lblprueftext.MaximumSize = new Size(panelVerify.Width - 10, 50);
lblprueftextSB.MaximumSize = new Size(panelVerify.Width - 10, 50);
lblprueftextsb2.MaximumSize = new Size(panelVerify.Width - 10, 50);
try
{
Screen screen = Screen.FromControl(this);
if (this.Width > screen.WorkingArea.Width || this.Height > screen.WorkingArea.Height)
{
this.WindowState = FormWindowState.Maximized;
}
}
catch { }
//try
//{
// Screen screen = Screen.FromControl(this);
// if (this.Width > screen.WorkingArea.Width || this.Height > screen.WorkingArea.Height)
// {
// this.WindowState = FormWindowState.Maximized;
// }
//}
//catch { }
@@ -1828,6 +1832,7 @@ namespace OnDoc.Versandstrasse
{
this.treeViewAdvCouverts.Height = this.Height - this.ribbon1.Height - this.grpCouvertDetails.Height;
panelPrepare.Left = this.Width - this.panelPrepare.Width;
this.lblpostausgang.Left = this.Width - lblpostausgang.Width;
}
private void Versandstrasse_FormClosing(object sender, FormClosingEventArgs e)