aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/WindowManager.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-04-22 13:50:14 -0600
committerAShifter <[email protected]>2017-04-22 13:50:14 -0600
commite0b4f16b01728d772ec2c3907116e71b3957f473 (patch)
treed6f255e82abb086a11d8678827ac2eea94f1f6fe /TimeHACK.Engine/WindowManager.cs
parent51177cd4c24b9b107726bdbae914d49f6b5fa7b5 (diff)
downloadhistacom2-e0b4f16b01728d772ec2c3907116e71b3957f473.tar.gz
histacom2-e0b4f16b01728d772ec2c3907116e71b3957f473.tar.bz2
histacom2-e0b4f16b01728d772ec2c3907116e71b3957f473.zip
Make Infobox95 use WinClassic Template
saving energy etc
Diffstat (limited to 'TimeHACK.Engine/WindowManager.cs')
-rw-r--r--TimeHACK.Engine/WindowManager.cs7
1 files changed, 2 insertions, 5 deletions
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)