2014-07-13 12:44:31 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Client.EmuHawk
|
|
|
|
|
{
|
|
|
|
|
public partial class FramesPrompt : Form
|
|
|
|
|
{
|
|
|
|
|
public FramesPrompt()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-24 15:49:35 +00:00
|
|
|
|
public int Frames => NumFramesBox.ToRawInt() ?? 0;
|
2014-07-13 12:44:31 +00:00
|
|
|
|
|
|
|
|
|
private void FramesPrompt_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
NumFramesBox.Select();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OkBtn_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
DialogResult = DialogResult.OK;
|
|
|
|
|
Close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void CancelBtn_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
DialogResult = DialogResult.Cancel;
|
|
|
|
|
Close();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|