GARbro-mirror/ArcFormats/WidgetNPA.xaml.cs
2014-07-21 23:26:28 +04:00

24 lines
550 B
C#

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;
}
}
}