diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..d2af713 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,21 @@ + + + + + obj\$(MSBuildProjectName) + + diff --git a/Nuclex.Windows.Forms (net-4.6)(net-6.0).csproj b/Nuclex.Windows.Forms (net-4.6)(net-6.0).csproj new file mode 100644 index 0000000..8360577 --- /dev/null +++ b/Nuclex.Windows.Forms (net-4.6)(net-6.0).csproj @@ -0,0 +1,28 @@ + + + + net462;net6.0-windows + Apache-2.0 + false + True + Nuclex.Windows.Forms + Nuclex.Windows.Forms + obj\source + true + + + + + + + + + + + + + + + + + diff --git a/Nuclex.Windows.Forms (net-4.6).csproj b/Nuclex.Windows.Forms (net-4.6).csproj deleted file mode 100644 index e3260f0..0000000 --- a/Nuclex.Windows.Forms (net-4.6).csproj +++ /dev/null @@ -1,158 +0,0 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {B2BFA3EC-3B7B-4EE0-8395-8426B5C7A8B8} - Library - Properties - Nuclex.Windows.Forms - Nuclex.Windows.Forms - v4.6.2 - 512 - - - - true - full - false - bin\net-4.0\Debug\ - TRACE;DEBUG;UNITTEST - prompt - 4 - bin\net-4.0\Debug\Nuclex.Windows.Forms.xml - false - - - pdbonly - true - bin\net-4.6\Release\ - TRACE;UNITTEST - prompt - 4 - bin\net-4.6\Release\Nuclex.Windows.Forms.xml - false - - - $(SolutionDir)third-party\ - - - true - - - ..\Foundation.snk - - - - ..\third-party\NUnit.2.7.1\lib\nunit.framework.dll - - - - - - - - - - - - - - - - - - - UserControl - - - ProgressSpinner.cs - - - - - - - - - - - - - - - - - - - Form - - - UserControl - - - Form - - - - ProgressSpinner.cs - - - ProgressReporterForm.cs - Designer - - - Component - - - AsyncProgressBar.cs - - - Component - - - ContainerListView.cs - - - - Form - - - ProgressReporterForm.cs - - - - - TrackingBar.cs - - - - - Foundation.snk - - - - - - - - - - - - - {00567408-4f44-4c00-866e-b04a99e482f2} - Nuclex.Support %28net-4.6%29 - - - - - \ No newline at end of file diff --git a/Nuclex.Windows.Forms.Tests (net-4.6)(net-6.0).csproj b/Nuclex.Windows.Forms.Tests (net-4.6)(net-6.0).csproj new file mode 100644 index 0000000..467100c --- /dev/null +++ b/Nuclex.Windows.Forms.Tests (net-4.6)(net-6.0).csproj @@ -0,0 +1,32 @@ + + + + net462;net6.0-windows + Apache-2.0 + false + True + Nuclex.Windows.Forms.Tests + Nuclex.Windows.Forms.Tests + obj\tests + true + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Controls/ProgressSpinner.cs b/Source/Controls/ProgressSpinner.cs index eb94280..025fe25 100644 --- a/Source/Controls/ProgressSpinner.cs +++ b/Source/Controls/ProgressSpinner.cs @@ -18,7 +18,6 @@ limitations under the License. #endregion // Apache License 2.0 using System; -using System.Data; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; @@ -27,6 +26,9 @@ using System.Windows.Forms; namespace Nuclex.Windows.Forms.Controls { /// Displays a progress spinner to entertain the user while waiting +#if NET6_0_OR_GREATER + [SupportedOSPlatform("windows")] +#endif public partial class ProgressSpinner : UserControl { /// Number of dots the progress spinner will display diff --git a/Source/Views/IActiveWindowTracker.cs b/Source/Views/IActiveWindowTracker.cs deleted file mode 100644 index e36b3ea..0000000 --- a/Source/Views/IActiveWindowTracker.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Apache License 2.0 -/* -Nuclex .NET Framework -Copyright (C) 2002-2024 Markus Ewald / Nuclex Development Labs - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -#endregion // Apache License 2.0 - -using System; -using System.Windows.Forms; - -namespace Nuclex.Windows.Forms { - - /// Enables consumer to look up the currently active window - public interface IActiveWindowTracker { - - /// The currently active top-level or modal window - /// - /// If windows live in multiple threads, the property change notification for - /// this property, if supported, might be fired from a different thread. - /// - Form ActiveWindow { get; } - - } - -} // namespace Nuclex.Windows.Forms diff --git a/packages.config b/packages.config deleted file mode 100644 index e42218e..0000000 --- a/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file