2015-09-18 05:27:53 +08:00
|
|
|
|
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 ();
|
2015-09-18 05:27:53 +08:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|