mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-29 22:34:13 +08:00
24 lines
662 B
C#
24 lines
662 B
C#
using GameRes.Formats.Entis;
|
|
using GameRes.Formats.Strings;
|
|
using System.Linq;
|
|
using System.Windows.Controls;
|
|
|
|
namespace GameRes.Formats.GUI
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for WidgetNOA.xaml
|
|
/// </summary>
|
|
public partial class WidgetNOA : Grid
|
|
{
|
|
public WidgetNOA ()
|
|
{
|
|
InitializeComponent ();
|
|
var keys = new string[] { arcStrings.NOAIgnoreEncryption };
|
|
Scheme.ItemsSource = keys.Concat (NoaOpener.KnownKeys.Keys.OrderBy (x => x));
|
|
// select first scheme as default
|
|
if (-1 == Scheme.SelectedIndex)
|
|
Scheme.SelectedIndex = 0;
|
|
}
|
|
}
|
|
}
|