mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-07-08 01:31:41 +08:00
reorganized project directory structure.
This commit is contained in:
26
ArcFormats/YuRis/WidgetYPF.xaml.cs
Normal file
26
ArcFormats/YuRis/WidgetYPF.xaml.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user