aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml
blob: 63b2b3f6aafcb44cc050db864e7e84e31a82f087 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<mahapps:MetroWindow x:Class="Tango.MachineStudio.UI.MainWindow"
        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:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Tango.MachineStudio.UI"
        xmlns:views="clr-namespace:Tango.MachineStudio.UI.Views"
        xmlns:sharedControls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
        mc:Ignorable="d"
        Title="Tango" Height="800" Width="1280" WindowStartupLocation="CenterOwner" WindowState="Maximized" Foreground="#494949" BorderThickness="1" BorderBrush="{StaticResource AccentColorBrush}">

    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/Images/White-Abstract.png" Stretch="Fill"></ImageBrush>
        </Grid.Background>
        <Viewbox Stretch="Fill" UseLayoutRounding="True" SnapsToDevicePixels="True">
            <Grid Width="1920" Height="1145">
                <Grid>
                    <sharedControls:MultiTransitionControl AlwaysFade="True" TransitionType="Zoom" x:Name="TransitionControl" x:FieldModifier="public">
                        <sharedControls:MultiTransitionControl.Controls>
                            <ContentControl Tag="LoadingView">
                                <views:LoadingView></views:LoadingView>
                            </ContentControl>
                            <ContentControl Tag="LoginView">
                                <views:LoginView></views:LoginView>
                            </ContentControl>
                            <ContentControl Tag="MainView">
                                <views:MainView></views:MainView>
                            </ContentControl>
                            <ContentControl Tag="ShutdownView">
                                <views:ShutdownView></views:ShutdownView>
                            </ContentControl>
                            <ContentControl Tag="UpdateView">
                                <views:UpdateView></views:UpdateView>
                            </ContentControl>
                        </sharedControls:MultiTransitionControl.Controls>
                    </sharedControls:MultiTransitionControl>

                    <Grid Background="Black" Opacity="0.7" x:Name="shadowGrid" Visibility="Hidden">

                    </Grid>
                </Grid>
            </Grid>
        </Viewbox>
    </Grid>
</mahapps:MetroWindow>