diff --git a/MainForm.cs b/MainForm.cs index 41ba40f..b7a98cf 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -500,7 +500,7 @@ namespace NBTExplorer CollapseBelow(node); } - private void SearchEndCallback () + private void SearchEndCallback (DataNode node) { _searchForm.DialogResult = DialogResult.OK; _searchForm = null; diff --git a/NBTExplorer.csproj b/NBTExplorer.csproj index 4a54f3e..a20b9eb 100644 --- a/NBTExplorer.csproj +++ b/NBTExplorer.csproj @@ -10,8 +10,9 @@ Properties NBTExplorer NBTExplorer - v4.0 - Client + v2.0 + + 512 @@ -36,6 +37,37 @@ dead_bush.ico + + true + bin\Debug\ + DEBUG;TRACE + full + AnyCPU + bin\Debug\NBTExplorer.exe.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + MinimumRecommendedRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + + + bin\Release\ + TRACE + true + pdbonly + AnyCPU + bin\Release\NBTExplorer.exe.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + MinimumRecommendedRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + False diff --git a/NBTExplorer.sln b/NBTExplorer.sln index d24e581..3d38610 100644 --- a/NBTExplorer.sln +++ b/NBTExplorer.sln @@ -13,12 +13,14 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|Any CPU.ActiveCfg = Debug|x86 + {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|Any CPU.Build.0 = Debug|Any CPU {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|Mixed Platforms.Build.0 = Debug|x86 {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|x86.ActiveCfg = Debug|x86 {8A458245-8176-4599-95CD-3CA39F2435CE}.Debug|x86.Build.0 = Debug|x86 - {8A458245-8176-4599-95CD-3CA39F2435CE}.Release|Any CPU.ActiveCfg = Release|x86 + {8A458245-8176-4599-95CD-3CA39F2435CE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8A458245-8176-4599-95CD-3CA39F2435CE}.Release|Any CPU.Build.0 = Release|Any CPU {8A458245-8176-4599-95CD-3CA39F2435CE}.Release|Mixed Platforms.ActiveCfg = Release|x86 {8A458245-8176-4599-95CD-3CA39F2435CE}.Release|Mixed Platforms.Build.0 = Release|x86 {8A458245-8176-4599-95CD-3CA39F2435CE}.Release|x86.ActiveCfg = Release|x86 diff --git a/Properties/Resources.resx b/Properties/Resources.resx index 39a9e38..2ef62d6 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -112,16 +112,16 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + - ..\Resources\arrow-270.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\arrow-270.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\arrow-090.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\arrow-090.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/SearchWorker.cs b/SearchWorker.cs index b337fe7..b424e79 100644 --- a/SearchWorker.cs +++ b/SearchWorker.cs @@ -16,7 +16,7 @@ namespace NBTExplorer public Action DiscoverCallback { get; set; } public Action ProgressCallback { get; set; } public Action CollapseCallback { get; set; } - public Action EndCallback { get; set; } + public Action EndCallback { get; set; } } internal class SearchWorker @@ -115,7 +115,7 @@ namespace NBTExplorer private void InvokeEndCallback () { if (_sender != null && _state.EndCallback != null) - _sender.BeginInvoke(_state.EndCallback); + _sender.BeginInvoke(_state.EndCallback, new object[] { null }); } } } diff --git a/forms/CancelSearchForm.cs b/forms/CancelSearchForm.cs index 794d393..8d97d5c 100644 --- a/forms/CancelSearchForm.cs +++ b/forms/CancelSearchForm.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; -using System.Linq; using System.Text; using System.Windows.Forms;