Simplify.Windows.Forms 1.1.4

dotnet add package Simplify.Windows.Forms --version 1.1.4
                    
NuGet\Install-Package Simplify.Windows.Forms -Version 1.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Simplify.Windows.Forms" Version="1.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Simplify.Windows.Forms" Version="1.1.4" />
                    
Directory.Packages.props
<PackageReference Include="Simplify.Windows.Forms" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Simplify.Windows.Forms --version 1.1.4
                    
#r "nuget: Simplify.Windows.Forms, 1.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Simplify.Windows.Forms@1.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Simplify.Windows.Forms&version=1.1.4
                    
Install as a Cake Addin
#tool nuget:?package=Simplify.Windows.Forms&version=1.1.4
                    
Install as a Cake Tool

Simplify.Windows.Forms Documentation

Provides additional System.Windows.Forms controls and helpers: message boxes, control validators, a list view column sorter, a nullable date-time picker, and a topmost progress bar.

Available at NuGet as binary package

Targets net6.0-windows, netcoreapp3.1, and net48. Depends on Simplify.Resources for string-table-based messages.

MessageBox

// Shows a message box with the given text, icon and buttons.
public static DialogResult ShowMessageBox(string text,
    MessageBoxIcon icon = MessageBoxIcon.Information,
    MessageBoxButtons buttons = MessageBoxButtons.OK);

// Shows a message box with text loaded from a string table (resource) record.
public static DialogResult ShowStMessageBox(string stringTableRecordName,
    MessageBoxIcon icon = MessageBoxIcon.Information,
    MessageBoxButtons buttons = MessageBoxButtons.OK);

ControlsValidator

Validates a list of controls for a filled/existing value, enabling or disabling a result control accordingly.

// resultStatusControl is enabled/disabled based on the validation of checkItems.
public class ControlsValidator(Control resultStatusControl, params Control[] checkItems)
{
    public void EnableValidation();
}

Usage Example

var validator = new ControlsValidator(buttonOk, textBoxName, comboBoxCity);
validator.EnableValidation();

TextBoxesValidator

Validates a list of TextBox controls for a filled value, with optional invalid-value color highlighting.

public TextBoxesValidator(Control resultStatusControl, params TextBox[] checkItems);
public TextBoxesValidator(bool enableColorHightlight, Control resultStatusControl, params TextBox[] checkItems);

public void EnableValidation();
public void DisableValidation();

// Text-box numeric value validation event handler.
public static void OnTextBoxNumberValidated<T>(object sender, CancelEventArgs e);

ListViewColumnSorter

An IComparer implementation for sorting ListView columns.

public class ListViewColumnSorter : IComparer
{
    // Number of the column to sort (defaults to 0).
    public int SortColumn { get; set; }

    // Order of sorting (e.g. Ascending or Descending).
    public SortOrder Order { get; set; }

    public int Compare(object x, object y);
}

Usage Example

listView.ListViewItemSorter = new ListViewColumnSorter { SortColumn = 1, Order = SortOrder.Ascending };

Controls

NullableDateTimePicker

A DateTimePicker that supports a null value.

public class NullableDateTimePicker : DateTimePicker
{
    // The text shown in the control when the value is null.
    public string NullValue { get; set; }

    // The nullable DateTime value of the control.
    public new DateTime? Value { get; set; }
}

TopmostProgressBar

A topmost progress bar Form control.

public partial class TopmostProgressBar : Form;
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Simplify.Windows.Forms:

Package Downloads
Mitu.Extensions.Core

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.4 42 8/15/2026
1.1.3 12,577 8/1/2023
1.1.2 16,539 8/24/2021
1.1.0 28,083 10/10/2019
1.0.0 57,108 2/25/2014