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

This commit is contained in:
Markus Ewald 2024-06-14 17:39:10 +02:00 committed by cygon
parent 7b7fec96fd
commit 6683d66b2d
7 changed files with 69 additions and 20 deletions

View file

@ -17,21 +17,22 @@ limitations under the License.
*/
#endregion // Apache License 2.0
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
namespace Nuclex.Windows.Forms {
partial class ProgressReporterForm {
/// <summary>
/// Required designer variable.
/// </summary>
/// <summary>Required designer variable.</summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <summary>Clean up any resources being used.</summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if(disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
@ -115,5 +116,9 @@ namespace Nuclex.Windows.Forms {
private Nuclex.Windows.Forms.AsyncProgressBar progressBar;
private System.Windows.Forms.Label statusLabel;
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.Windows.Forms;
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
using Nuclex.Support.Scheduling;
using Nuclex.Support.Tracking;
@ -270,3 +272,5 @@ 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.Windows.Forms;
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
using Nuclex.Support.Tracking;
namespace Nuclex.Windows.Forms {
@ -111,3 +113,5 @@ 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
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
namespace Nuclex.Windows.Forms {
partial class TrackingBar {
@ -48,3 +50,5 @@ 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.Threading;
#if WITH_NUCLEX_SUPPORT_TRANSACTIONS
using Nuclex.Support.Tracking;
namespace Nuclex.Windows.Forms {
@ -131,3 +133,5 @@ namespace Nuclex.Windows.Forms {
}
} // namespace Nuclex.Windows.Forms
#endif // WITH_NUCLEX_SUPPORT_TRANSACTIONS