Update 20260817
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user