GARbro-mirror/ArcFormats/Marble/WidgetMBL.xaml.cs

24 lines
661 B
C#
Raw Normal View History

using GameRes.Formats.Marble;
using GameRes.Formats.Strings;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
2015-06-04 05:13:25 +08:00
namespace GameRes.Formats.GUI
{
/// <summary>
/// Interaction logic for WidgetMBL.xaml
/// </summary>
public partial class WidgetMBL : Grid
{
public WidgetMBL ()
{
InitializeComponent ();
var keys = new[] { new KeyValuePair<string, string> (arcStrings.ArcDefault, "") };
EncScheme.ItemsSource = keys.Concat (MblOpener.KnownKeys);
if (-1 == EncScheme.SelectedIndex)
EncScheme.SelectedIndex = 0;
2015-06-04 05:13:25 +08:00
}
}
}