Forms.Wpf.Mls.Tools 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Forms.Wpf.Mls.Tools --version 1.0.2
NuGet\Install-Package Forms.Wpf.Mls.Tools -Version 1.0.2
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="Forms.Wpf.Mls.Tools" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Forms.Wpf.Mls.Tools --version 1.0.2
#r "nuget: Forms.Wpf.Mls.Tools, 1.0.2"
#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.
// Install Forms.Wpf.Mls.Tools as a Cake Addin
#addin nuget:?package=Forms.Wpf.Mls.Tools&version=1.0.2

// Install Forms.Wpf.Mls.Tools as a Cake Tool
#tool nuget:?package=Forms.Wpf.Mls.Tools&version=1.0.2

This library will help your Windows Forms and WPF apps with usefull tools (services and controls).

Services:

AssemblyProperties - Ready to use Exe/dll properties

It has simple to use properties. Now it has only 5, but more will be added in the future. One example:

var appIcon = AssemblyProperties.AssemblyIcon;

EscapeCloses - On ESC keyboard pressed closes Window/Form

Easy to use service to close Window/Form on keyboard key press button ESC

Shortcuts - Methods for creating shortcut

Easy to create shortcut with one line. It has also Startup Shortcut - ready to use method to add shortcut to users startup folder.

Shortcuts.CreateShortcut(exePath, lnkPath);

SizePositioning - Save Window/Form position and size on the monitor

It's not the standard way with project's resource properties. This uses json. Serialize on close and deserialize on load. To use it you need only this line:

SizePositioning.AssignForm(this);

or

SizePositioning.AssignWindow(this);

SpecialFolders - Windows' special folders

It has simple to use properties. Now it has only 5, but more will be added in the future. One example 'C:\ProgramData':

var progData = SpecialFolders.CommonAppData;

Controls:

SystemTray - Adding NotifyIcon control to Window/Form

This adds icon in the Windows taskbar system tray. It has default context menu that you can replace with your own. It also has - close app to the tray icon and doble click opens back the app.

var SystemIcon = new SystemTray(form);
chBxSystemTray.CheckedChanged += delegate { SystemIcon.Visibility = chBxSystemTray.Checked; };
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.10 108 4/10/2024
1.0.9 70 4/8/2024
1.0.8 89 3/25/2024
1.0.7 97 3/22/2024
1.0.6 127 5/9/2023
1.0.5 170 4/27/2023
1.0.4 176 4/19/2023
1.0.3 186 4/8/2023
1.0.2 215 3/26/2023
1.0.1 246 3/18/2023