mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
26 lines
732 B
C#
26 lines
732 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using GameRes.Formats.Properties;
|
|
using GameRes.Formats.Strings;
|
|
using GameRes.Formats.YuRis;
|
|
|
|
namespace GameRes.Formats.GUI
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for WidgetYPF.xaml
|
|
/// </summary>
|
|
public partial class WidgetYPF : Grid
|
|
{
|
|
public WidgetYPF ()
|
|
{
|
|
InitializeComponent();
|
|
var guess = new Dictionary<string, YpfScheme> { { arcStrings.YPFTryGuess, null } };
|
|
Scheme.ItemsSource = guess.Concat (YpfOpener.KnownSchemes.OrderBy (x => x.Key));
|
|
if (-1 == Scheme.SelectedIndex)
|
|
Scheme.SelectedIndex = 0;
|
|
}
|
|
}
|
|
}
|