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