aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/Template/Infobox95.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Engine/Template/Infobox95.cs')
-rw-r--r--TimeHACK.Engine/Template/Infobox95.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/TimeHACK.Engine/Template/Infobox95.cs b/TimeHACK.Engine/Template/Infobox95.cs
index ea257b2..314d8d3 100644
--- a/TimeHACK.Engine/Template/Infobox95.cs
+++ b/TimeHACK.Engine/Template/Infobox95.cs
@@ -45,9 +45,9 @@ namespace TimeHACK.Engine.Template
switch (btns)
{
case InfoboxButtons.OK:
- button1.Hide();
+ button1.Text = "OK";
button2.Hide();
- button3.Text = "OK";
+ button3.Hide();
break;
}
}
@@ -59,6 +59,11 @@ namespace TimeHACK.Engine.Template
private void button3_Click(object sender, EventArgs e)
{
+
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
if (btnStatus == 0) this.ParentForm.Close();
}
}