mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 11:54:13 +08:00
23 lines
641 B
C#
23 lines
641 B
C#
using System.Windows.Controls;
|
|
using System.Linq;
|
|
using GameRes.Formats.DxLib;
|
|
using GameRes.Formats.Strings;
|
|
|
|
namespace GameRes.Formats.GUI
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for WidgetSCR.xaml
|
|
/// </summary>
|
|
public partial class WidgetSCR : StackPanel
|
|
{
|
|
public WidgetSCR()
|
|
{
|
|
InitializeComponent();
|
|
var keys = new string[] { arcStrings.ArcIgnoreEncryption };
|
|
ScriptScheme.ItemsSource = keys.Concat (MedOpener.KnownSchemes.Keys.OrderBy (x => x));
|
|
if (-1 == ScriptScheme.SelectedIndex)
|
|
ScriptScheme.SelectedIndex = 0;
|
|
}
|
|
}
|
|
}
|