diff options
| author | FloppyDiskDrive <[email protected]> | 2017-09-24 16:55:03 -0500 |
|---|---|---|
| committer | FloppyDiskDrive <[email protected]> | 2017-09-24 16:55:03 -0500 |
| commit | f5a78ea4169e1553204d908bfbc52ef7ca84b0e6 (patch) | |
| tree | 66934ed62aa72e7254cde35985811d653ad2e964 /ShiftOS.Engine/WindowManager/ShiftWM.cs | |
| parent | 59721924f1992d8beea1c6366a4e907692de022a (diff) | |
| download | shiftos-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.cs | 8 |
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; + } } } |
