Clean up all code using CodeMaid

This commit is contained in:
2023-08-02 17:43:01 +08:00
parent e9a3f4014e
commit eef4687ed6
23 changed files with 176 additions and 43 deletions

View File

@@ -20,10 +20,10 @@
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using GrasscutterTools.OpenCommand;
using GrasscutterTools.Properties;
using GrasscutterTools.Utils;
@@ -100,7 +100,6 @@ namespace GrasscutterTools
return 0;
}
#region - -
/// <summary>
@@ -155,7 +154,6 @@ namespace GrasscutterTools
// UID
//Settings.Default.RemoteUid = decimal.Parse(parser.GetToggleValueOrDefault("uid", Settings.Default.RemoteUid.ToString()));
if (!string.IsNullOrEmpty(Settings.Default.Host) && !string.IsNullOrEmpty(Settings.Default.TokenCache))
{
Common.OC = new OpenCommandAPI(Settings.Default.Host, Settings.Default.TokenCache);
@@ -218,7 +216,7 @@ namespace GrasscutterTools
return raw.Trim().Replace("\\r", "\r").Replace("\\n", "\n");
}
#endregion
#endregion - -
#region - -