diff options
Diffstat (limited to 'TimeHACK.Engine/WindowManager.cs')
| -rw-r--r-- | TimeHACK.Engine/WindowManager.cs | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index 193985a..2c8322f 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -1,15 +1,15 @@ using System; -using TimeHACK.Engine.Template; +using TimeHACK.Main.Template; using System.Windows.Forms; using System.Drawing; -namespace TimeHACK.Engine +namespace TimeHACK.Main { public class WindowManager { public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection(); - public WinClassic startWinClassic(UserControl content, String title, PictureBox icon, Boolean MaxButton, Boolean MinButton) + public WinClassic startWin95(UserControl content, String title, PictureBox icon, Boolean MaxButton, Boolean MinButton) { // Setup Window WinClassic app = new WinClassic(); @@ -30,7 +30,7 @@ namespace TimeHACK.Engine if (icon == null) { icon = app.programIcon; - icon.Image = Properties.Resources.nullIcon; + icon.Image = Engine.Properties.Resources.nullIcon; } app.programIcon.Image = icon.Image; @@ -55,5 +55,15 @@ namespace TimeHACK.Engine return app; } + + public Infobox95 startInfobox95(String title, String text) + { + Infobox95 app = new Infobox95(); + app.Title.Text = title; + app.Text = title; + app.infoText.Text = text; + app.Show(); + return app; + } } -}
\ No newline at end of file +} |
