update 20260217 2

This commit is contained in:
Stefan Hutter
2026-08-17 11:02:20 +02:00
parent fd56a4cffd
commit eafe9518de
20 changed files with 23 additions and 15 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7 -7
View File
@@ -515,7 +515,7 @@ namespace OnDoc.UICintrols
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 188);
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
@@ -542,7 +542,7 @@ namespace OnDoc.UICintrols
this.sfDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
this.sfDataGrid1.ExpanderColumnWidth = 288D;
this.sfDataGrid1.Location = new System.Drawing.Point(0, 0);
this.sfDataGrid1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.sfDataGrid1.Margin = new System.Windows.Forms.Padding(4);
this.sfDataGrid1.Name = "sfDataGrid1";
this.sfDataGrid1.PreviewRowHeight = 35;
this.sfDataGrid1.RowHeight = 30;
@@ -567,7 +567,7 @@ namespace OnDoc.UICintrols
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.docPreview1.Location = new System.Drawing.Point(0, 0);
this.docPreview1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.docPreview1.Margin = new System.Windows.Forms.Padding(5);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(2279, 430);
this.docPreview1.TabIndex = 0;
@@ -580,7 +580,7 @@ namespace OnDoc.UICintrols
this.panel2.Controls.Add(this.lblTitel);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 161);
this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel2.Margin = new System.Windows.Forms.Padding(4);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(2279, 27);
this.panel2.TabIndex = 3;
@@ -612,7 +612,7 @@ namespace OnDoc.UICintrols
this.ribbon2.Cursor = System.Windows.Forms.Cursors.Default;
this.ribbon2.Font = new System.Drawing.Font("Segoe UI", 9F);
this.ribbon2.Location = new System.Drawing.Point(0, 0);
this.ribbon2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ribbon2.Margin = new System.Windows.Forms.Padding(4);
this.ribbon2.Minimized = false;
this.ribbon2.Name = "ribbon2";
//
@@ -1629,7 +1629,7 @@ namespace OnDoc.UICintrols
//
this.dokwerte1.Dock = System.Windows.Forms.DockStyle.Right;
this.dokwerte1.Location = new System.Drawing.Point(2279, 188);
this.dokwerte1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.dokwerte1.Margin = new System.Windows.Forms.Padding(5);
this.dokwerte1.Name = "dokwerte1";
this.dokwerte1.Size = new System.Drawing.Size(0, 854);
this.dokwerte1.TabIndex = 7;
@@ -1642,7 +1642,7 @@ namespace OnDoc.UICintrols
this.Controls.Add(this.dokwerte1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.ribbon2);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "DokList";
this.Size = new System.Drawing.Size(2279, 1042);
this.Load += new System.EventHandler(this.DokList_Load);
+12
View File
@@ -2141,6 +2141,11 @@ namespace OnDoc.UICintrols
vs.Location = new System.Drawing.Point(
screen.WorkingArea.Left + 50,
screen.WorkingArea.Top + 50);
if (screen.WorkingArea.Width==1280)
{
vs.WindowState = FormWindowState.Maximized;
}
vs.Show(this);
AppParams.versandstrassewindows_open = true;
vs.BringToFront();
@@ -2153,11 +2158,18 @@ namespace OnDoc.UICintrols
vs = new OnDoc.Versandstrasse.Versandstrasse(versandpakete);
Screen screen = Screen.FromControl(this);
vs.StartPosition = FormStartPosition.Manual;
vs.Location = new System.Drawing.Point(
screen.WorkingArea.Left + 50,
screen.WorkingArea.Top + 50);
if (screen.WorkingArea.Width==1280)
{
vs.WindowState = FormWindowState.Maximized;
}
vs.Show(this);
AppParams.versandstrassewindows_open = true;
this.zumVersandpaketHinzufügenToolStripMenuItem.Visible = true;
+4 -8
View File
@@ -117,12 +117,8 @@ 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")
{
this.label5.Visible = false;
@@ -196,7 +192,7 @@ namespace OnDoc.Versandstrasse
lblprueftextsb2.MaximumSize = new Size(panelVerify.Width - 10, 50);
//try
//{
// Screen screen = Screen.FromControl(this);
// //Screen screen = Screen.FromControl(this);
// if (this.Width > screen.WorkingArea.Width || this.Height > screen.WorkingArea.Height)
// {
// this.WindowState = FormWindowState.Maximized;
@@ -205,7 +201,7 @@ namespace OnDoc.Versandstrasse
//catch { }
}
private void Reload_Tree()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.