aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-07 17:16:14 -0400
committerlempamo <[email protected]>2017-08-07 17:16:14 -0400
commit1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b (patch)
treee2c8427b9cc1618007597d02b41879bebd1852a0 /TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
parente838d66d36751fdbf5c2f7fadab8fee42729b6ac (diff)
downloadhistacom2-1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b.tar.gz
histacom2-1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b.tar.bz2
histacom2-1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b.zip
minesweeper graphics part 2
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
index fb8f112..5556e18 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
@@ -43,24 +43,25 @@ namespace TimeHACK.OS.Win95.Win95Apps
panel2.Paint -= (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 3);
panel2.Refresh();
panel2.Paint += (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 3);
+ button1.Location = new Point(this.Width / 2 - 12, 32);
button1.PerformClick();
}
private void begginnerToolStripMenuItem_Click(object sender, EventArgs e)
{
level = "easy";
- button1.Location = new Point(70, 32);
+ //button1.Location = new Point(70, 32);
calculateFormSize(8, 8);
}
private void intermediateToolStripMenuItem_Click(object sender, EventArgs e)
{
level = "medium";
- button1.Location = new Point(208, 32);
+ //button1.Location = new Point(158, 32);
calculateFormSize(16, 16);
}
private void expertToolStripMenuItem_Click(object sender, EventArgs e)
{
level = "hard";
- button1.Location = new Point(381, 32);
+ //button1.Location = new Point(381, 32);
calculateFormSize(30, 16);
}
private void button1_Click(object sender, EventArgs e)
@@ -120,6 +121,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
}
SaveSystem.SaveGame();
+ timer1.Stop();
}
}
@@ -131,8 +133,6 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
{
- Thread t = new Thread(Achieve);
- t.Start();
this.ParentForm.Close();
}
}