GARbro-mirror/ArcFormats/Cyberworks/WidgetBELL.xaml.cs
2016-07-06 04:14:42 +04:00

23 lines
628 B
C#

using System.Linq;
using System.Windows.Controls;
using GameRes.Formats.Cyberworks;
using GameRes.Formats.Strings;
namespace GameRes.Formats.GUI
{
/// <summary>
/// Interaction logic for WidgetBELL.xaml
/// </summary>
public partial class WidgetBELL : StackPanel
{
public WidgetBELL()
{
InitializeComponent();
var keys = new string[] { arcStrings.ArcIgnoreEncryption };
Title.ItemsSource = keys.Concat (DatOpener.KnownSchemes.Keys.OrderBy (x => x));
if (-1 == Title.SelectedIndex)
Title.SelectedIndex = 0;
}
}
}