2015-08-02 22:19:12 -04:00
|
|
|
|
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 Mesen.GUI.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Mesen.GUI.Debugger
|
|
|
|
|
{
|
|
|
|
|
public partial class frmGoToLine : BaseConfigForm
|
|
|
|
|
{
|
2018-03-15 17:14:41 -04:00
|
|
|
|
public frmGoToLine(GoToAddress address, int charLimit)
|
2015-08-02 22:19:12 -04:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
Entity = address;
|
|
|
|
|
AddBinding("Address", txtAddress);
|
2018-03-15 17:14:41 -04:00
|
|
|
|
|
|
|
|
|
txtAddress.MaxLength = charLimit;
|
2015-08-02 22:19:12 -04:00
|
|
|
|
}
|
2016-11-14 21:00:50 -05:00
|
|
|
|
|
|
|
|
|
protected override void OnShown(EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
base.OnShown(e);
|
|
|
|
|
txtAddress.Focus();
|
|
|
|
|
}
|
2015-08-02 22:19:12 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GoToAddress
|
|
|
|
|
{
|
|
|
|
|
public UInt32 Address;
|
|
|
|
|
}
|
|
|
|
|
}
|