Cleanup namespace ordering

This commit is contained in:
pizzaboxer 2023-01-27 15:54:18 +00:00
parent 3f69b1a998
commit d7b8efbc2c
23 changed files with 80 additions and 86 deletions

View File

@ -1,21 +1,18 @@
using Bloxstrap.Models; using System;
using System; using System.Diagnostics;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Globalization; using System.Globalization;
using System.Linq; using System.IO;
using System.Net.Http; using System.Net.Http;
using System.Net; using System.Net;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks;
using System.Windows; using System.Windows;
using System.Diagnostics;
using Microsoft.Win32;
using Bloxstrap.Models;
using Bloxstrap.Dialogs.Menu; using Bloxstrap.Dialogs.Menu;
using Bloxstrap.Enums; using Bloxstrap.Enums;
using Bloxstrap.Helpers; using Bloxstrap.Helpers;
using Microsoft.Win32;
using System.IO;
namespace Bloxstrap namespace Bloxstrap
{ {

View File

@ -1,24 +1,21 @@
using System.Diagnostics; using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO; using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Linq;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows;
using Microsoft.Win32; using Microsoft.Win32;
using Bloxstrap.Enums;
using Bloxstrap.Dialogs.BootstrapperDialogs; using Bloxstrap.Dialogs.BootstrapperDialogs;
using Bloxstrap.Helpers; using Bloxstrap.Helpers;
using Bloxstrap.Helpers.Integrations; using Bloxstrap.Helpers.Integrations;
using Bloxstrap.Helpers.RSMM; using Bloxstrap.Helpers.RSMM;
using Bloxstrap.Models; using Bloxstrap.Models;
using System.Net;
using Bloxstrap.Properties;
using System.Threading.Tasks;
using System.Linq;
using System.Collections.Generic;
using System;
using System.Windows.Forms;
using System.Windows;
namespace Bloxstrap namespace Bloxstrap
{ {
@ -317,7 +314,7 @@ namespace Bloxstrap
} }
#endregion #endregion
#region App Install #region App Install
public static void Register() public static void Register()
{ {
RegistryKey applicationKey = Registry.CurrentUser.CreateSubKey($@"Software\{App.ProjectName}"); RegistryKey applicationKey = Registry.CurrentUser.CreateSubKey($@"Software\{App.ProjectName}");
@ -451,7 +448,7 @@ namespace Bloxstrap
} }
#endregion #endregion
#region Roblox Install #region Roblox Install
private void UpdateProgressbar() private void UpdateProgressbar()
{ {
int newProgress = (int)Math.Floor(ProgressIncrement * TotalDownloadedBytes); int newProgress = (int)Math.Floor(ProgressIncrement * TotalDownloadedBytes);

View File

@ -1,9 +1,10 @@
using Bloxstrap.Enums; using System;
using Bloxstrap.Helpers;
using System.Windows.Forms;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows; using System.Windows;
using System; using System.Windows.Forms;
using Bloxstrap.Enums;
using Bloxstrap.Helpers;
namespace Bloxstrap.Dialogs.BootstrapperDialogs namespace Bloxstrap.Dialogs.BootstrapperDialogs
{ {

View File

@ -1,7 +1,8 @@
using Bloxstrap.Enums;
using System; using System;
using System.Windows.Forms; using System.Windows.Forms;
using Bloxstrap.Enums;
namespace Bloxstrap.Dialogs.BootstrapperDialogs namespace Bloxstrap.Dialogs.BootstrapperDialogs
{ {
// https://youtu.be/3K9oCEMHj2s?t=35 // https://youtu.be/3K9oCEMHj2s?t=35

View File

@ -1,7 +1,8 @@
using Bloxstrap.Enums; using System;
using System;
using System.Windows.Forms;
using System.Drawing; using System.Drawing;
using System.Windows.Forms;
using Bloxstrap.Enums;
namespace Bloxstrap.Dialogs.BootstrapperDialogs namespace Bloxstrap.Dialogs.BootstrapperDialogs
{ {

View File

@ -1,6 +1,7 @@
using Bloxstrap.Enums; using System;
using System.Windows.Forms; using System.Windows.Forms;
using System;
using Bloxstrap.Enums;
namespace Bloxstrap.Dialogs.BootstrapperDialogs namespace Bloxstrap.Dialogs.BootstrapperDialogs
{ {

View File

@ -1,5 +1,6 @@
using Bloxstrap.Dialogs.BootstrapperDialogs; using System.Windows.Forms;
using System.Windows.Forms;
using Bloxstrap.Dialogs.BootstrapperDialogs;
namespace Bloxstrap.Enums namespace Bloxstrap.Enums
{ {

View File

@ -1,10 +1,11 @@
using System.Net.Http; using System;
using System.Text.Json;
using Bloxstrap.Models;
using System.Threading.Tasks;
using System.Collections.Generic; using System.Collections.Generic;
using System;
using System.Linq; using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Bloxstrap.Models;
namespace Bloxstrap.Helpers namespace Bloxstrap.Helpers
{ {

View File

@ -1,5 +1,5 @@
using System.IO; using System;
using System; using System.IO;
namespace Bloxstrap.Helpers namespace Bloxstrap.Helpers
{ {

View File

@ -1,11 +1,11 @@
using System.Diagnostics; using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System;
using System.Linq;
using System.Threading;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Bloxstrap.Models; using Bloxstrap.Models;

View File

@ -1,11 +1,10 @@
using System.Diagnostics; using System;
using System.Diagnostics;
using System.IO; using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
using Bloxstrap.Models; using Bloxstrap.Models;
using System;
namespace Bloxstrap.Helpers.Integrations namespace Bloxstrap.Helpers.Integrations
{ {

View File

@ -1,15 +1,15 @@
using System.Diagnostics; using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO; using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Linq;
using System.Threading.Tasks;
using Bloxstrap.Models; using Bloxstrap.Models;
using IniParser; using IniParser;
using IniParser.Model; using IniParser.Model;
using System.Threading.Tasks;
using System.Linq;
using System.Collections.Generic;
using System;
namespace Bloxstrap.Helpers.Integrations namespace Bloxstrap.Helpers.Integrations
{ {

View File

@ -1,10 +1,11 @@
using System.Diagnostics; using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text; using System.Text;
using System.Web; using System.Web;
using Microsoft.Win32;
using System.Collections.Generic;
using System.Windows; using System.Windows;
using System;
using Microsoft.Win32;
namespace Bloxstrap.Helpers namespace Bloxstrap.Helpers
{ {

View File

@ -1,10 +1,9 @@
// https://github.com/MaximumADHD/Roblox-Studio-Mod-Manager/blob/main/ProjectSrc/Bootstrapper/PackageManifest.cs // https://github.com/MaximumADHD/Roblox-Studio-Mod-Manager/blob/main/ProjectSrc/Bootstrapper/PackageManifest.cs
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using System.Collections.Generic;
using System; using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Bloxstrap.Helpers.RSMM namespace Bloxstrap.Helpers.RSMM
{ {

View File

@ -1,8 +1,8 @@
// https://github.com/MaximumADHD/Roblox-Studio-Mod-Manager/blob/main/ProjectSrc/Utility/SystemEvent.cs // https://github.com/MaximumADHD/Roblox-Studio-Mod-Manager/blob/main/ProjectSrc/Utility/SystemEvent.cs
using System;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using System;
namespace Bloxstrap.Helpers.RSMM namespace Bloxstrap.Helpers.RSMM
{ {

View File

@ -1,7 +1,7 @@
using System.IO; using System.IO;
using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Linq;
namespace Bloxstrap.Helpers namespace Bloxstrap.Helpers
{ {

View File

@ -1,9 +1,9 @@
using System.Diagnostics; using System;
using System.Diagnostics;
using System.IO; using System.IO;
using System.Windows;
using Bloxstrap.Dialogs.Menu; using Bloxstrap.Dialogs.Menu;
using System.Windows;
using System;
namespace Bloxstrap.Helpers namespace Bloxstrap.Helpers
{ {

View File

@ -1,11 +1,10 @@
using System.Diagnostics; using System;
using System.Diagnostics;
using System.IO; using System.IO;
using System.IO.Compression; using System.Linq;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Text.Json; using System.Text.Json;
using System.Threading.Tasks; using System.Threading.Tasks;
using System;
using System.Linq;
namespace Bloxstrap.Helpers namespace Bloxstrap.Helpers
{ {

View File

@ -1,8 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows; using System.Windows;
using System.Windows.Forms; using System.Windows.Forms;

View File

@ -1,5 +1,5 @@
using System.Text.Json.Serialization; using System;
using System; using System.Text.Json.Serialization;
namespace Bloxstrap.Models namespace Bloxstrap.Models
{ {

View File

@ -1,5 +1,5 @@
using System.Text.Json.Serialization; using System.Collections.Generic;
using System.Collections.Generic; using System.Text.Json.Serialization;
namespace Bloxstrap.Models namespace Bloxstrap.Models
{ {

View File

@ -1,5 +1,5 @@
using System.Text.Json.Serialization; using System.Collections.Generic;
using System.Collections.Generic; using System.Text.Json.Serialization;
namespace Bloxstrap.Models namespace Bloxstrap.Models
{ {

View File

@ -1,10 +1,10 @@
using System.Diagnostics; using System;
using System.Diagnostics;
using System.IO; using System.IO;
using System.Text.Json; using System.Text.Json;
using System.Threading;
using Bloxstrap.Models; using Bloxstrap.Models;
using System;
using System.Threading;
namespace Bloxstrap namespace Bloxstrap
{ {