comparison Workflow/Client/MainWindow.xaml @ 89:3c67e54e3a17

Working version
author stevenhollidge <stevenhollidge@hotmail.com>
date Mon, 30 Apr 2012 10:45:32 +0100
parents
children
comparison
equal deleted inserted replaced
88:e84dc4926a5a 89:3c67e54e3a17
1 <metro:Window x:Class="Client.MainWindow"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 xmlns:Controls="clr-namespace:Client.Controls"
5 xmlns:metro="http://schemas.codeplex.com/elysium/theme"
6 Title="Messaging Client"
7 Width="550"
8 Height="625"
9 MinWidth="450"
10 MinHeight="625"
11 Closed="Window_Closed"
12 Icon="Images\client.ico">
13
14 <Window.Resources>
15 <Storyboard x:Key="OrderStoryboard" Completed="OnOrderStoryboardCompleted">
16 <DoubleAnimation x:Name="moveOrder"
17 Duration="00:00:05"
18 From="0"
19 Storyboard.TargetName="imageOrder"
20 Storyboard.TargetProperty="(Canvas.Left)"
21 To="440" />
22 </Storyboard>
23 <Storyboard x:Key="PaymentStoryboard" Completed="OnPaymentStoryboardCompleted">
24 <DoubleAnimation x:Name="movePayment"
25 Duration="00:00:05"
26 From="0"
27 Storyboard.TargetName="imagePayment"
28 Storyboard.TargetProperty="(Canvas.Left)"
29 To="440" />
30 </Storyboard>
31 <Storyboard x:Key="DeliveryStoryboard" Completed="OnDeliveryStoryboardCompleted">
32 <DoubleAnimation x:Name="moveDelivery"
33 Duration="00:00:05"
34 From="0"
35 Storyboard.TargetName="imageDelivery"
36 Storyboard.TargetProperty="(Canvas.Left)"
37 To="440" />
38 </Storyboard>
39 <Storyboard x:Key="FadeInGiftStoryboard">
40 <DoubleAnimation Duration="00:00:02"
41 From="0"
42 Storyboard.TargetName="imageGift"
43 Storyboard.TargetProperty="Opacity"
44 To="1" />
45 </Storyboard>
46 </Window.Resources>
47
48 <TabControl>
49 <TabItem Header="place order">
50 <Grid HorizontalAlignment="Center">
51 <Grid.ColumnDefinitions>
52 <ColumnDefinition Width="200" />
53 <ColumnDefinition Width="100" />
54 <ColumnDefinition Width="200" />
55 </Grid.ColumnDefinitions>
56 <Grid.RowDefinitions>
57 <RowDefinition Height="300" />
58 <RowDefinition Height="150" />
59 <RowDefinition Height="75" />
60 </Grid.RowDefinitions>
61
62 <Canvas Grid.Row="0"
63 Grid.Column="0"
64 Grid.ColumnSpan="3">
65
66 <Image x:Name="imageOrder"
67 Canvas.Left="0"
68 Canvas.Top="20"
69 Height="60"
70 HorizontalAlignment="Left"
71 Source="Images\order.png" />
72
73 <Image x:Name="imagePayment"
74 Canvas.Left="0"
75 Canvas.Top="120"
76 Height="60"
77 HorizontalAlignment="Left"
78 Source="Images\payment.png" />
79
80 <Image x:Name="imageDelivery"
81 Canvas.Left="0"
82 Canvas.Top="220"
83 Height="60"
84 HorizontalAlignment="Left"
85 Source="Images\delivery.png" />
86 </Canvas>
87
88 <Image x:Name="imageGift"
89 Grid.Row="1"
90 Grid.Column="1"
91 Opacity="0"
92 Source="Images\gift.png" />
93
94 <Controls:UIMessage x:Name="NotificationLeft"
95 Grid.Row="2"
96 Grid.Column="0" />
97
98 <Button Name="btnSubmit"
99 Grid.Row="2"
100 Grid.Column="1"
101 Margin="10"
102 Click="btnSubmit_Click"
103 Content="Submit" />
104
105 <Controls:UIMessage x:Name="NotificationRight"
106 Grid.Row="2"
107 Grid.Column="2" />
108 </Grid>
109 </TabItem>
110 </TabControl>
111 </metro:Window>