Mesen-S/UI/Debugger/frmGoToLine.cs
2019-02-15 21:33:13 -05:00

38 lines
677 B
C#

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
{
public frmGoToLine(GoToAddress address, int charLimit)
{
InitializeComponent();
Entity = address;
AddBinding("Address", txtAddress);
txtAddress.MaxLength = charLimit;
}
protected override void OnShown(EventArgs e)
{
base.OnShown(e);
txtAddress.Focus();
}
}
public class GoToAddress
{
public UInt32 Address;
}
}