Dissolved dependency on Nuclex.Support.Transactions by dropping two progress reporting helpers

This commit is contained in:
cygon 2024-06-14 17:39:10 +02:00
parent e1a6a8cde7
commit 734d06f7bb
7 changed files with 69 additions and 20 deletions

37
.gitignore vendored Normal file
View File

@ -0,0 +1,37 @@
NuclexSupportConfig.cmake
# Visual Studio Codium
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Visual Studio
.vs/
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
*.userprefs
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Artifacts
[Bb]in/
[Oo]bj/

View File

@ -42,9 +42,8 @@
<AssemblyOriginatorKeyFile>..\Foundation.snk</AssemblyOriginatorKeyFile> <AssemblyOriginatorKeyFile>..\Foundation.snk</AssemblyOriginatorKeyFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="nunit.framework, Version=2.5.5.10112, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> <Reference Include="nunit.framework">
<SpecificVersion>False</SpecificVersion> <HintPath>..\third-party\nunit\net-4.0\framework\nunit.framework.dll</HintPath>
<HintPath>..\References\nunit\net-4.0\framework\nunit.framework.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
@ -147,12 +146,8 @@
<Compile Include="Source\ProgressReporter\ProgressReporterForm.Designer.cs"> <Compile Include="Source\ProgressReporter\ProgressReporterForm.Designer.cs">
<DependentUpon>ProgressReporterForm.cs</DependentUpon> <DependentUpon>ProgressReporterForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Source\TrackingBar\ToolStripTrackingBar.cs"> <Compile Include="Source\TrackingBar\ToolStripTrackingBar.cs" />
<SubType>Component</SubType> <Compile Include="Source\TrackingBar\TrackingBar.cs" />
</Compile>
<Compile Include="Source\TrackingBar\TrackingBar.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Source\TrackingBar\TrackingBar.Designer.cs"> <Compile Include="Source\TrackingBar\TrackingBar.Designer.cs">
<DependentUpon>TrackingBar.cs</DependentUpon> <DependentUpon>TrackingBar.cs</DependentUpon>
</Compile> </Compile>
@ -166,10 +161,6 @@
<Folder Include="Resources\" /> <Folder Include="Resources\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Nuclex.Support.Transactions\Nuclex.Support.Transactions %28net-4.6%29.csproj">
<Project>{2f487c4d-8e06-496f-bcd5-7119b18c78d8}</Project>
<Name>Nuclex.Support.Transactions %28net-4.6%29</Name>
</ProjectReference>
<ProjectReference Include="..\Nuclex.Support\Nuclex.Support %28net-4.6%29.csproj"> <ProjectReference Include="..\Nuclex.Support\Nuclex.Support %28net-4.6%29.csproj">
<Project>{00567408-4f44-4c00-866e-b04a99e482f2}</Project> <Project>{00567408-4f44-4c00-866e-b04a99e482f2}</Project>
<Name>Nuclex.Support %28net-4.6%29</Name> <Name>Nuclex.Support %28net-4.6%29</Name>

View File

@ -17,21 +17,22 @@ limitations under the License.
*/ */
#endregion // Apache License 2.0 #endregion // Apache License 2.0
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
namespace Nuclex.Windows.Forms { namespace Nuclex.Windows.Forms {
partial class ProgressReporterForm { partial class ProgressReporterForm {
/// <summary>
/// Required designer variable. /// <summary>Required designer variable.</summary>
/// </summary>
private System.ComponentModel.IContainer components = null; private System.ComponentModel.IContainer components = null;
/// <summary> /// <summary>Clean up any resources being used.</summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) { protected override void Dispose(bool disposing) {
if(disposing && (components != null)) { if(disposing && (components != null)) {
components.Dispose(); components.Dispose();
} }
base.Dispose(disposing); base.Dispose(disposing);
} }
@ -115,5 +116,9 @@ namespace Nuclex.Windows.Forms {
private Nuclex.Windows.Forms.AsyncProgressBar progressBar; private Nuclex.Windows.Forms.AsyncProgressBar progressBar;
private System.Windows.Forms.Label statusLabel; private System.Windows.Forms.Label statusLabel;
private System.Windows.Forms.Timer controlCreationTimer; private System.Windows.Forms.Timer controlCreationTimer;
} }
}
} // namespace Nuclex.Windows.Forms
#endif // WITH_NUCLEX_SUPPORT_TRANSACTIONS

View File

@ -22,6 +22,8 @@ using System.ComponentModel;
using System.Threading; using System.Threading;
using System.Windows.Forms; using System.Windows.Forms;
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
using Nuclex.Support.Scheduling; using Nuclex.Support.Scheduling;
using Nuclex.Support.Tracking; using Nuclex.Support.Tracking;
@ -270,3 +272,5 @@ namespace Nuclex.Windows.Forms {
} }
} // namespace Nuclex.Windows.Forms } // namespace Nuclex.Windows.Forms
#endif // WITH_NUCLEX_SUPPORT_TRANSACTIONS

View File

@ -22,6 +22,8 @@ using System.ComponentModel;
using System.Drawing; using System.Drawing;
using System.Windows.Forms; using System.Windows.Forms;
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
using Nuclex.Support.Tracking; using Nuclex.Support.Tracking;
namespace Nuclex.Windows.Forms { namespace Nuclex.Windows.Forms {
@ -111,3 +113,5 @@ namespace Nuclex.Windows.Forms {
} }
} // namespace Nuclex.Windows.Forms } // namespace Nuclex.Windows.Forms
#endif // WITH_NUCLEX_SUPPORT_TRANSACTIONS

View File

@ -17,6 +17,8 @@ limitations under the License.
*/ */
#endregion // Apache License 2.0 #endregion // Apache License 2.0
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
namespace Nuclex.Windows.Forms { namespace Nuclex.Windows.Forms {
partial class TrackingBar { partial class TrackingBar {
@ -48,3 +50,5 @@ namespace Nuclex.Windows.Forms {
} }
} // namespace Nuclex.Windows.Forms } // namespace Nuclex.Windows.Forms
#endif // WITH_NUCLEX_SUPPORT_TRANSACTIONS

View File

@ -26,6 +26,8 @@ using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using System.Threading; using System.Threading;
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
using Nuclex.Support.Tracking; using Nuclex.Support.Tracking;
namespace Nuclex.Windows.Forms { namespace Nuclex.Windows.Forms {
@ -131,3 +133,5 @@ namespace Nuclex.Windows.Forms {
} }
} // namespace Nuclex.Windows.Forms } // namespace Nuclex.Windows.Forms
#endif // WITH_NUCLEX_SUPPORT_TRANSACTIONS