Click here to Skip to main content
15,884,298 members
Articles / Web Development / HTML

Signum Framework Tutorials Part 3 - Southwind Load

Rate me:
Please Sign up or sign in to vote.
4.62/5 (7 votes)
21 Nov 2012CPOL23 min read 24.3K   319   10  
In this part we'll write the loading application to move data from Northwind to Southwind.
<UserControl x:Class="Signum.Windows.Basics.Alert"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:m="clr-namespace:Signum.Windows" 
    xmlns:b="clr-namespace:Signum.Entities.Basics;assembly=Signum.Entities"
    m:Common.TypeContext="b:Alert"    
    x:Name="UserControl" MinWidth="350" MinHeight="250">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Signum.Windows;Component/Resources.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <UserControl.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FFFBCC29" Offset="0.004"/>
            <GradientStop Color="#FFFFEDAC" Offset="1"/>
            <GradientStop Color="#FFFFE793" Offset="0.527"/>
        </LinearGradientBrush>
    </UserControl.Background>

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <TextBlock HorizontalAlignment="Left" Margin="12,10.45,0,8" Width="52.5" Text="{m:Loc Alert}" TextWrapping="Wrap" FontFamily="Comic Sans MS" FontWeight="Bold" FontSize="14" VerticalAlignment="Stretch"/>
        <TextBox TextWrapping="Wrap" Grid.Row="1" Margin="8,0,8,8"  Background="#7FFFFFFF" Style="{DynamicResource toolTip}" AcceptsReturn="True"
			Text="{Binding Path=Text, Mode=Default, ValidatesOnDataErrors=True, ValidatesOnExceptions=True,NotifyOnValidationError=True}"/>
        <m:EntityLine LabelText="{m:Loc RelatedEntity}" m:Common.Route="Entity" />
        <m:ValueLine m:Common.Route="AlertDate" />
        <m:ValueLine m:Common.Route="CheckDate" />
    </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 Code Project Open License (CPOL)


Written By
Software Developer (Senior) Signum Software
Spain Spain
I'm Computer Scientist, one of the founders of Signum Software, and the lead developer behind Signum Framework.

www.signumframework.com

I love programming in C#, Linq, Compilers, Algorithms, Functional Programming, Computer Graphics, Maths...

Comments and Discussions