<Window x:Class="Wireless_Power_Meter_GUI.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" WindowState="Maximized" WindowStyle="None"
        Background="Black" Closing="Window_Closing">
    <Window.Resources>
        <LinearGradientBrush x:Key="redGreenGradient" StartPoint="0, 0" EndPoint="0, 1">
            <GradientStop Color="Red" Offset="0" />
            <GradientStop Color="Green" Offset="1" />
        </LinearGradientBrush>
    </Window.Resources>
    <Window.Triggers>
        
    </Window.Triggers>
    <Viewbox Stretch="Uniform">
        <DockPanel Width="1280px" Height="720">
            <StackPanel DockPanel.Dock="Left" Orientation="Vertical" VerticalAlignment="Center" Margin="50px 0 0 0">
                <Border CornerRadius="10" x:Name="Up" Width="120px" Height="120px" Margin="55px" Background="Transparent" BorderThickness="3" BorderBrush="#202020" Padding="10">
                    <Image Source="img/Up_64x64.png"/>
                </Border>
                <Border CornerRadius="10" x:Name="Down" Width="120px" Height="120px" Margin="55px" Background="Transparent"  BorderThickness="3" BorderBrush="#202020" Padding="10">
                    <Image Source="img/Down_64x64.png"/>
                </Border>
                <Border CornerRadius="10" x:Name="Lamp" Width="120px" Height="120px"  Margin="55px" Background="Transparent" BorderThickness="3" BorderBrush="#202020" Padding="10">
                    <Image x:Name="lampImg" Source="{Binding LampBitmap}"/>
                </Border>
            </StackPanel>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                <Grid VerticalAlignment="Top">
                    <Rectangle x:Name="FullBar" Margin="0" Width="150" Height="580" Fill="{StaticResource redGreenGradient}" StrokeThickness="1" Stroke="LightGray">
                    </Rectangle>
                    <Rectangle x:Name="BarHeight" Margin="0,1,0,0" Width="148" Height="578" Fill="Black" VerticalAlignment="Top">
                    </Rectangle>
                </Grid>
                <Label x:Name="powerLabel" Foreground="White" FontFamily="Courier New" FontWeight="Bold" FontSize="105px" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center"  Width="500px" Height="250px" Margin="150px 0px 0px 0px" Background="Black" BorderBrush="Transparent">
                    60 Watt
                </Label>
            </StackPanel>
        </DockPanel>
    </Viewbox>
</Window>
