diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-05-24 21:46:33 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-24 21:46:33 +0100 |
| commit | 5648792fa6d1e0c51a2720aab091524d2a6ebf8d (patch) | |
| tree | a2053e6184289ec00133dc075c3a32fdd4f0fe01 /TimeHACK.Engine/TaskBarController.cs | |
| parent | 5bd41f103e823773318e647a1bf66daae970c7d2 (diff) | |
| parent | ac576c05905b55a5059dab672c1882f01fc074d0 (diff) | |
| download | histacom2-5648792fa6d1e0c51a2720aab091524d2a6ebf8d.tar.gz histacom2-5648792fa6d1e0c51a2720aab091524d2a6ebf8d.tar.bz2 histacom2-5648792fa6d1e0c51a2720aab091524d2a6ebf8d.zip | |
Merge pull request #76 from Alex-TIMEHACK/master
NOT FINISHED File Explorer!
Diffstat (limited to 'TimeHACK.Engine/TaskBarController.cs')
| -rw-r--r-- | TimeHACK.Engine/TaskBarController.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/TimeHACK.Engine/TaskBarController.cs b/TimeHACK.Engine/TaskBarController.cs index 3d73d63..496dca9 100644 --- a/TimeHACK.Engine/TaskBarController.cs +++ b/TimeHACK.Engine/TaskBarController.cs @@ -28,10 +28,15 @@ namespace TimeHACK.Engine List<Form> AppsList = new List<Form>(); foreach (Form form in Application.OpenForms) { - if (form.Tag.ToString() != "ignoreFormOnTaskbar") + try { + if (form.Tag.ToString() != "ignoreFormOnTaskbar") + { + AppsList.Add(form); + } + } catch { AppsList.Add(form); - } + } } return AppsList; } |
