GARbro-mirror/ArcFormats/WidgetXP3.xaml.cs

28 lines
674 B
C#
Raw Normal View History

2014-07-21 23:26:28 +04:00
using System.Windows;
using System.Windows.Controls;
using GameRes.Formats.KiriKiri;
2014-07-26 23:11:24 +04:00
using GameRes.Formats.Properties;
using GameRes.Formats.Strings;
2014-07-21 23:26:28 +04:00
namespace GameRes.Formats.GUI
{
/// <summary>
/// Interaction logic for WidgetXP3.xaml
/// </summary>
public partial class WidgetXP3 : Grid
{
2014-07-26 23:11:24 +04:00
public WidgetXP3 ()
2014-07-21 23:26:28 +04:00
{
InitializeComponent();
2014-07-26 23:11:24 +04:00
if (null == Scheme.SelectedItem)
Scheme.SelectedItem = arcStrings.ArcNoEncryption;
2014-07-21 23:26:28 +04:00
}
2014-07-26 23:11:24 +04:00
public ICrypt GetScheme ()
2014-07-21 23:26:28 +04:00
{
2014-07-26 23:11:24 +04:00
return Xp3Opener.GetScheme (Scheme.SelectedItem as string);
2014-07-21 23:26:28 +04:00
}
}
}