Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sp0ok3r committed Nov 20, 2024
1 parent 54823c0 commit 879fd08
Show file tree
Hide file tree
Showing 21 changed files with 784 additions and 944 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

namespace MercuryBOT.AccSettings
{
public partial class AccSettings : MetroFramework.Forms.MetroForm
public partial class AccSettingsForm : MetroFramework.Forms.MetroForm
{
public AccSettings()
public AccSettingsForm()
{
InitializeComponent();
this.components.SetStyle(this);
Expand All @@ -40,12 +40,23 @@ private void btn_setName_Click(object sender, EventArgs e)

private void btn_clearuserAliases_Click(object sender, EventArgs e)
{
Utils.ClearAliasesAsync();
if (HandleLogin.IsLoggedIn == true)
{
Utils.ClearAliasesAsync();
}
else
{
InfoForm.InfoHelper.CustomMessageBox.Show("Error", "Not logged.");
}
}

private void metroButton1_Click(object sender, EventArgs e)
private void combox_states_SelectedIndexChanged(object sender, EventArgs e)
{

}

private void combox_uimodes_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
File renamed without changes.
1 change: 0 additions & 1 deletion MercuryBOT/CustomHandlers/GamesHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using static SteamKit2.GC.Dota.Internal.CMsgDOTABotDebugInfo;

namespace MercuryBOT.CustomHandlers
{
Expand Down
9 changes: 1 addition & 8 deletions MercuryBOT/DeviceAuth.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
using Mercury;
using SteamKit2.Authentication;
using SteamKit2.Authentication;
using SteamKit2.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SteamKit2.Internal.CMsgRemoteClientBroadcastStatus;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;


namespace Mercury
Expand Down
8 changes: 0 additions & 8 deletions MercuryBOT/Games/IdleSettings.cs
Original file line number Diff line number Diff line change
@@ -1,12 +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 MercuryBOT.Games
{
Expand Down
Loading

0 comments on commit 879fd08

Please sign in to comment.