diff options
| author | AShifter <[email protected]> | 2017-09-24 16:40:36 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-09-24 16:40:36 -0600 |
| commit | f77811b2a73512db8c5aeeedd573640e10b74bd0 (patch) | |
| tree | 53010605e511a8d986fec709ddf8ac9e57d8b724 /ShiftOS.Engine/WindowManager/ShiftWM.cs | |
| parent | 0a552e395477d2bb4c90e12624d11b28545a4933 (diff) | |
| parent | 600ce822228d6d4691a402260323abdc688eb73c (diff) | |
| download | shiftos-rewind-f77811b2a73512db8c5aeeedd573640e10b74bd0.tar.gz shiftos-rewind-f77811b2a73512db8c5aeeedd573640e10b74bd0.tar.bz2 shiftos-rewind-f77811b2a73512db8c5aeeedd573640e10b74bd0.zip | |
Merge remote-tracking branch 'refs/remotes/ShiftOS-Rewind/master'
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; + } } } |
