Update 20260717
This commit is contained in:
+6
-1
@@ -549,11 +549,16 @@ namespace OnDoc
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//this.BeginUpdate();
|
||||
// this.WindowState = FormWindowState.Minimized;
|
||||
// this.WindowState = FormWindowState.Minimized;
|
||||
//this.Focus();
|
||||
//this.dokList1.Focus();
|
||||
//this.Activate();
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
Screen screen = Screen.FromControl(this);
|
||||
if (this.Width > screen.WorkingArea.Width || this.Height > screen.WorkingArea.Height)
|
||||
{
|
||||
this.WindowState = FormWindowState.Maximized;
|
||||
}
|
||||
//this.EndUpdate();
|
||||
this.ResumeLayout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user