diff options
Diffstat (limited to 'TimeHACK.Engine')
| -rw-r--r-- | TimeHACK.Engine/Template/Infobox95.Designer.cs | 1 | ||||
| -rw-r--r-- | TimeHACK.Engine/Template/Infobox95.cs | 9 |
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(); } } |
