diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-08-27 11:32:44 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-08-27 11:32:44 +0100 |
| commit | f8f3bd0b1eb57c5a289513200b192e1d54d58292 (patch) | |
| tree | c9b79515fb81d90320ef386a522a5830875f6d49 /TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs | |
| parent | bffcb720f811623015ed4795032e5c57d1064c8a (diff) | |
| parent | cd6273d7c95098e0e0dd9948c6b5cec1c5f9cd3f (diff) | |
| download | histacom2-f8f3bd0b1eb57c5a289513200b192e1d54d58292.tar.gz histacom2-f8f3bd0b1eb57c5a289513200b192e1d54d58292.tar.bz2 histacom2-f8f3bd0b1eb57c5a289513200b192e1d54d58292.zip | |
Updated my fork!
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs deleted file mode 100644 index 06c2030..0000000 --- a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; -using TimeHACK.Engine; - -namespace TimeHACK.Engine.Template.Taskbars -{ - public partial class Win95TaskBarItem : UserControl - { - TaskBarController tb = new TaskBarController(); - public string ApplicationID; - public Win95TaskBarItem() - { - InitializeComponent(); - progName.Font = new Font(TitleScreen.pfc.Families[0], 16f, FontStyle.Regular, GraphicsUnit.Point, ((0))); - this.BackColor = Color.Silver; - } - - private void Win95TaskBarItem_Load(object sender, EventArgs e) - { - progName.Text = (string)this.Tag; - if (BackgroundImage == null) - { - progName.Location = new Point(4, 2); - progPic.Hide(); - } - else progPic.Image = this.BackgroundImage; - ApplicationID = (TaskBarController.AvalibleApplicationID - 1).ToString(); - this.BackgroundImage = null; - } - - private void Win95TaskBarItem_Click(object sender, EventArgs e) - { - tb.FocusAppFromID(ApplicationID); - } - } -} |
