blob: 4e772e774776acfc66dc34f0ff531b97d9d8d461 (
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
|
<Window x:Class="Tango.PPC.WatchDog.MainWindow"
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:local="clr-namespace:Tango.PPC.WatchDog"
mc:Ignorable="d"
Title="Tango Watch Dog" Background="Transparent" AllowsTransparency="True" Height="250" Width="500" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize" Icon="/cat.png"
d:DataContext="{d:DesignInstance Type=local:MainWindowVM, IsDesignTimeCreatable=False}">
<Grid>
<Border Margin="10" BorderThickness="1" BorderBrush="DimGray">
<Border.Effect>
<DropShadowEffect ShadowDepth="0" BlurRadius="10" Color="Black" />
</Border.Effect>
<DockPanel>
<Border DockPanel.Dock="Top" BorderThickness="0 0 0 1" BorderBrush="Gainsboro" Background="#202020" Padding="10">
<DockPanel>
<Image Source="/cat.png" Stretch="Uniform" Height="32" RenderOptions.BitmapScalingMode="Fant" />
<TextBlock Margin="10 0 0 0" Foreground="Gainsboro" VerticalAlignment="Center">Tango Watch Dog</TextBlock>
<Button DockPanel.Dock="Right" Width="24" Height="24" HorizontalAlignment="Right" Cursor="Hand">
<Button.Template>
<ControlTemplate TargetType="Button">
<Image Source="/close.png" Width="12" Height="12"></Image>
</ControlTemplate>
</Button.Template>
</Button>
</DockPanel>
</Border>
<Grid Background="Gray">
</Grid>
</DockPanel>
</Border>
</Grid>
</Window>
|