aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-30 09:36:43 -0400
committerlempamo <[email protected]>2017-07-30 09:36:43 -0400
commit547f5382301c4b0957e886739e45389702b5c678 (patch)
tree1f0b5d8202dd2763ef1cc3482f7a5a2f8d3ed422 /TimeHACK.Engine
parent077fef3baf82e23a4a03bb3c73d83f8d8103fdb9 (diff)
downloadhistacom2-547f5382301c4b0957e886739e45389702b5c678.tar.gz
histacom2-547f5382301c4b0957e886739e45389702b5c678.tar.bz2
histacom2-547f5382301c4b0957e886739e45389702b5c678.zip
fixed up the computer and networking icons
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/Template/Infobox95.Designer.cs1
-rw-r--r--TimeHACK.Engine/Template/Infobox95.cs9
2 files changed, 8 insertions, 2 deletions
diff --git a/TimeHACK.Engine/Template/Infobox95.Designer.cs b/TimeHACK.Engine/Template/Infobox95.Designer.cs
index 3c05dbd..56d6568 100644
--- a/TimeHACK.Engine/Template/Infobox95.Designer.cs
+++ b/TimeHACK.Engine/Template/Infobox95.Designer.cs
@@ -67,6 +67,7 @@
this.button1.TabIndex = 5;
this.button1.Text = "Yes";
this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button3
//
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();
}
}