mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-24 06:05:35 +08:00
23 lines
578 B
C#
23 lines
578 B
C#
|
using System.Windows;
|
||
|
using System.Windows.Controls;
|
||
|
using System.Linq;
|
||
|
using GameRes.Formats.Properties;
|
||
|
using GameRes.Formats.Strings;
|
||
|
|
||
|
namespace GameRes.Formats.GUI
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Interaction logic for WidgetWARC.xaml
|
||
|
/// </summary>
|
||
|
public partial class WidgetWARC : Grid
|
||
|
{
|
||
|
public WidgetWARC ()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
// select the most recent scheme as default
|
||
|
if (-1 == Scheme.SelectedIndex)
|
||
|
Scheme.SelectedIndex = Scheme.ItemsSource.Cast<object>().Count()-1;
|
||
|
}
|
||
|
}
|
||
|
}
|