|
using System.Globalization;
using System.Threading;
using System.Windows;
using System.Windows.Markup;
using Selen.WorkflowDesigner.Contracts;
using Microsoft.Practices.Unity;
using System.Collections.Generic;
namespace Selen.WorkflowDesigner
{
/// <summary>
/// Interaktionslogik für MainWindow.xaml
/// </summary>
public partial class MainWindow
{
public MainWindow(IMainViewModel viewModel)
{
InitializeComponent();
var culture = Dispatcher.Thread.CurrentCulture.Name;
Dispatcher.Thread.CurrentCulture = CultureInfo.GetCultureInfo(culture);
Dispatcher.Thread.CurrentUICulture = CultureInfo.GetCultureInfo(culture);
this.Language = XmlLanguage.GetLanguage(culture);
this.DataContext = viewModel;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.