fix typo
Brian [2016-08-02 08:31:57]
diff --git a/PokemonGo/RocketAPI/Window/SettingsForm.Designer.cs b/PokemonGo/RocketAPI/Window/SettingsForm.Designer.cs
index e56b0bd..816d7e0 100644
--- a/PokemonGo/RocketAPI/Window/SettingsForm.Designer.cs
+++ b/PokemonGo/RocketAPI/Window/SettingsForm.Designer.cs
@@ -327,7 +327,8 @@
this.AdressBox.Name = "AdressBox";
this.AdressBox.Size = new System.Drawing.Size(331, 21);
this.AdressBox.TabIndex = 25;
- this.AdressBox.Text = "Enter an adress or a coordinate";
+ this.AdressBox.Text = "Enter an address or a coordinate";
+ this.AdressBox.TextChanged += new System.EventHandler(this.AdressBox_TextChanged);
this.AdressBox.Enter += new System.EventHandler(this.AdressBox_Enter);
this.AdressBox.Leave += new System.EventHandler(this.AdressBox_Leave);
//
diff --git a/PokemonGo/RocketAPI/Window/SettingsForm.cs b/PokemonGo/RocketAPI/Window/SettingsForm.cs
index 1060d60..8e5f588 100644
--- a/PokemonGo/RocketAPI/Window/SettingsForm.cs
+++ b/PokemonGo/RocketAPI/Window/SettingsForm.cs
@@ -268,18 +268,23 @@ namespace PokemonGo.RocketAPI.Window
{
if (AdressBox.Text.Length == 0)
{
- AdressBox.Text = "Enter an adress or a coordinate";
+ AdressBox.Text = "Enter an address or a coordinate";
AdressBox.ForeColor = SystemColors.GrayText;
}
}
private void AdressBox_Enter(object sender, EventArgs e)
{
- if (AdressBox.Text == "Enter an adress or a coordinate")
+ if (AdressBox.Text == "Enter an address or a coordinate")
{
AdressBox.Text = "";
AdressBox.ForeColor = SystemColors.WindowText;
}
}
+
+ private void AdressBox_TextChanged(object sender, EventArgs e)
+ {
+
+ }
}
}
\ No newline at end of file
You may download the files in Public Git.