aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Engine/WindowManager/ShiftWM.cs
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-09-24 16:55:03 -0500
committerFloppyDiskDrive <[email protected]>2017-09-24 16:55:03 -0500
commitf5a78ea4169e1553204d908bfbc52ef7ca84b0e6 (patch)
tree66934ed62aa72e7254cde35985811d653ad2e964 /ShiftOS.Engine/WindowManager/ShiftWM.cs
parent59721924f1992d8beea1c6366a4e907692de022a (diff)
downloadshiftos-rewind-f5a78ea4169e1553204d908bfbc52ef7ca84b0e6.tar.gz
shiftos-rewind-f5a78ea4169e1553204d908bfbc52ef7ca84b0e6.tar.bz2
shiftos-rewind-f5a78ea4169e1553204d908bfbc52ef7ca84b0e6.zip
Fully added the infobox
Diffstat (limited to 'ShiftOS.Engine/WindowManager/ShiftWM.cs')
-rw-r--r--ShiftOS.Engine/WindowManager/ShiftWM.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ShiftOS.Engine/WindowManager/ShiftWM.cs b/ShiftOS.Engine/WindowManager/ShiftWM.cs
index d30224c..38537c7 100644
--- a/ShiftOS.Engine/WindowManager/ShiftWM.cs
+++ b/ShiftOS.Engine/WindowManager/ShiftWM.cs
@@ -1,5 +1,6 @@
using System.Drawing;
using System.Windows.Forms;
+using static ShiftOS.Engine.WindowManager.InfoboxTemplate;
namespace ShiftOS.Engine.WindowManager
{
@@ -30,5 +31,12 @@ namespace ShiftOS.Engine.WindowManager
app.Show();
return app;
}
+ public InfoboxTemplate StartInfoboxSession(string title, string body, buttonType type)
+ {
+ InfoboxTemplate info = new InfoboxTemplate(type);
+ info.label1.Text = body;
+ Init(info, title, Properties.Resources.iconInfoBox_fw, true, false);
+ return info;
+ }
}
}