aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml
blob: 7addfdd137c406436c62a0f58f1e50a71d1a7346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Application x:Class="Tango.PPC.UI.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
			 xmlns:dragAndDrop="clr-namespace:Tango.DragAndDrop;assembly=Tango.DragAndDrop"
             xmlns:local="clr-namespace:Tango.PPC.UI"
             StartupUri="MainWindow.xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Application.Resources>
		<ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                
                <!--Touch-->
                <ResourceDictionary Source="pack://application:,,,/Tango.Touch;component/Resources/Colors.xaml"/>

                <!--Common-->
                <ResourceDictionary Source="pack://application:,,,/Tango.PPC.Common;component/Resources/Merged.xaml" />

                <!--Local-->
                <ResourceDictionary Source="Resources/Colors.xaml"></ResourceDictionary>
                <ResourceDictionary Source="Resources/Fonts.xaml"></ResourceDictionary>
                <ResourceDictionary Source="Resources/Styles.xaml"></ResourceDictionary>
                
            </ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
    </Application.Resources>
</Application>
.Views" mc:Ignorable="d" d:DesignHeight="1280" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:RestartingViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.RestartingViewVM}"> <Grid> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Grid Margin="0 100 0 0"> <Image Source="/Images/machine.png" Stretch="Uniform" Width="250" RenderOptions.BitmapScalingMode="Fant"></Image> <touch:TouchBusyIndicator Foreground="{StaticResource TangoGrayBrush}" Width="350" Height="350" IsIndeterminate="{Binding IsVisible}" /> </Grid> <TextBlock Margin="0 40 0 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}" Foreground="{StaticResource TangoGrayTextBrush}"> <Run>v</Run><Run Text="{Binding ApplicationManager.Version,Mode=OneWay}"></Run> </TextBlock> <TextBlock FontSize="{StaticResource TangoHeaderFontSize}" Margin="0 100 0 0" HorizontalAlignment="Center" Width="170"> <TextBlock.Style> <Style TargetType="TextBlock"> <Setter Property="Text" Value="Restarting"></Setter> <Style.Triggers> <DataTrigger Binding="{Binding IsVisible}" Value="True"> <DataTrigger.EnterActions> <BeginStoryboard x:Name="storyRes"> <Storyboard> <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Text" RepeatBehavior="5x"> <DiscreteObjectKeyFrame KeyTime="00:00:0.2" Value="Restarting." /> <DiscreteObjectKeyFrame KeyTime="00:00:0.6" Value="Restarting.." /> <DiscreteObjectKeyFrame KeyTime="00:00:0.9" Value="Restarting..." /> <DiscreteObjectKeyFrame KeyTime="00:00:1.4" Value="Restarting..." /> </ObjectAnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </DataTrigger.EnterActions> <DataTrigger.ExitActions> <RemoveStoryboard BeginStoryboardName="storyRes" /> </DataTrigger.ExitActions> </DataTrigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> </StackPanel> </Grid> </UserControl>