99 lines
4.0 KiB
XML
99 lines
4.0 KiB
XML
<Window x:Class="wpf_ax_utility.AppUserWindow"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
dx:ThemeManager.ThemeName="None"
|
|
mc:Ignorable="d"
|
|
MouseLeftButtonDown="MouseLeftDrag"
|
|
Height="260" Width="400"
|
|
ResizeMode="NoResize"
|
|
WindowStyle="None"
|
|
WindowStartupLocation="CenterScreen"
|
|
AllowsTransparency="True"
|
|
Background="Transparent"
|
|
Title="PAL Ax Utility"
|
|
Icon="res/axlogo.ico">
|
|
|
|
<Window.Resources>
|
|
<Style TargetType="Button" x:Key="TabButton">
|
|
<Setter Property="Background" Value="White"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Style.Resources>
|
|
<Style TargetType="Border">
|
|
<Setter Property="CornerRadius" Value="3"/>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
</Window.Resources>
|
|
|
|
<Grid>
|
|
<Border BorderBrush="#0082C4" BorderThickness="1.5" CornerRadius="10" Background="White">
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto"/>
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<DockPanel>
|
|
<Border Height="25" Width="25" CornerRadius="5" Margin="4,3,0,0">
|
|
<Border.Background>
|
|
<ImageBrush Stretch="Fill" ImageSource="res/axlogo.ico"/>
|
|
</Border.Background>
|
|
</Border>
|
|
<TextBlock Margin="5,0,0,0" FontWeight="DemiBold" Text="PAL Ax Utility" VerticalAlignment="Center"/>
|
|
<Button Style="{StaticResource TabButton}"
|
|
Click="CloseButton"
|
|
Height="25" Width="25"
|
|
FontSize="18"
|
|
FontWeight="DemiBold"
|
|
Background="Transparent"
|
|
HorizontalAlignment="Right"
|
|
BorderBrush="{x:Null}"
|
|
Margin="0,3,3,0">
|
|
<TextBlock Text="x" Margin="0,-5,0,0"/>
|
|
</Button>
|
|
</DockPanel>
|
|
|
|
<GroupBox Margin="10,2,10,10"
|
|
VerticalAlignment="Stretch"
|
|
BorderBrush="LightGray"
|
|
BorderThickness="1"
|
|
Header="Ambienti"
|
|
Grid.Row="1">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition Height="60" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Button Style="{StaticResource TabButton}"
|
|
x:Name="LIVE"
|
|
Click="ButtonClicked"
|
|
Margin="5"
|
|
Content="LIVE"
|
|
FontSize="36"
|
|
Background="LightGray"/>
|
|
|
|
<Button Style="{StaticResource TabButton}"
|
|
x:Name="TEST"
|
|
Click="ButtonClicked"
|
|
Margin="5"
|
|
Content="TEST"
|
|
FontSize="18"
|
|
FontWeight="DemiBold"
|
|
Background="#8080FF"
|
|
Grid.Row="2"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Window>
|