using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace butterflow_ui
{
///
/// Interaction logic for OptionsWindow.xaml
///
public partial class OptionsWindow : Window
{
#region Properties
/// Gets or sets the supported languages.
/// The supported languages.
public List SupportedLanguages { get; set; } = new List(new[]
{
CultureInfo.CreateSpecificCulture("en-US"),
CultureInfo.CreateSpecificCulture("es-ES")
});
#endregion
#region Constructors
/// Default constructor.
public OptionsWindow()
{
InitializeComponent();
}
#endregion
#region Methods
/// Event handler. Called by btnSave for click events.
/// Source of the event.
/// Routed event information.
private void btnSave_Click(object sender, RoutedEventArgs e)
{
Properties.Settings.Default.Save();
this.Close();
}
#endregion
}
}