Mesen-X/GUI.NET/Debugger/frmGoToLine.cs

38 lines
677 B
C#
Raw Normal View History

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
{
public frmGoToLine(GoToAddress address, int charLimit)
2015-08-02 22:19:12 -04:00
{
InitializeComponent();
Entity = address;
AddBinding("Address", txtAddress);
txtAddress.MaxLength = charLimit;
2015-08-02 22:19:12 -04: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;
}
}