GARbro-mirror/ArcFormats/Ikura/WidgetISF.xaml.cs

23 lines
624 B
C#
Raw Normal View History

using GameRes.Formats.Ikura;
using GameRes.Formats.Strings;
using System.Linq;
using System.Windows.Controls;
2015-06-18 17:04:12 +04:00
namespace GameRes.Formats.GUI
{
/// <summary>
/// Interaction logic for WidgetISF.xaml
/// </summary>
public partial class WidgetISF : StackPanel
{
public WidgetISF ()
{
InitializeComponent ();
2015-11-23 21:28:32 +04:00
var keys = new string[] { arcStrings.ArcIgnoreEncryption};
Scheme.ItemsSource = keys.Concat (MpxOpener.KnownSecrets.Keys.OrderBy (x => x));
2015-06-18 17:04:12 +04:00
if (-1 == Scheme.SelectedIndex)
Scheme.SelectedIndex = 0;
}
}
}