From e0b4f16b01728d772ec2c3907116e71b3957f473 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sat, 22 Apr 2017 13:50:14 -0600 Subject: Make Infobox95 use WinClassic Template saving energy etc --- TimeHACK.Engine/WindowManager.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'TimeHACK.Engine/WindowManager.cs') diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index ceca43f..7a45011 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -59,14 +59,11 @@ namespace TimeHACK.Engine return app; } - public Infobox95 startInfobox95(String title, String text, Image erroricon) + public WinClassic startInfobox95(String title, String text, Image erroricon) { Infobox95 app = new Infobox95(); - app.Title.Text = title; - app.Text = title; app.infoText.Text = text; - app.Show(); - return app; + return startWin95(app, title, null, false, false); } public WinClassic startAboutBox95(String shortname, String longname, Image appicon) -- cgit v1.2.3