diff options
| author | lempamo <[email protected]> | 2017-08-07 14:04:08 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-07 14:04:08 -0400 |
| commit | e838d66d36751fdbf5c2f7fadab8fee42729b6ac (patch) | |
| tree | fc4d2e248b19f08f308dbf844d2a7225bb0e5cb4 /TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs | |
| parent | cb0ebed2918341ce02978bc32ab6e284ae5f000a (diff) | |
| download | histacom2-e838d66d36751fdbf5c2f7fadab8fee42729b6ac.tar.gz histacom2-e838d66d36751fdbf5c2f7fadab8fee42729b6ac.tar.bz2 histacom2-e838d66d36751fdbf5c2f7fadab8fee42729b6ac.zip | |
minesweeper gfx part 1
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs index b6e9293..b01596c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs @@ -67,11 +67,9 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper foreach (Square s in _squares) { s.RemoveEvents(); - if (s.Minded) + if (s.Minded && !s.Exploded) { - s.Button.Text = "*"; - s.Button.Font = new Font("Arial Black", 16F, FontStyle.Regular, GraphicsUnit.Point, ((System.Byte)(0))); - s.Button.ForeColor = Color.Black; + s.Button.BackgroundImage = Properties.Resources.minesweepSquareMine; } } } |
