blob: 1f47bf8326915eca4564d182ba42e8b4d54ecec1 (
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
|
<UserControl x:Class="Tango.FSE.PPCConsole.Views.MainView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:global="clr-namespace:Tango.FSE.PPCConsole"
xmlns:dragablz="clr-namespace:Dragablz;assembly=Dragablz"
xmlns:vm="clr-namespace:Tango.FSE.PPCConsole.ViewModels"
xmlns:local="clr-namespace:Tango.FSE.PPCConsole.Views"
xmlns:console="clr-namespace:Tango.Console;assembly=Tango.Console"
xmlns:material="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
d:DesignHeight="720" d:DesignWidth="1280" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}">
<Grid Margin="10">
<Grid>
<!--<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>-->
<!--<Grid>
<ListBox x:Name="listMenu" HorizontalContentAlignment="Stretch" Focusable="False">
<Button Margin="5" HorizontalContentAlignment="Right" IsHitTestVisible="False" Style="{StaticResource FSE_FlatButton_ForegroundAccentHover}">CONSOLE</Button>
<Button Margin="5" HorizontalContentAlignment="Right" IsHitTestVisible="False" Style="{StaticResource FSE_FlatButton_ForegroundAccentHover}">REMOTE DESKTOP</Button>
</ListBox>
</Grid>-->
<TabControl Margin="10 0 0 0" Background="Transparent" BorderThickness="0" Padding="0" Grid.Column="1" SelectedIndex="{Binding ElementName=listMenu,Path=SelectedIndex,Mode=TwoWay}">
<TabItem Header="REMOTE DESKTOP" Visibility="Collapsed">
<!--REMOTE DESKTOP-->
<Grid Grid.Column="1">
<local:RemoteDesktopView />
</Grid>
</TabItem>
<TabItem Header="CONSOLE" Visibility="Collapsed">
<!--CONSOLE-->
<Grid>
<local:ConsoleView />
</Grid>
</TabItem>
</TabControl>
</Grid>
</Grid>
</UserControl>
|