GARbro-mirror/ArcFormats/WidgetNPA.xaml.cs

24 lines
550 B
C#
Raw Normal View History

2014-07-21 23:26:28 +04:00
using System.Windows;
using System.Windows.Controls;
namespace GameRes.Formats.GUI
{
/// <summary>
/// Interaction logic for WidgetNPA.xaml
/// </summary>
public partial class WidgetNPA : Grid
{
public WidgetNPA (string scheme)
{
InitializeComponent();
Scheme.ItemsSource = NpaOpener.KnownSchemes;
Scheme.SelectedItem = scheme;
}
public string GetScheme()
{
return Scheme.SelectedItem as string;
}
}
}