GARbro-mirror/ArcFormats/WidgetYPF.xaml.cs
2014-08-16 04:42:20 +04:00

27 lines
593 B
C#

using System.Windows;
using System.Windows.Controls;
using GameRes.Formats.Properties;
namespace GameRes.Formats.GUI
{
/// <summary>
/// Interaction logic for WidgetYPF.xaml
/// </summary>
public partial class WidgetYPF : Grid
{
public WidgetYPF ()
{
InitializeComponent();
}
public uint? GetKey ()
{
uint key;
if (uint.TryParse (this.Passkey.Text, out key) && key < 0x100)
return key;
else
return null;
}
}
}