mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-30 23:04:12 +08:00
24 lines
550 B
C#
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|