GARbro-mirror/ArcFormats/WidgetXP3.xaml.cs

28 lines
674 B
C#
Raw Normal View History

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