aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml
blob: f07e7f476c3a5e014c7a4ca8abca9e0222b43d60 (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
<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="720" Width="1280" WindowStartupLocation="CenterOwner" WindowState="Maximized" Foreground="#494949">
    <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>
            </sharedControls:MultiTransitionControl.Controls>
        </sharedControls:MultiTransitionControl>

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

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