aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml
blob: 054d7b9d8ae9cd797a09500558b82c1255089f3a (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
<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"  Foreground="{StaticResource MainWindow.Foreground}" FontFamily="{StaticResource flexo}" 
                     BorderThickness="1"  BorderBrush="{StaticResource AccentColorBrush}" Background="{DynamicResource MainWindow.Background}" WindowTitleBrush="{StaticResource MainWindow.WindowTitleColorBrush}">

    <Grid x:Name="main_grid">
        <Grid.Background>
            <ImageBrush ImageSource="/Images/White-Abstract.png" Stretch="Fill"></ImageBrush>
        </Grid.Background>
        <!--<Viewbox Stretch="Fill" x:Name="viewbox">-->
            <Grid x:Name="grid" Width="1920" Height="1145">
                <Grid>
                    <sharedControls:NavigationControl TransitionAlwaysFades="True" TransitionType="Zoom" x:Name="NavigationControl" x:FieldModifier="public">
                        <views:LoadingView sharedControls:NavigationControl.NavigationName="LoadingView"></views:LoadingView>
                        <views:LoginView sharedControls:NavigationControl.NavigationName="LoginView"></views:LoginView>
                        <views:MainView sharedControls:NavigationControl.NavigationName="MainView"></views:MainView>
                        <views:ShutdownView sharedControls:NavigationControl.NavigationName="ShutdownView"></views:ShutdownView>
                        <views:UpdateView sharedControls:NavigationControl.NavigationName="UpdateView"></views:UpdateView>
                    </sharedControls:NavigationControl>

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

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