Remove useless events
Brian [2016-08-23 13:58:58]
diff --git a/PokemonGo.RocketBot.Logic/PokemonGo.RocketBot.Logic.csproj b/PokemonGo.RocketBot.Logic/PokemonGo.RocketBot.Logic.csproj
index cca00ed..49b07a8 100644
--- a/PokemonGo.RocketBot.Logic/PokemonGo.RocketBot.Logic.csproj
+++ b/PokemonGo.RocketBot.Logic/PokemonGo.RocketBot.Logic.csproj
@@ -184,6 +184,7 @@
<Compile Include="Tasks\FarmPokestopsTask.cs" />
<Compile Include="Tasks\Login.cs" />
<Compile Include="Tasks\RecycleItemsTask.cs" />
+ <Compile Include="Tasks\RecycleSpecificItemTask.cs" />
<Compile Include="Tasks\RenamePokemonTask.cs" />
<Compile Include="Tasks\RenameSpecificPokemonTask.cs" />
<Compile Include="Tasks\SnipePokemonTask.cs" />
@@ -194,8 +195,10 @@
<Compile Include="Tasks\TransferSpecificPokemonTask.cs" />
<Compile Include="Tasks\TransferWeakPokemonTask.cs" />
<Compile Include="Tasks\UseIncenseConstantlyTask.cs" />
+ <Compile Include="Tasks\UseIncenseTask.cs" />
<Compile Include="Tasks\UseIncubatorsTask.cs" />
<Compile Include="Tasks\UseLuckyEggConstantlyTask.cs" />
+ <Compile Include="Tasks\UseLuckyEggTask.cs" />
<Compile Include="Tasks\UseNearbyPokestopsTask.cs" />
<Compile Include="Utils\DelayingUtils.cs" />
<Compile Include="Utils\DeviceInfoHelper.cs" />
diff --git a/PokemonGo.RocketBot.Window/Forms/MainForm.cs b/PokemonGo.RocketBot.Window/Forms/MainForm.cs
index 12a43de..3f4df25 100644
--- a/PokemonGo.RocketBot.Window/Forms/MainForm.cs
+++ b/PokemonGo.RocketBot.Window/Forms/MainForm.cs
@@ -285,6 +285,7 @@ namespace PokemonGo.RocketBot.Window.Forms
}, null);
}
+ #region UPDATEMAP
private void UpdateMap()
{
SynchronizationContext.Post(o =>
@@ -385,6 +386,7 @@ namespace PokemonGo.RocketBot.Window.Forms
}
}, null);
}
+ #endregion
private void Navigation_UpdatePositionEvent(double lat, double lng)
{
@@ -459,14 +461,6 @@ namespace PokemonGo.RocketBot.Window.Forms
"https://raw.githubusercontent.com/TheUnnameOrganization/RocketBot/Beta-Build/src/RocketBotGUI/Properties/AssemblyInfo.cs");
}
- private void olvPokemonList_SelectedIndexChanged(object sender, EventArgs e)
- {
- }
-
- private void gMapControl1_Load(object sender, EventArgs e)
- {
- }
-
private void showMoreCheckBox_CheckedChanged(object sender, EventArgs e)
{
if (showMoreCheckBox.Checked)
diff --git a/PokemonGo.RocketBot.Window/Forms/MainForm.designer.cs b/PokemonGo.RocketBot.Window/Forms/MainForm.designer.cs
index d01589c..da0c4bc 100644
--- a/PokemonGo.RocketBot.Window/Forms/MainForm.designer.cs
+++ b/PokemonGo.RocketBot.Window/Forms/MainForm.designer.cs
@@ -180,7 +180,6 @@ namespace PokemonGo.RocketBot.Window.Forms
this.gMapControl1.Size = new System.Drawing.Size(605, 219);
this.gMapControl1.TabIndex = 23;
this.gMapControl1.Zoom = 0D;
- this.gMapControl1.Load += new System.EventHandler(this.gMapControl1_Load);
//
// olvPokemonList
//
@@ -237,7 +236,6 @@ namespace PokemonGo.RocketBot.Window.Forms
this.olvPokemonList.UseCompatibleStateImageBehavior = false;
this.olvPokemonList.View = System.Windows.Forms.View.Details;
this.olvPokemonList.ButtonClick += new System.EventHandler<BrightIdeasSoftware.CellClickEventArgs>(this.olvPokemonList_ButtonClick);
- this.olvPokemonList.SelectedIndexChanged += new System.EventHandler(this.olvPokemonList_SelectedIndexChanged);
//
// pkmnName
//
You may download the files in Public Git.