diff options
| author | Michael <[email protected]> | 2017-04-02 14:37:59 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-02 14:37:59 -0400 |
| commit | a3f3e03569e0268ddc70c699d49bc70331f60ab2 (patch) | |
| tree | eff8859336762d3e87eda05b38e46051a035261a /ShiftOS.WinForms/WinformsWindowManager.cs | |
| parent | f89cd092830a8e88bd9aaf8048c18b0dda7dea25 (diff) | |
| download | shiftos_thereturn-a3f3e03569e0268ddc70c699d49bc70331f60ab2.tar.gz shiftos_thereturn-a3f3e03569e0268ddc70c699d49bc70331f60ab2.tar.bz2 shiftos_thereturn-a3f3e03569e0268ddc70c699d49bc70331f60ab2.zip | |
Call OnUpgrade() when upgrade installed.
Diffstat (limited to 'ShiftOS.WinForms/WinformsWindowManager.cs')
| -rw-r--r-- | ShiftOS.WinForms/WinformsWindowManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/WinformsWindowManager.cs b/ShiftOS.WinForms/WinformsWindowManager.cs index 40177be..494c572 100644 --- a/ShiftOS.WinForms/WinformsWindowManager.cs +++ b/ShiftOS.WinForms/WinformsWindowManager.cs @@ -197,6 +197,13 @@ namespace ShiftOS.WinForms var wb = new WindowBorder(form as UserControl); + FormClosedEventHandler onClose = (o,a)=> { }; + onClose = (o, a) => + { + SetupWindows(); + wb.FormClosed -= onClose; + }; + wb.FormClosed += onClose; SetupWindows(); } |
