<Window x:Class="XHandler.View.ControlPanel"
|
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:local="clr-namespace:XHandler.View"
|
xmlns:str="clr-namespace:XHandler.Properties"
|
xmlns:ctrls="clr-namespace:XHandler.Controls"
|
mc:Ignorable="d" WindowStartupLocation = "CenterOwner"
|
Height="550" Width="400" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="#00FFFFFF"
|
Loaded="ControlPanel_Loaded" Title="{x:Static str:Resources.strControlPanelTitle}" >
|
<Grid >
|
<Border Background="{DynamicResource blueBrush}" CornerRadius="10 10 10 10" BorderThickness="2" BorderBrush="{DynamicResource blueBrush}">
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="510"/>
|
</Grid.RowDefinitions>
|
<Grid Grid.Row="0" >
|
<Border Grid.Row="0" Background="{DynamicResource blueBrush}" CornerRadius="10 10 0 0" BorderThickness="0">
|
<Grid>
|
<TextBlock Text="{x:Static str:Resources.strControlPanelTitle}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20 0" FontSize="20"
|
Foreground="White" FontWeight="Bold"/>
|
<Button Content="×" x:Name="btnClose" HorizontalAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10 0" FontSize="28" Width="40" Height="40"
|
FontWeight="Bold" Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Visibility="Visible" Click="btnClose_Click"/>
|
</Grid>
|
</Border>
|
</Grid>
|
|
<Grid Grid.Row="1" Background="White">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="30"></RowDefinition>
|
<RowDefinition Height="100"></RowDefinition>
|
<RowDefinition Height="100"></RowDefinition>
|
<RowDefinition Height="100"></RowDefinition>
|
<RowDefinition Height="100"></RowDefinition>
|
</Grid.RowDefinitions>
|
<Grid Grid.Row="0">
|
</Grid>
|
|
<Grid Grid.Row="1">
|
<Button Content="{x:Static str:Resources.strHome}" x:Name="btnReset" HorizontalAlignment="Center"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" BorderThickness="0"
|
Height="40" Width="100" Click="btnReset_Click" FontSize="16" />
|
</Grid>
|
<Grid Grid.Row="2">
|
<Button Content="{x:Static str:Resources.btnUnLoadTip}" x:Name="btnUnLoadTip" HorizontalAlignment="Center"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" BorderThickness="0"
|
Height="40" Width="100" Click="btnUnLoadTip_Click" FontSize="16" />
|
</Grid>
|
<Grid Grid.Row="3">
|
<Button Content="{x:Static str:Resources.btnControlGrip}" x:Name="btnControlGrip" HorizontalAlignment="Center"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" BorderThickness="0"
|
Height="40" Width="100" Click="btnControlGrip_Click" FontSize="16"/>
|
</Grid>
|
<Grid Grid.Row="4">
|
<Button Content="{x:Static str:Resources.btnControlPipetteGun}" x:Name="btnControlPipetteGun" HorizontalAlignment="Center"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" BorderThickness="0"
|
Height="40" Width="100" Click="btnControlPipetteGun_Click" FontSize="16" />
|
</Grid>
|
</Grid>
|
|
|
</Grid>
|
</Border>
|
</Grid>
|
</Window>
|