mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-28 07:39:49 +08:00
more tweaks
This commit is contained in:
parent
f113aadb68
commit
4c853a8f45
@ -7,7 +7,6 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.IO.Abstractions;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
@ -42,8 +41,6 @@ namespace FancyZonesEditor
|
||||
private const string CrashReportDynamicAssemblyTag = "dynamic assembly doesn't have location";
|
||||
private const string CrashReportLocationNullTag = "location is null or empty";
|
||||
|
||||
private readonly IFileSystem _fileSystem = new FileSystem();
|
||||
|
||||
public MainWindowSettingsModel MainWindowSettings { get; }
|
||||
|
||||
public static FancyZonesEditorIO FancyZonesEditorIO { get; private set; }
|
||||
|
@ -40,15 +40,10 @@ namespace FancyZonesEditor
|
||||
public const ushort _blankCustomModelId = 0xFFFA;
|
||||
public const ushort _lastDefinedId = _blankCustomModelId;
|
||||
|
||||
private const int MaxNegativeSpacing = -10;
|
||||
|
||||
// Non-localizable strings
|
||||
public static readonly string RegistryPath = "SOFTWARE\\SuperFancyZones";
|
||||
public static readonly string FullRegistryPath = "HKEY_CURRENT_USER\\" + RegistryPath;
|
||||
|
||||
private const string LayoutTypeBlankStr = "blank";
|
||||
private const string NullUuidStr = "null";
|
||||
|
||||
// hard coded data for all the "Priority Grid" configurations that are unique to "Grid"
|
||||
private static readonly byte[][] _priorityData = new byte[][]
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ namespace FancyZonesEditor.Utils
|
||||
{
|
||||
if (execute == null)
|
||||
{
|
||||
throw new ArgumentNullException("execute");
|
||||
throw new ArgumentNullException(nameof(execute));
|
||||
}
|
||||
|
||||
_execute = execute;
|
||||
|
@ -22,7 +22,7 @@ namespace FancyZonesEditor.Utils
|
||||
{
|
||||
if (execute == null)
|
||||
{
|
||||
throw new ArgumentNullException("execute");
|
||||
throw new ArgumentNullException(nameof(execute));
|
||||
}
|
||||
|
||||
_execute = execute;
|
||||
|
Loading…
Reference in New Issue
Block a user