Skip to content

Commit

Permalink
Remove unnecessary usings
Browse files Browse the repository at this point in the history
  • Loading branch information
NessieHax committed Nov 19, 2022
1 parent 5295aa6 commit 877e95e
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 126 deletions.
7 changes: 1 addition & 6 deletions PCK-Studio/Classes/ToolboxItems/InterpolationPictureBox.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing.Drawing2D;
using System.Drawing.Drawing2D;
using System.Windows.Forms;

namespace PckStudio
Expand Down
5 changes: 0 additions & 5 deletions PCK-Studio/Classes/Utils/ARC/ARCUtil.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using PckStudio.Classes.IO.ARC;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PckStudio.Classes.Utils.ARC
{
Expand Down
6 changes: 1 addition & 5 deletions PCK-Studio/Classes/Utils/ListUtils.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace PckStudio.Forms.Utilities
{
Expand Down
5 changes: 1 addition & 4 deletions PCK-Studio/Classes/Utils/SkinANIM.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace PckStudio.Classes.Utils
Expand Down Expand Up @@ -69,7 +66,7 @@ public SkinANIM(eANIM_EFFECTS anim)

public override string ToString() => "0x" + ((int)_ANIM).ToString("x8");

public static bool IsValidANIM(string anim) => animRegex.IsMatch(anim);
public static bool IsValidANIM(string anim) => animRegex.IsMatch(anim ?? string.Empty);

public static eANIM_EFFECTS Parse(string anim)
=> IsValidANIM(anim)
Expand Down
8 changes: 1 addition & 7 deletions PCK-Studio/Classes/Utils/grf/CRC32.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PckStudio.Classes.Utils.grf
namespace PckStudio.Classes.Utils.grf
{
public class CRC32
{
Expand Down
8 changes: 0 additions & 8 deletions PCK-Studio/Forms/Additional-Popups/AddPCKPassword.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework.Forms;
using PckStudio.Classes.FileTypes;

namespace PckStudio.Forms
{
Expand Down
8 changes: 0 additions & 8 deletions PCK-Studio/Forms/Additional-Popups/Animation/ChangeTile.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using MetroFramework.Forms;
using System.Drawing.Drawing2D;
using Newtonsoft.Json.Linq;
using PckStudio.Forms.Utilities;

Expand Down
8 changes: 0 additions & 8 deletions PCK-Studio/Forms/Additional-Popups/Animation/FrameEditor.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MetroFramework.Forms;
using System.Windows.Forms;

using PckStudio.Forms.Editor;

namespace PckStudio.Forms.Additional_Popups.Animation
{
public partial class FrameEditor : MetroForm
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/Animation/SetBulkSpeed.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MetroFramework.Forms;
using System.Windows.Forms;

Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/Audio/addCategory.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

// Audio Editor by MattNL
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/Audio/creditsEditor.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

// Audio Editor by MattNL
Expand Down
11 changes: 1 addition & 10 deletions PCK-Studio/Forms/Additional-Popups/Audio/pleaseWait.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework.Forms;
using MetroFramework.Forms;

namespace PckStudio.Forms.Additional_Popups.Audio
{
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/Grf/AddParameter.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PckStudio.Forms.Additional_Popups.Grf
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/Loc/AddLanguage.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PckStudio.Forms.Additional_Popups.Loc
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/LockPrompt.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using PckStudio;

namespace PckStudio.Forms
{
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/TextPrompt.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PckStudio.Forms.Additional_Popups
Expand Down
10 changes: 1 addition & 9 deletions PCK-Studio/Forms/Additional-Popups/meta.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
using PckStudio.Classes.FileTypes;
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PckStudio
{
Expand Down
7 changes: 0 additions & 7 deletions PCK-Studio/Forms/Additional-Popups/programInfo.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework.Forms;

Expand Down

0 comments on commit 877e95e

Please sign in to comment.