diff options
| author | lempamo <[email protected]> | 2017-08-07 20:46:26 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-07 20:46:26 -0400 |
| commit | ffebe68546826958b2920c99540cb72067f42cad (patch) | |
| tree | ea0d8f003db32773664a68fa6d4aebd1319401e3 /TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs | |
| parent | 1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b (diff) | |
| download | histacom2-ffebe68546826958b2920c99540cb72067f42cad.tar.gz histacom2-ffebe68546826958b2920c99540cb72067f42cad.tar.bz2 histacom2-ffebe68546826958b2920c99540cb72067f42cad.zip | |
minesweeper complete :smile:
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs index 00594b2..4b5f25e 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs @@ -124,20 +124,16 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper if (Dismantled) { _dismantled = false; - Button.BackgroundImage = null; - Button.Text = "?"; + Button.BackgroundImage = Properties.Resources.minesweepSquareQuestion; } else if(Button.Text == "?") { - _dismantled = false; Button.BackgroundImage = Properties.Resources.minesweepSquare; - Button.Text = ""; return; } else { _dismantled = true; - Button.Text = ""; Button.BackgroundImage = Properties.Resources.WinClassicMinesweeperFlag; } OnDismantle(); @@ -210,13 +206,13 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper Button.BackgroundImage = Properties.Resources.minesweepSquare5; break; case 6: - Button.ForeColor = Color.LightBlue; + Button.BackgroundImage = Properties.Resources.minesweepSquare6; break; case 7: - Button.ForeColor = Color.Orange; // Guesed, never seen one! + Button.BackgroundImage = Properties.Resources.minesweepSquare7; break; case 8: - Button.ForeColor = Color.Ivory; // Guesed, never seen one! + Button.BackgroundImage = Properties.Resources.minesweepSquare8; break; } } |
