mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-28 21:06:30 -05:00
@@ -28,6 +28,23 @@ private void B_Connect_Click(object sender, EventArgs e)
|
||||
GB_Inject.Enabled = true;
|
||||
}
|
||||
|
||||
private void SysBotRAMEdit_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (!Bot.Bot.Connected)
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
Bot.Bot.Disconnect();
|
||||
}
|
||||
#pragma warning disable CA1031 // Do not catch general exception types
|
||||
catch (Exception ex)
|
||||
#pragma warning restore CA1031 // Do not catch general exception types
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void B_Edit_Click(object sender, EventArgs e)
|
||||
{
|
||||
var offset = StringUtil.GetHexValue(RamOffset.Text);
|
||||
|
||||
Reference in New Issue
Block a user