aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Tools/ControlManager.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-18 10:01:37 -0500
committerMichael <[email protected]>2017-01-18 10:01:37 -0500
commit33edc6a21175f16aae06fc4d3d327266a456eeee (patch)
tree2fdd8ef3edc135a38088a2409032982538f22664 /ShiftOS.WinForms/Tools/ControlManager.cs
parent18f93056b7d882b4dcce4d3afacd1ba6d37d94ac (diff)
downloadshiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.tar.gz
shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.tar.bz2
shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.zip
Improved tutorial, win.open edit
Tutorial now goes over how to do basic things like check codepoints, buy upgrades, open windows etc. win.open now shows a list of available windows when ran with no arguments.
Diffstat (limited to 'ShiftOS.WinForms/Tools/ControlManager.cs')
-rw-r--r--ShiftOS.WinForms/Tools/ControlManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs
index 30fd296..456e46d 100644
--- a/ShiftOS.WinForms/Tools/ControlManager.cs
+++ b/ShiftOS.WinForms/Tools/ControlManager.cs
@@ -120,7 +120,7 @@ namespace ShiftOS.WinForms.Tools
{
var frm = OpenForms[0] as WindowBorder;
frm.Location = new Point(0, 0);
- frm.Size = frm.ParentForm.Size;
+ frm.Size = Desktop.Size;
OpenForms[0] = frm;
}