diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-01 22:17:57 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-01 22:17:57 +0100 |
| commit | da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b (patch) | |
| tree | c980ac4786a2528a9d98290f099c8a388dbfad9a /TimeHACK.Main/Program.cs | |
| parent | 971683c5f7116d754d209a9debac8e0a214889dc (diff) | |
| download | histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.tar.gz histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.tar.bz2 histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.zip | |
Moar stuff
Diffstat (limited to 'TimeHACK.Main/Program.cs')
| -rw-r--r-- | TimeHACK.Main/Program.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index 1e3e37d..83beaea 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -12,6 +12,7 @@ using TimeHACK.OS.Win95; using TimeHACK.OS.Win95.Win95Apps; using TimeHACK.Engine; using TimeHACK.Engine.Template; +using System.Drawing; namespace TimeHACK { @@ -116,5 +117,15 @@ namespace TimeHACK } } + + public static void AddTaskbarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon) + { + TitleScreen.frm95.AddTaskBarItem(Application, ApplicationID, ApplicationName, ApplicationIcon); + } + + public static void NonImportantApp_Closing(object sender, FormClosingEventArgs e) + { + Program.nonimportantapps.Remove((WinClassic)sender); + } } } |
