.NET Framework 4.5 Multi-Threaded Globalization: Listing 3

Completed MainWindow.xaml.

<Window x:Class="UpdatedCultureInfoDemo.MainWindow"
        Title="MainWindow" Height="350" Width="525">
            <TextBlock>User's Preferred Culture</TextBlock>
            <TextBlock Name="UserPreferredCulture" Text="{Binding DisplayName}"></TextBlock>
            <TextBlock>New Thread UI Culture</TextBlock>
            <TextBlock Name="ThreadUICulture" Text="{Binding DisplayName}"></TextBlock>
            <TextBlock>New Task UI Culture</TextBlock>
            <TextBlock Name="TaskUICulture" Text="{Binding DisplayName}"></TextBlock>
            <TextBlock>New AppDomain UI Culture</TextBlock>
            <TextBlock Name="AppDomainUICulture" Text="{Binding DisplayName}"></TextBlock>

About the Author

Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at [email protected].

comments powered by Disqus


Subscribe on YouTube