|
@@ -4,7 +4,6 @@
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:data="clr-namespace:ShakerManger.Data"
|
|
xmlns:data="clr-namespace:ShakerManger.Data"
|
|
- xmlns:effect="clr-namespace:WpfDesignAndAnimationLab.Effects;assembly=WpfDesignAndAnimationLab.Effects"
|
|
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
xmlns:local="clr-namespace:ShakerManger"
|
|
xmlns:local="clr-namespace:ShakerManger"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
@@ -26,7 +25,7 @@
|
|
WindowStyle="None"
|
|
WindowStyle="None"
|
|
mc:Ignorable="d">
|
|
mc:Ignorable="d">
|
|
<Window.Resources>
|
|
<Window.Resources>
|
|
- <Geometry x:Key="MainGeometry">M0,0 L1920,0 L1920,100 L1680,100 L1600,20 L500,20 L420,100 L0,100Z</Geometry>
|
|
|
|
|
|
+ <Geometry x:Key="MainGeometry">M0,0 L1920,0 L1920,100 L1680,100 L1610,20 L600,20 L530,100 L0,100Z</Geometry>
|
|
<vm:BindingProxy x:Key="DeviceControl" Data="{x:Static system:Boolean.FalseString}" />
|
|
<vm:BindingProxy x:Key="DeviceControl" Data="{x:Static system:Boolean.FalseString}" />
|
|
</Window.Resources>
|
|
</Window.Resources>
|
|
<Window.Background>
|
|
<Window.Background>
|
|
@@ -79,14 +78,14 @@
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="120" />
|
|
<RowDefinition Height="120" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="*" />
|
|
- <RowDefinition Height="24" />
|
|
|
|
|
|
+ <RowDefinition Height="20" />
|
|
</Grid.RowDefinitions>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Grid.Row="2"
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
Orientation="Horizontal">
|
|
- <Viewbox Width="32" Height="32">
|
|
|
|
|
|
+ <Viewbox Width="28" Height="28">
|
|
<Path Data="{StaticResource CEAPGepmetry}" Fill="Red" />
|
|
<Path Data="{StaticResource CEAPGepmetry}" Fill="Red" />
|
|
</Viewbox>
|
|
</Viewbox>
|
|
<TextBlock
|
|
<TextBlock
|
|
@@ -128,7 +127,7 @@
|
|
Text="{StaticResource Title}" />
|
|
Text="{StaticResource Title}" />
|
|
<ListView
|
|
<ListView
|
|
Height="60"
|
|
Height="60"
|
|
- Margin="460,40,320,0"
|
|
|
|
|
|
+ Margin="560,40,320,0"
|
|
IsEnabled="{Binding IsEnabled}"
|
|
IsEnabled="{Binding IsEnabled}"
|
|
ItemsSource="{Binding MainPages}"
|
|
ItemsSource="{Binding MainPages}"
|
|
SelectedValue="{Binding CurrentMainPage}">
|
|
SelectedValue="{Binding CurrentMainPage}">
|
|
@@ -152,11 +151,11 @@
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Background="Transparent"
|
|
Background="Transparent"
|
|
- IsEnabled="{Binding Source={x:Static vm:LoginViewModel.Default}, Path=Anonymous, Converter={StaticResource Boolean2BooleanReConverter}}"
|
|
|
|
|
|
+ IsEnabled="{Binding Source={x:Static vm:LoginViewModel.Default}, Path=IsAnonymous, Converter={StaticResource Boolean2BooleanReConverter}}"
|
|
Orientation="Horizontal">
|
|
Orientation="Horizontal">
|
|
<Grid>
|
|
<Grid>
|
|
- <Viewbox Stretch="Fill">
|
|
|
|
- <Path x:Name="path" Data="M70,0 L270,0 L200,70 L00,70Z">
|
|
|
|
|
|
+ <Viewbox Stretch="Fill" Width="200">
|
|
|
|
+ <Path Data="M70,0 L270,0 L200,70 L00,70Z">
|
|
<Path.Style>
|
|
<Path.Style>
|
|
<Style TargetType="Path">
|
|
<Style TargetType="Path">
|
|
<Style.Triggers>
|
|
<Style.Triggers>
|
|
@@ -224,7 +223,7 @@
|
|
ContentStringFormat="{TemplateBinding ContentStringFormat}"
|
|
ContentStringFormat="{TemplateBinding ContentStringFormat}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
|
ContentTemplateSelector="{x:Null}"
|
|
ContentTemplateSelector="{x:Null}"
|
|
- IsEnabled="{Binding Source={x:Static vm:LoginViewModel.Default}, Path=Anonymous, Converter={StaticResource Boolean2BooleanReConverter}}" />
|
|
|
|
|
|
+ IsEnabled="{Binding Source={x:Static vm:LoginViewModel.Default}, Path=IsAnonymous, Converter={StaticResource Boolean2BooleanReConverter}}" />
|
|
|
|
|
|
</ControlTemplate>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter.Value>
|
|
@@ -1302,7 +1301,7 @@
|
|
ContentStringFormat="{TemplateBinding ContentStringFormat}"
|
|
ContentStringFormat="{TemplateBinding ContentStringFormat}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
|
ContentTemplateSelector="{x:Null}"
|
|
ContentTemplateSelector="{x:Null}"
|
|
- IsEnabled="{Binding Source={x:Static vm:LoginViewModel.Default}, Path=Anonymous, Converter={StaticResource Boolean2BooleanReConverter}}" />
|
|
|
|
|
|
+ IsEnabled="{Binding Source={x:Static vm:LoginViewModel.Default}, Path=IsAnonymous, Converter={StaticResource Boolean2BooleanReConverter}}" />
|
|
|
|
|
|
</ControlTemplate>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter.Value>
|