2015-09-18 01:27:53 +04:00
|
|
|
|
using GameRes.Formats.Marble;
|
|
|
|
|
using GameRes.Formats.Strings;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Windows.Controls;
|
2015-06-04 01:13:25 +04:00
|
|
|
|
|
|
|
|
|
namespace GameRes.Formats.GUI
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for WidgetMBL.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class WidgetMBL : Grid
|
|
|
|
|
{
|
|
|
|
|
public WidgetMBL ()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent ();
|
2015-09-18 01:27:53 +04: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 01:13:25 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|