diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-04-30 15:46:36 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-04-30 15:46:36 +0100 |
| commit | 12c253ab76b8117a563b021e969262da13eaec9d (patch) | |
| tree | e6a99881473b838873ecc91659b480594bcfcff5 /TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs | |
| parent | c56b38e8b2b8729d91a1ad96839b042af480eabe (diff) | |
| download | histacom2-12c253ab76b8117a563b021e969262da13eaec9d.tar.gz histacom2-12c253ab76b8117a563b021e969262da13eaec9d.tar.bz2 histacom2-12c253ab76b8117a563b021e969262da13eaec9d.zip | |
Half done the taskbars
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs new file mode 100644 index 0000000..9cff376 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.cs @@ -0,0 +1,29 @@ +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; + +namespace TimeHACK.Engine.Template.Taskbars +{ + public partial class Win95TaskBarItem : UserControl + { + 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; + progPic.Image = this.BackgroundImage; + this.BackgroundImage = null; + } + } +} |
