|
|
|
|
@ -4,15 +4,26 @@
|
|
|
|
|
xmlns:local="clr-namespace:WhackerLinkConsoleV2.Controls"
|
|
|
|
|
Title="WhackerLinkConsoleV2" Height="600" Width="1000" Background="#FFF2F2F2">
|
|
|
|
|
<Grid Background="#FFF2F2F2">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="497*"/>
|
|
|
|
|
<ColumnDefinition Width="3*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="52" />
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Border BorderBrush="#FFDADADA" BorderThickness="1" Grid.Row="1" Background="#FFF2F2F2"/>
|
|
|
|
|
<Border BorderBrush="#FFB7B7B7" BorderThickness="1" Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
|
<Border.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="White"/>
|
|
|
|
|
<GradientStop Color="#FFDFDFDF" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Border.Background>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Menu VerticalAlignment="Center" Height="25" Background="White">
|
|
|
|
|
<Menu VerticalAlignment="Center" Height="25" Background="White" Grid.ColumnSpan="2">
|
|
|
|
|
<MenuItem Header="File">
|
|
|
|
|
<MenuItem Header="Open Codeplug" Click="OpenCodeplug_Click"/>
|
|
|
|
|
</MenuItem>
|
|
|
|
|
@ -31,11 +42,11 @@
|
|
|
|
|
</MenuItem>
|
|
|
|
|
</Menu>
|
|
|
|
|
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Grid.Row="2">
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Grid.Row="2" Grid.ColumnSpan="2">
|
|
|
|
|
<Canvas x:Name="ChannelsCanvas" Background="#FFF2F2F2" VerticalAlignment="Top"/>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
|
|
|
|
|
<Button Content="1" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="254,0,0,0" VerticalAlignment="Center" Height="46" Width="45" x:Name="btnAlert1" Click="btnAlert1_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button Content="1" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="369,0,0,0" VerticalAlignment="Center" Height="46" Width="45" x:Name="btnAlert1" Click="btnAlert1_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
@ -44,14 +55,51 @@
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFE3E3E3" Offset="0.517"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Height="26" Grid.Row="1" VerticalAlignment="Center" Width="160" Source="/whackerlink-logo.png" Margin="6,0,0,0" Stretch="Fill"/>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="259,3,0,3" Grid.Row="1" Width="37" Source="/alerttone.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598"/>
|
|
|
|
|
<Button Content="2" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="301,0,0,0" VerticalAlignment="Center" Height="46" Width="45" x:Name="btnAlert2" Click="btnAlert2_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Image HorizontalAlignment="Left" Height="50" Grid.Row="1" VerticalAlignment="Center" Width="231" Source="/Assets/WhackerLinkLogoV4.png" Stretch="UniformToFill" Margin="5,0,0,0" RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform/>
|
|
|
|
|
<SkewTransform AngleY="-0.164"/>
|
|
|
|
|
<RotateTransform/>
|
|
|
|
|
<TranslateTransform Y="-0.247"/>
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="374,3,0,3" Grid.Row="1" Width="37" Source="/Assets/alerttone2.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598"/>
|
|
|
|
|
<Button Content="2" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="416,0,0,0" VerticalAlignment="Center" Height="46" Width="45" x:Name="btnAlert2" Click="btnAlert2_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="421,3,0,3" Grid.Row="1" Width="37" Source="/Assets/alerttone2.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598"/>
|
|
|
|
|
<Button Content="3" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="463,0,0,0" VerticalAlignment="Center" x:Name="btnAlert3" Height="46" Width="45" Click="btnAlert3_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="468,3,0,3" Grid.Row="1" Width="37" Source="/Assets/alerttone2.png" IsHitTestVisible="False"/>
|
|
|
|
|
<Button VerticalContentAlignment="Bottom" HorizontalAlignment="Left" x:Name="btnGlobalPtt" VerticalAlignment="Center" Height="46" Width="82" Click="btnGlobalPtt_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial" Margin="285,0,0,0">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
@ -60,12 +108,34 @@
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFE3E3E3" Offset="0.517"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="306,2,0,5" Width="62" Source="/Assets/instantptt.png" IsHitTestVisible="False" Grid.Row="1" >
|
|
|
|
|
<Image.OpacityMask>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="Black"/>
|
|
|
|
|
<GradientStop Color="White" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Image.OpacityMask>
|
|
|
|
|
</Image>
|
|
|
|
|
<Button Content="" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="602,0,0,0" VerticalAlignment="Center" Height="46" Width="45" Click="ClearEmergency_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="306,3,0,3" Grid.Row="1" Width="37" Source="/alerttone.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598"/>
|
|
|
|
|
<Button Content="3" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="348,0,0,0" VerticalAlignment="Center" x:Name="btnAlert3" Height="46" Width="45" Click="btnAlert3_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="607,3,0,3" Grid.Row="1" Width="37" Source="/Assets/clearemerg.png" IsHitTestVisible="False"/>
|
|
|
|
|
<Button Content="" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="238,0,0,0" VerticalAlignment="Center" Height="46" Width="45" x:Name="OpenCodeplug_Click2" Click="OpenCodeplug_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
@ -74,12 +144,12 @@
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFE3E3E3" Offset="0.517"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="353,3,0,3" Grid.Row="1" Width="37" Source="/alerttone.png" IsHitTestVisible="False"/>
|
|
|
|
|
<Button VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="170,0,0,0" x:Name="btnGlobalPtt" VerticalAlignment="Center" Height="46" Width="82" Click="btnGlobalPtt_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="240,3,0,3" Grid.Row="1" Width="41" Source="pack://application:,,,/WhackerLinkConsoleV2;component/Assets/config2.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598"/>
|
|
|
|
|
<Button Content="" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="510,0,0,0" VerticalAlignment="Center" Height="46" Width="44" Click="P25Page_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
@ -88,12 +158,12 @@
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFE3E3E3" Offset="0.517"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="188,3,0,4" Width="63" Source="/Assets/instantptt.png" IsHitTestVisible="False" Grid.Row="1" />
|
|
|
|
|
<Button Content="" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="395,0,0,0" VerticalAlignment="Center" Height="46" Width="45" Click="ClearEmergency_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="514,3,0,3" Grid.Row="1" Width="38" Source="/Assets/page.png" IsHitTestVisible="False"/>
|
|
|
|
|
<Button Content="" VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="556,0,0,0" VerticalAlignment="Center" Height="46" Width="44" Click="AudioSettings_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
@ -102,10 +172,10 @@
|
|
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
<GradientStop Color="#FFE3E3E3" Offset="0.517"/>
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="400,3,0,3" Grid.Row="1" Width="37" Source="/clearemerg.png" IsHitTestVisible="False"/>
|
|
|
|
|
<Image HorizontalAlignment="Left" Margin="557,3,0,3" Grid.Row="1" Width="41" Source="/Assets/audio.png" IsHitTestVisible="False"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|
|
|
|
|
|