aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-08 08:57:30 -0400
committerlempamo <[email protected]>2017-08-08 08:57:30 -0400
commitb33a6b68aeca7cee4f4a9abf6eb012b100a04a39 (patch)
treedced0eedf07459e42fdbe4b76a11f56da51ad19d /TimeHACK.Main
parentffebe68546826958b2920c99540cb72067f42cad (diff)
downloadhistacom2-b33a6b68aeca7cee4f4a9abf6eb012b100a04a39.tar.gz
histacom2-b33a6b68aeca7cee4f4a9abf6eb012b100a04a39.tar.bz2
histacom2-b33a6b68aeca7cee4f4a9abf6eb012b100a04a39.zip
fix question thing in minesweeper
Diffstat (limited to 'TimeHACK.Main')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs14
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs8
3 files changed, 12 insertions, 12 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs
index 4b5f25e..1dea7e7 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Square.cs
@@ -126,7 +126,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper
_dismantled = false;
Button.BackgroundImage = Properties.Resources.minesweepSquareQuestion;
}
- else if(Button.Text == "?")
+ else if(Button.BackgroundImage == Properties.Resources.minesweepSquareQuestion)
{
Button.BackgroundImage = Properties.Resources.minesweepSquare;
return;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs
index d22b213..d407d13 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs
@@ -69,7 +69,7 @@
this.labelBombs.Font = new System.Drawing.Font("Lemon\'s LCD", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelBombs.ForeColor = System.Drawing.Color.Red;
this.labelBombs.Image = global::TimeHACK.Properties.Resources.MinesweepNumBox;
- this.labelBombs.Location = new System.Drawing.Point(3, 4);
+ this.labelBombs.Location = new System.Drawing.Point(3, 6);
this.labelBombs.Name = "labelBombs";
this.labelBombs.Size = new System.Drawing.Size(56, 25);
this.labelBombs.TabIndex = 9;
@@ -82,7 +82,7 @@
this.labelTime.Font = new System.Drawing.Font("Lemon\'s LCD", 15F);
this.labelTime.ForeColor = System.Drawing.Color.Red;
this.labelTime.Image = global::TimeHACK.Properties.Resources.MinesweepNumBox;
- this.labelTime.Location = new System.Drawing.Point(75, 4);
+ this.labelTime.Location = new System.Drawing.Point(75, 6);
this.labelTime.Margin = new System.Windows.Forms.Padding(0);
this.labelTime.Name = "labelTime";
this.labelTime.RightToLeft = System.Windows.Forms.RightToLeft.No;
@@ -274,7 +274,7 @@
this.button1.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMinesweeperSmile;
this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button1.Location = new System.Drawing.Point(54, 3);
+ this.button1.Location = new System.Drawing.Point(54, 5);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(25, 25);
this.button1.TabIndex = 7;
@@ -289,7 +289,7 @@
// panel2
//
this.panel2.Controls.Add(this.panel1);
- this.panel2.Location = new System.Drawing.Point(15, 51);
+ this.panel2.Location = new System.Drawing.Point(15, 57);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(134, 134);
this.panel2.TabIndex = 10;
@@ -300,7 +300,7 @@
this.panel3.Controls.Add(this.panel2);
this.panel3.Location = new System.Drawing.Point(0, 25);
this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(164, 197);
+ this.panel3.Size = new System.Drawing.Size(164, 205);
this.panel3.TabIndex = 11;
//
// panel4
@@ -310,7 +310,7 @@
this.panel4.Controls.Add(this.labelBombs);
this.panel4.Location = new System.Drawing.Point(15, 11);
this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(134, 33);
+ this.panel4.Size = new System.Drawing.Size(134, 37);
this.panel4.TabIndex = 11;
//
// WinClassicMinesweeper
@@ -321,7 +321,7 @@
this.Controls.Add(this.panel3);
this.Controls.Add(this.menuStrip1);
this.Name = "WinClassicMinesweeper";
- this.Size = new System.Drawing.Size(164, 222);
+ this.Size = new System.Drawing.Size(164, 230);
this.Load += new System.EventHandler(this.WinClassicMinesweeper_Load);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
index c7d0928..ac627b3 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
@@ -48,15 +48,15 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
panel1.Size = new Size(x * 16, y * 16);
panel2.Size = new Size(x * 16 + 6, y * 16 + 6);
- this.ParentForm.Size = new Size(x * 16 + 41, y * 16 + 120);
+ this.ParentForm.Size = new Size(x * 16 + 41, y * 16 + 128);
panel3.Size = new Size(Width, Height - 24);
- panel4.Size = new Size(panel2.Width, 33);
- labelTime.Location = new Point(panel4.Width - 58, 4);
+ panel4.Size = new Size(panel2.Width, 37);
+ labelTime.Location = new Point(panel4.Width - 58, 6);
//panel2.Paint -= (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 3);
panel2.Refresh();
panel3.Refresh();
//panel2.Paint += (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 3);
- button1.Location = new Point(panel4.Width / 2 - 12, 4);
+ button1.Location = new Point(panel4.Width / 2 - 12, 6);
button1.PerformClick();
}
private void begginnerToolStripMenuItem_Click(object sender, EventArgs e)