Click here to Skip to main content
15,885,278 members
Articles / Web Development / ASP.NET

Genesis Smart Client v2.0 - Ruby - User Experience Platform

Rate me:
Please Sign up or sign in to vote.
4.50/5 (6 votes)
7 Jun 2010Ms-PL12 min read 25.2K   353   12  
This article introduces The Genesis Smart Client Framework v2.0 (Project Ruby). It focusses on the user interface component, dubbed the User Experience Platform (UXP), developed using PRISM for WPF and Silverlight.
<UserControl x:Class="BlueMarble.Genesis.Infrastructure.Background.Default.InformationAmbience"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignWidth="894" d:DesignHeight="600">
	<UserControl.Resources>
		<Storyboard x:Key="MainTitleStoryBoard">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="textBlock">
				<EasingDoubleKeyFrame KeyTime="0" Value="24"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="-81"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="textBlock">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="-1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="BasicInformationStoryBoard">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock1">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:10" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:25" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <!--<ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="textBlock1">
                <EasingThicknessKeyFrame KeyTime="0" Value="500,216,0,0"/>
                <EasingThicknessKeyFrame KeyTime="0:0:10" Value="100,216,0,0"/>
                <EasingThicknessKeyFrame KeyTime="0:0:25" Value="-250,216,0,0"/>
            </ThicknessAnimationUsingKeyFrames>-->
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock2">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:9" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:24" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:35" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <!--<ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="textBlock2">
                <EasingThicknessKeyFrame KeyTime="0:0:9" Value="146,0,0,279.04"/>
                <EasingThicknessKeyFrame KeyTime="0:0:18" Value="146,0,0,-50"/>
            </ThicknessAnimationUsingKeyFrames>-->
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock3">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:15" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:35" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:40" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <!--<ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="textBlock3">
                <EasingThicknessKeyFrame KeyTime="0:0:15" Value="383,0,0,116.04"/>
                <EasingThicknessKeyFrame KeyTime="0:0:28" Value="383,0,0,450"/>
            </ThicknessAnimationUsingKeyFrames>-->
		</Storyboard>
	</UserControl.Resources>
    <Grid>
    	<TextBlock x:Name="textBlock" HorizontalAlignment="Left" Margin="55,106,0,0" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="48" FontWeight="Bold" Foreground="#FF697AAF" RenderTransformOrigin="0.5,0.5">
    		<TextBlock.Effect>
    			<DropShadowEffect/>
    		</TextBlock.Effect>
    		<TextBlock.RenderTransform>
    			<TransformGroup>
    				<ScaleTransform/>
    				<SkewTransform/>
    				<RotateTransform/>
    				<TranslateTransform/>
    			</TransformGroup>
    		</TextBlock.RenderTransform><Run Language="en-za" Text="Genesis Smart Client"/></TextBlock>
    	<TextBlock x:Name="textBlock1" HorizontalAlignment="Left" Margin="88,216,0,0" TextWrapping="Wrap" VerticalAlignment="Top"
                   FontSize="24" Foreground="#FFC0C0C0" Opacity="0"><Run Language="en-za" Text="Composite Application Library"/></TextBlock>
        <TextBlock x:Name="textBlock2" HorizontalAlignment="Left" Margin="146,0,0,279.04" TextWrapping="Wrap" VerticalAlignment="Bottom"
                   FontSize="24" Foreground="#FFC0C0C0" Opacity="0"><Run Language="en-za" Text="Multi-Targeting for WPF and Silverlight"/></TextBlock>
        <TextBlock x:Name="textBlock3" HorizontalAlignment="Left" Margin="383,0,0,116.04" TextWrapping="Wrap" VerticalAlignment="Bottom"
                   FontSize="24" Foreground="#FFC0C0C0" Opacity="0"><Run Language="en-za" Text="Workflow Services"/></TextBlock>
            
    </Grid>
</UserControl>

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 Microsoft Public License (Ms-PL)


Written By
We Fix Code
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions