private void B_Edit_Click(object sender, EventArgs e) { var offset = StringUtil.GetHexValue(RamOffset.Text); if (offset == 0) { WinFormsUtil.Error("Incorrect hex offset."); return; } var length = (int)NUD_Offset.Value; Bot.HexEdit(offset, length); }
private void B_Edit_Click(object sender, EventArgs e) { var offset = StringUtil.GetHexValue(RamOffset.Text); if (offset == 0) { WinFormsUtil.Error(MessageStrings.MsgInvalidHexValue); return; } var length = (int)NUD_Offset.Value; Bot.HexEdit(offset, length); }