71 lines
4.3 KiB
XML

<Window x:Class="Starlink_Desktop_Monitor.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:Starlink_Desktop_Monitor"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel Orientation="Vertical" Margin="5,0,5,0">
<Grid x:Name="DownloadGrid" Height="200" Width="200">
<Grid>
<Grid x:Name="BlackObscure" Height="134" Width="200" HorizontalAlignment="Right" VerticalAlignment="Top">
<Ellipse x:Name="BaseRing_Black" Height="200" Stroke="Black" Width="200" StrokeThickness="5" HorizontalAlignment="Right"/>
</Grid>
</Grid>
<Grid HorizontalAlignment="Center" Height="200" VerticalAlignment="Center" Width="200" RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="0"/>
<TranslateTransform/>
</TransformGroup>
</Grid.RenderTransform>
<Grid x:Name="RedObscure" HorizontalAlignment="Right" VerticalAlignment="Top" Width="54" Height="136">
<Ellipse x:Name="BaseRing_Red" HorizontalAlignment="Right" Height="200" Stroke="Red" VerticalAlignment="Top" Width="200" StrokeThickness="5"/>
</Grid>
</Grid>
<Rectangle x:Name="NeedleDL" HorizontalAlignment="Center" Height="5" VerticalAlignment="Center" Width="100" StrokeThickness="0" Fill="#99313131" RenderTransformOrigin="1,0.5" Margin="0,0,100,0">
<Rectangle.RenderTransform>
<RotateTransform Angle="-20"/>
</Rectangle.RenderTransform>
</Rectangle>
</Grid>
<TextBlock TextWrapping="Wrap" Text="Download" HorizontalAlignment="Center"/>
<TextBlock x:Name="DL_TextRate" TextWrapping="Wrap" Text="0 MB/s" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</StackPanel>
<StackPanel Orientation="Vertical" Margin="5,0,5,0">
<Grid x:Name="UploadGrid" Height="200" Width="200">
<Grid>
<Grid x:Name="BlackObscure1" Height="134" Width="200" HorizontalAlignment="Right" VerticalAlignment="Top">
<Ellipse x:Name="BaseRing_Black1" Height="200" Stroke="Black" Width="200" StrokeThickness="5" HorizontalAlignment="Right"/>
</Grid>
</Grid>
<Grid HorizontalAlignment="Center" Height="200" VerticalAlignment="Center" Width="200">
<Grid x:Name="RedObscure1" HorizontalAlignment="Right" VerticalAlignment="Top" Width="54" Height="136">
<Ellipse x:Name="BaseRing_Red1" HorizontalAlignment="Right" Height="200" Stroke="Red" VerticalAlignment="Top" Width="200" StrokeThickness="5"/>
</Grid>
</Grid>
<Rectangle x:Name="NeedleUL" HorizontalAlignment="Left" Height="5" VerticalAlignment="Center" Width="100" StrokeThickness="0" Fill="#99313131" RenderTransformOrigin="1,0.5">
<Rectangle.RenderTransform>
<RotateTransform Angle="-20"/>
</Rectangle.RenderTransform>
</Rectangle>
</Grid>
<TextBlock TextWrapping="Wrap" Text="Upload" HorizontalAlignment="Center"/>
<TextBlock x:Name="UL_TextRate" TextWrapping="Wrap" Text="0 MB/s" HorizontalAlignment="Center"/>
</StackPanel>
</StackPanel>
</Grid>
</Window>