Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

A Simple Solution to Some Problems with Asynchrony in Silverlight

, 9 Mar 2010
A small, extensible suite of classes that elegantly solve some common problems involving asynchrony and event handling that tend to occur when Silverlight and WCF are used together.
TaskManagerDemo.zip
TaskManagerDemo
Bin
Debug
Controls
Properties
Service References
ExampleServiceReference
configuration.svcinfo
configuration91.svcinfo
ExampleService.disco
ExampleService.wsdl
Reference.svcmap
TaskManagerDemo.ExampleServiceReference.CityZipCode.datasource
ServiceReferences.ClientConfig
Themes
Utility
TaskManagerDemo.Web
App_Data
bin
ClientBin
DataContracts
ExampleService.svc
Properties
TaskManagerDemo.Web.csproj.user
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="TaskManagerDemo.App"
             >
    <Application.Resources>
        <Style x:Key="CloseButton" TargetType="Button">
            <Setter Property="Width" Value="30" />
            <Setter Property="Height" Value="12" />
            <Setter Property="HorizontalAlignment" Value="Left" />
            <Setter Property="VerticalAlignment" Value="Top" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Border Width="22" Height="12" CornerRadius="0,0,3,3">
                            <TextBlock 
                                Foreground="WhiteSmoke" 
                                Text="r" 
                                FontSize="10" 
                                FontFamily="Webdings"
                                TextAlignment="Center"
                                VerticalAlignment="Center"
                            >
                            </TextBlock>
                            <Border.Background>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFDB9F96" Offset="0"/>
                                    <GradientStop Color="#FFBE6D5F" Offset="0.499"/>
                                    <GradientStop Color="#FFA63A29" Offset="0.5"/>
                                    <GradientStop Color="#FFbE6E5A" Offset="1"/>
                                </LinearGradientBrush>
                            </Border.Background>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Application.Resources>
</Application>

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

George Henry 1954
Software Developer (Senior) Colibrium Partners. LLC
United States United States
George Henry has worked as a software developer for more than 20 years. He is currently employed by Colibrium in Bellevue, Washington, USA as a Technical Analyst, working on the company's Tuo software suite - both the base product and customizations for clients.

| Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 9 Mar 2010
Article Copyright 2009 by George Henry 1954
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid