| | |
| | | WindowState="Maximized" |
| | | x:Name="window" |
| | | BorderBrush="Transparent" |
| | | Loaded="window_Loaded" |
| | | pu:WindowXCaption.Buttons="All" |
| | | pu:WindowXCaption.Buttons="None" |
| | | xmlns:sys="clr-namespace:System;assembly=mscorlib" |
| | | xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI" |
| | | xmlns:hc="clr-namespace:HMI.Core;assembly=HMI.Core" |
| | | Closed="window_Closed" |
| | | Topmost="False" |
| | | Title="TestPlatform" |
| | | pu:WindowXCaption.Background="Transparent" |
| | | pu:WindowXCaption.Height="80" |
| | | pu:WindowXCaption.Foreground="#FFF" > |
| | | IsOverlayerVisible="True" |
| | | pu:WindowXCaption.Foreground="#FFF"> |
| | | <Window.Resources> |
| | | <hc:LangConverter x:Key="lc"/> |
| | | <Style x:Key="UserMenu" TargetType="Menu" BasedOn="{StaticResource {x:Static pu:StyleKeys.MenuStyle}}"> |
| | |
| | | FontFamily="/HMI.UI;component/Resources/Font/#iconfont" |
| | | Content="" |
| | | RenderTransformOrigin="0.5,0.5" |
| | | Click="Button_Click_2"> |
| | | Click="Button_Click"> |
| | | <Button.Style> |
| | | <Style TargetType="Button" BasedOn="{StaticResource {x:Static pu:WindowXCaption.MinimizeButtonStyleKey}}"> |
| | | <Setter Property="Focusable" Value="False"/> |
| | | <Style.Triggers> |
| | | <DataTrigger Binding="{Binding ShowMenu}" Value="True"> |
| | | <Setter Property="Button.RenderTransform"> |
| | |
| | | </Style.Triggers> |
| | | </Style> |
| | | </Button.Style> |
| | | </Button> |
| | | |
| | | <Button FontSize="18" Click="Button_Click" x:Name="minBtn"> |
| | | <Button.Style> |
| | | <Style TargetType="Button" BasedOn="{StaticResource {x:Static pu:WindowXCaption.MinimizeButtonStyleKey}}"> |
| | | <Setter Property="Focusable" Value="False"/> |
| | | </Style> |
| | | </Button.Style> |
| | | </Button> |
| | | |
| | | <Button FontSize="18" Click="Button_Click" x:Name="maxBtn"> |
| | | <Button.Style> |
| | | <Style TargetType="Button" BasedOn="{StaticResource {x:Static pu:WindowXCaption.MaximizeButtonStyleKey}}"> |
| | | <Setter Property="Focusable" Value="False"/> |
| | | </Style> |
| | | </Button.Style> |
| | | </Button> |
| | | |
| | | <Button FontSize="18" Click="Button_Click" x:Name="closeBtn"> |
| | | <Button.Style> |
| | | <Style TargetType="Button" BasedOn="{StaticResource {x:Static pu:WindowXCaption.CloseButtonStyleKey}}"> |
| | | <Setter Property="Focusable" Value="False"/> |
| | | </Style> |
| | | </Button.Style> |
| | | </Button> |
| | | </StackPanel> |
| | | </pu:WindowXCaption.ExtendControl> |
| | |
| | | <Grid> |
| | | <Grid.RowDefinitions> |
| | | <RowDefinition/> |
| | | <RowDefinition Height="30"/> |
| | | <RowDefinition Height="Auto"/> |
| | | </Grid.RowDefinitions> |
| | | |
| | | <ctl:MainTabControl Grid.Row="0" x:Name="menuTab"> |
| | |
| | | <!--<ctl:MenuTabControl Grid.Row="1" x:Name="menuTab" OnTabChange="menuTab_OnTabChange"> </ctl:MenuTabControl>--> |
| | | |
| | | |
| | | <StatusBar Grid.Row="1" Background="{StaticResource HoriBar}"></StatusBar> |
| | | <!--<StatusBar Grid.Row="1" Background="{StaticResource HoriBar}"></StatusBar>--> |
| | | </Grid> |
| | | </pu:WindowX> |