aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/WindowManager.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-03-27 14:03:48 -0600
committerGitHub <[email protected]>2017-03-27 14:03:48 -0600
commitb96cf8f3f17a6289c6c9eb2ff8c14e7b1f5df797 (patch)
treeb58fe5631bd861df849a3c57cfa2e032261bf4dc /TimeHACK.Engine/WindowManager.cs
parent5819bf69c300dfaefa427d701b3bef4a7397e0c9 (diff)
parentb880da82cd6af92ca704c4c1cd96c8d1fa64ad59 (diff)
downloadhistacom2-b96cf8f3f17a6289c6c9eb2ff8c14e7b1f5df797.tar.gz
histacom2-b96cf8f3f17a6289c6c9eb2ff8c14e7b1f5df797.tar.bz2
histacom2-b96cf8f3f17a6289c6c9eb2ff8c14e7b1f5df797.zip
Merge pull request #9 from lempamo/master
things 2: electric boogaloo love it:tm:
Diffstat (limited to 'TimeHACK.Engine/WindowManager.cs')
-rw-r--r--TimeHACK.Engine/WindowManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs
index c8a0de3..c59cd26 100644
--- a/TimeHACK.Engine/WindowManager.cs
+++ b/TimeHACK.Engine/WindowManager.cs
@@ -7,7 +7,7 @@ namespace TimeHACK.Engine
{
public class WindowManager
{
- public void startWinClassic(UserControl content, String title, PictureBox icon, Boolean MaxButton, Boolean MinButton)
+ public void startWinClassic(UserControl content, String title, PictureBox icon, Boolean MaxButton, Boolean MinButton, Font fnt)
{
// Setup Window
WinClassic app = new WinClassic();
@@ -15,6 +15,7 @@ namespace TimeHACK.Engine
app.Title.Text = title;
app.Width = content.Width + 8;
app.Height = content.Height + 26;
+ app.fnt = fnt;
content.Parent = app.programContent;
content.BringToFront();
content.Dock = DockStyle.Fill;