|
|
|
@ -2,35 +2,29 @@
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:local="clr-namespace:dvmconsole.Controls"
|
|
|
|
xmlns:local="clr-namespace:dvmconsole.Controls"
|
|
|
|
Title="Digital Voice Modem - Desktop Dispatch Console" Height="600" Width="875" Background="#FFF2F2F2"
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
|
|
|
|
Title="Digital Voice Modem - Desktop Dispatch Console" Height="600" Width="1024"
|
|
|
|
|
|
|
|
TextElement.Foreground="{DynamicResource MaterialDesignBody}" TextElement.FontWeight="Regular" TextElement.FontSize="13"
|
|
|
|
|
|
|
|
Style="{StaticResource MaterialDesignWindow}" Background="{DynamicResource MaterialDesignPaper}" FontFamily="{DynamicResource MaterialDesignFont}"
|
|
|
|
Icon="/dvmconsole;component/Assets/AppIcon.ico">
|
|
|
|
Icon="/dvmconsole;component/Assets/AppIcon.ico">
|
|
|
|
<Grid Background="#FFF2F2F2">
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="497*"/>
|
|
|
|
<ColumnDefinition Width="497*"/>
|
|
|
|
<ColumnDefinition Width="3*"/>
|
|
|
|
<ColumnDefinition Width="3*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="24"/>
|
|
|
|
<RowDefinition Height="52" />
|
|
|
|
<RowDefinition Height="52" />
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
<Border BorderBrush="#FFB7B7B7" BorderThickness="1" Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
<Menu materialDesign:MenuAssist.TopLevelMenuItemHeight="24" Grid.ColumnSpan="2">
|
|
|
|
<Border.Background>
|
|
|
|
<MenuItem Header="_File">
|
|
|
|
<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" Grid.ColumnSpan="2">
|
|
|
|
|
|
|
|
<MenuItem Header="File">
|
|
|
|
|
|
|
|
<MenuItem Header="_Open Codeplug..." Click="OpenCodeplug_Click" />
|
|
|
|
<MenuItem Header="_Open Codeplug..." Click="OpenCodeplug_Click" />
|
|
|
|
<Separator />
|
|
|
|
<Separator />
|
|
|
|
<MenuItem Header="_Exit" Click="Exit_Click" />
|
|
|
|
<MenuItem Header="_Exit" Click="Exit_Click" />
|
|
|
|
</MenuItem>
|
|
|
|
</MenuItem>
|
|
|
|
<MenuItem Header="Commands">
|
|
|
|
<MenuItem Header="_Commands">
|
|
|
|
<MenuItem Header="_Page Subscriber" Click="PageRID_Click" x:Name="menuPageSubscriber" />
|
|
|
|
<MenuItem Header="_Page Subscriber" Click="PageRID_Click" x:Name="menuPageSubscriber" />
|
|
|
|
<MenuItem Header="Radio _Check Subscriber" Click="RadioCheckRID_Click" x:Name="menuRadioCheckSubscriber" />
|
|
|
|
<MenuItem Header="Radio _Check Subscriber" Click="RadioCheckRID_Click" x:Name="menuRadioCheckSubscriber" />
|
|
|
|
<Separator />
|
|
|
|
<Separator />
|
|
|
|
@ -39,7 +33,7 @@
|
|
|
|
<Separator />
|
|
|
|
<Separator />
|
|
|
|
<MenuItem Header="_QuickCall II" Click="ManualPage_Click" x:Name="menuQuickCall2" />
|
|
|
|
<MenuItem Header="_QuickCall II" Click="ManualPage_Click" x:Name="menuQuickCall2" />
|
|
|
|
</MenuItem>
|
|
|
|
</MenuItem>
|
|
|
|
<MenuItem Header="Settings">
|
|
|
|
<MenuItem Header="_Settings">
|
|
|
|
<MenuItem Header="_Toggle Push To Talk Mode" IsCheckable="True" Checked="TogglePTTMode_Click" Unchecked="TogglePTTMode_Click" x:Name="menuTogglePTTMode" />
|
|
|
|
<MenuItem Header="_Toggle Push To Talk Mode" IsCheckable="True" Checked="TogglePTTMode_Click" Unchecked="TogglePTTMode_Click" x:Name="menuTogglePTTMode" />
|
|
|
|
<Separator />
|
|
|
|
<Separator />
|
|
|
|
<MenuItem Header="_Audio Settings" Click="AudioSettings_Click" />
|
|
|
|
<MenuItem Header="_Audio Settings" Click="AudioSettings_Click" />
|
|
|
|
@ -51,7 +45,7 @@
|
|
|
|
<MenuItem Header="Add Alert Tone" Click="AddAlertTone_Click" />
|
|
|
|
<MenuItem Header="Add Alert Tone" Click="AddAlertTone_Click" />
|
|
|
|
</MenuItem>
|
|
|
|
</MenuItem>
|
|
|
|
</MenuItem>
|
|
|
|
</MenuItem>
|
|
|
|
<MenuItem Header="View">
|
|
|
|
<MenuItem Header="_View">
|
|
|
|
<MenuItem Header="Select _User Background..." Click="OpenUserBackground_Click" x:Name="menuUserBackground" />
|
|
|
|
<MenuItem Header="Select _User Background..." Click="OpenUserBackground_Click" x:Name="menuUserBackground" />
|
|
|
|
<Separator />
|
|
|
|
<Separator />
|
|
|
|
<MenuItem Header="_Dark Mode" IsCheckable="True" Checked="ToggleDarkMode_Click" Unchecked="ToggleDarkMode_Click" x:Name="menuDarkMode" />
|
|
|
|
<MenuItem Header="_Dark Mode" IsCheckable="True" Checked="ToggleDarkMode_Click" Unchecked="ToggleDarkMode_Click" x:Name="menuDarkMode" />
|
|
|
|
@ -62,434 +56,117 @@
|
|
|
|
</MenuItem>
|
|
|
|
</MenuItem>
|
|
|
|
</Menu>
|
|
|
|
</Menu>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Channel Widget Canvas -->
|
|
|
|
<ToolBarTray Grid.Row="1">
|
|
|
|
<ScrollViewer x:Name="canvasScrollViewer" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Grid.Row="2" Grid.ColumnSpan="2">
|
|
|
|
<ToolBar ClipToBounds="False" Style="{StaticResource MaterialDesignToolBar}">
|
|
|
|
<Canvas x:Name="channelsCanvas" VerticalAlignment="Top">
|
|
|
|
<!-- Application Banner -->
|
|
|
|
<Canvas.Background>
|
|
|
|
<Image Width="224" Height="50" VerticalAlignment="Center" HorizontalAlignment="Left" Source="/dvmconsole;component/Assets/logo.png" Stretch="UniformToFill">
|
|
|
|
<ImageBrush x:Name="channelsCanvasBg" ImageSource="/dvmconsole;component/Assets/bg_main_hd_light.png" Stretch="UniformToFill" />
|
|
|
|
<Image.RenderTransform>
|
|
|
|
</Canvas.Background>
|
|
|
|
<TransformGroup>
|
|
|
|
</Canvas>
|
|
|
|
<ScaleTransform/>
|
|
|
|
</ScrollViewer>
|
|
|
|
<SkewTransform AngleY="-0.164"/>
|
|
|
|
|
|
|
|
<RotateTransform/>
|
|
|
|
|
|
|
|
<TranslateTransform Y="-0.247"/>
|
|
|
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Application Banner -->
|
|
|
|
<Separator />
|
|
|
|
<Image Height="50" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Source="/dvmconsole;component/Assets/logo.png" Stretch="UniformToFill" Margin="5,0,0,0" RenderTransformOrigin="0.5,0.5" Width="224">
|
|
|
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
|
|
|
<ScaleTransform/>
|
|
|
|
|
|
|
|
<SkewTransform AngleY="-0.164"/>
|
|
|
|
|
|
|
|
<RotateTransform/>
|
|
|
|
|
|
|
|
<TranslateTransform Y="-0.247"/>
|
|
|
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Open Codeplug -->
|
|
|
|
<!-- Open Codeplug -->
|
|
|
|
<Button VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="238,0,0,0" VerticalAlignment="Center" Height="46" Width="45" Click="OpenCodeplug_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial"
|
|
|
|
<Button Height="42" Width="42" Click="OpenCodeplug_Click" ToolTip="Open Codeplug" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
ToolTip="Open Codeplug">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<Button.Style>
|
|
|
|
<Image HorizontalAlignment="Left" VerticalAlignment="Center" Width="32" Height="32" Source="/dvmconsole;component/Assets/config.png" IsHitTestVisible="False" />
|
|
|
|
<Style TargetType="Button">
|
|
|
|
</Button>
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="41" Source="/dvmconsole;component/Assets/config.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Global PTT -->
|
|
|
|
<Separator />
|
|
|
|
<Button VerticalContentAlignment="Bottom" HorizontalAlignment="Left" x:Name="btnGlobalPtt" VerticalAlignment="Center" Height="46" Width="82" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial" Margin="285,0,0,0"
|
|
|
|
|
|
|
|
ToolTip="Global PTT">
|
|
|
|
|
|
|
|
<Button.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Center" Width="62" Source="/dvmconsole;component/Assets/instantptt.png" IsHitTestVisible="False" Height="45" >
|
|
|
|
|
|
|
|
<Image.OpacityMask>
|
|
|
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
|
|
|
<GradientStop Color="Black"/>
|
|
|
|
|
|
|
|
<GradientStop Color="White" Offset="1"/>
|
|
|
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
|
|
|
</Image.OpacityMask>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Alert Tone 1, 2 and 3 -->
|
|
|
|
<!-- Global PTT -->
|
|
|
|
<Button 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 x:Name="btnGlobalPtt" Height="42" Width="110" ToolTip="Global PTT" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
ToolTip="Alert Tone 1">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<Button.Style>
|
|
|
|
<Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="64" Height="48" Source="/dvmconsole;component/Assets/instantptt.png" IsHitTestVisible="False">
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Image.OpacityMask>
|
|
|
|
<Setter Property="Template">
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
<Setter.Value>
|
|
|
|
<GradientStop Color="Black"/>
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
<GradientStop Color="White" Offset="1"/>
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
</LinearGradientBrush>
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
</Image.OpacityMask>
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
</Image>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Center" Width="37" Source="/dvmconsole;component/Assets/alerttone.png" IsHitTestVisible="False" Height="32"/>
|
|
|
|
|
|
|
|
<TextBlock TextAlignment="Center">1</TextBlock>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
<Button 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"
|
|
|
|
|
|
|
|
ToolTip="Alert Tone 2">
|
|
|
|
|
|
|
|
<Button.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Center" Width="37" Source="/dvmconsole;component/Assets/alerttone.png" IsHitTestVisible="False" Height="32"/>
|
|
|
|
|
|
|
|
<TextBlock TextAlignment="Center">2</TextBlock>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
<Button 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"
|
|
|
|
|
|
|
|
ToolTip="Alert Tone 3">
|
|
|
|
|
|
|
|
<Button.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Center" Width="37" Source="/dvmconsole;component/Assets/alerttone.png" IsHitTestVisible="False" Height="32"/>
|
|
|
|
|
|
|
|
<TextBlock TextAlignment="Center">3</TextBlock>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Page Subscriber -->
|
|
|
|
<Separator />
|
|
|
|
<Button VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="510,0,0,0" VerticalAlignment="Center" Height="46" Width="44" x:Name="btnPageSub" Click="PageRID_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial"
|
|
|
|
|
|
|
|
ToolTip="Page Subscriber">
|
|
|
|
|
|
|
|
<Button.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="38" Source="/dvmconsole;component/Assets/page.png" IsHitTestVisible="False" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Clear Emergency (disabled) -->
|
|
|
|
<!-- Alert Tone 1, 2 and 3 -->
|
|
|
|
<Button VerticalContentAlignment="Bottom" HorizontalAlignment="Left" Margin="559,0,0,0" VerticalAlignment="Center" Height="46" Width="45" x:Name="btnClearEmergency" Click="ClearEmergency_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial"
|
|
|
|
<Button x:Name="btnAlert1" Height="42" Width="42" Click="btnAlert1_Click" FontSize="10" FontFamily="Arial" ToolTip="Alert Tone 1" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
ToolTip="Clear Emergency" Visibility="Hidden">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<Button.Style>
|
|
|
|
<StackPanel Width="42">
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Image HorizontalAlignment="Center" Width="32" Height="30" Source="/dvmconsole;component/Assets/alerttone.png" IsHitTestVisible="False" />
|
|
|
|
<Setter Property="Template">
|
|
|
|
<TextBlock TextAlignment="Center">1</TextBlock>
|
|
|
|
<Setter.Value>
|
|
|
|
</StackPanel>
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
</Button>
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
<Button x:Name="btnAlert2" Height="42" Width="42" Click="btnAlert2_Click" FontSize="10" FontFamily="Arial" ToolTip="Alert Tone 2" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
<StackPanel Width="42">
|
|
|
|
</Border>
|
|
|
|
<Image HorizontalAlignment="Center" Width="32" Height="30" Source="/dvmconsole;component/Assets/alerttone.png" IsHitTestVisible="False" />
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
<TextBlock TextAlignment="Center">2</TextBlock>
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
</StackPanel>
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
</Button>
|
|
|
|
</Trigger>
|
|
|
|
<Button x:Name="btnAlert3" Height="42" Width="42" Click="btnAlert3_Click" FontSize="10" FontFamily="Arial" ToolTip="Alert Tone 3" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
</ControlTemplate>
|
|
|
|
<StackPanel Width="42">
|
|
|
|
</Setter.Value>
|
|
|
|
<Image HorizontalAlignment="Center" Width="32" Height="30" Source="/dvmconsole;component/Assets/alerttone.png" IsHitTestVisible="False" />
|
|
|
|
</Setter>
|
|
|
|
<TextBlock TextAlignment="Center">3</TextBlock>
|
|
|
|
</Style>
|
|
|
|
</StackPanel>
|
|
|
|
</Button.Style>
|
|
|
|
</Button>
|
|
|
|
<Button.Resources>
|
|
|
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button.Background>
|
|
|
|
<Separator />
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
|
|
|
</Button.Background>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="37" Source="/dvmconsole;component/Assets/clearemerg.png" IsHitTestVisible="False" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Select/Unselect All -->
|
|
|
|
<!-- Page Subscriber -->
|
|
|
|
<Button VerticalContentAlignment="Center" HorizontalAlignment="Left" Margin="609,0,0,0" VerticalAlignment="Center" Height="46" x:Name="btnSelectAll" Click="SelectAll_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" FontSize="10" FontFamily="Arial" Grid.Row="1"
|
|
|
|
<Button x:Name="btnPageSub" Height="42" Width="42" Click="PageRID_Click" ToolTip="Page Subscriber" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
ToolTip="Select All/Unselect All">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<Button.Style>
|
|
|
|
<Image HorizontalAlignment="Left" VerticalAlignment="Center" Width="32" Height="32" Source="/dvmconsole;component/Assets/page.png" IsHitTestVisible="False" />
|
|
|
|
<Style TargetType="Button">
|
|
|
|
</Button>
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="41" Source="/dvmconsole;component/Assets/select.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Encryption Key Information -->
|
|
|
|
<Separator />
|
|
|
|
<Button VerticalContentAlignment="Center" HorizontalAlignment="Left" Margin="656,0,0,0" VerticalAlignment="Center" Height="46" Width="44" x:Name="btnKeyStatus" Click="KeyStatus_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" FontSize="10" FontFamily="Arial" Grid.Row="1"
|
|
|
|
|
|
|
|
ToolTip="Encryption Key Information">
|
|
|
|
<!-- Select/Unselect All -->
|
|
|
|
<Button.Style>
|
|
|
|
<Button x:Name="btnSelectAll" Height="42" Width="42" Click="SelectAll_Click" ToolTip="Select All/Unselect All" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
<Style TargetType="Button">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<Setter Property="Template">
|
|
|
|
<Image HorizontalAlignment="Left" VerticalAlignment="Center" Width="32" Height="32" Source="/dvmconsole;component/Assets/select.png" IsHitTestVisible="False" />
|
|
|
|
<Setter.Value>
|
|
|
|
</Button>
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="41" Source="/dvmconsole;component/Assets/key.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Call History -->
|
|
|
|
<Separator />
|
|
|
|
<Button VerticalContentAlignment="Center" HorizontalAlignment="Left" Margin="703,0,0,0" VerticalAlignment="Center" Height="46" Width="44" x:Name="btnCallHistory" Click="CallHist_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" FontSize="10" FontFamily="Arial" Grid.Row="1"
|
|
|
|
|
|
|
|
ToolTip="Call History">
|
|
|
|
|
|
|
|
<Button.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Button.Style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="41" Source="/dvmconsole;component/Assets/history.png" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.598" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Audio Settings -->
|
|
|
|
<!-- Encryption Key Information -->
|
|
|
|
<Button VerticalContentAlignment="Bottom" VerticalAlignment="Center" Height="46" x:Name="btnAudioSettings" Click="AudioSettings_Click" BorderBrush="#FFC1C1C1" BorderThickness="1,1,1,1" Grid.Row="1" FontSize="10" FontFamily="Arial"
|
|
|
|
<Button x:Name="btnKeyStatus" Height="42" Width="42" Click="KeyStatus_Click" ToolTip="Encryption Key Information" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
ToolTip="Audio Settings" HorizontalAlignment="Left" Width="54" Margin="800,0,0,0">
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
<Button.Style>
|
|
|
|
<Image HorizontalAlignment="Left" VerticalAlignment="Center" Width="32" Height="32" Source="/dvmconsole;component/Assets/key.png" IsHitTestVisible="False" />
|
|
|
|
<Style TargetType="Button">
|
|
|
|
</Button>
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
<Separator />
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
|
|
|
<Border x:Name="OpenCodeplugBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
<!-- Call History -->
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
|
|
<Button x:Name="btnCallHistory" Height="42" Width="42" Click="CallHist_Click" ToolTip="Call History" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
</Border>
|
|
|
|
<Image HorizontalAlignment="Left" VerticalAlignment="Center" Width="32" Height="32" Source="/dvmconsole;component/Assets/history.png" IsHitTestVisible="False" />
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
</Button>
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
|
|
|
<Setter TargetName="OpenCodeplugBorder" Property="BorderBrush" Value="#FF0AC6FB"/>
|
|
|
|
<Separator />
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
<!-- Audio Settings -->
|
|
|
|
</ControlTemplate>
|
|
|
|
<Button x:Name="btnAudioSettings" Height="42" Width="42" Click="AudioSettings_Click" ToolTip="Audio Settings" materialDesign:ButtonAssist.CornerRadius="5" Padding="0"
|
|
|
|
</Setter.Value>
|
|
|
|
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}" Style="{StaticResource MaterialDesignPaperDarkButton}">
|
|
|
|
</Setter>
|
|
|
|
<Image HorizontalAlignment="Left" VerticalAlignment="Center" Width="32" Height="32" Source="/dvmconsole;component/Assets/audio.png" IsHitTestVisible="False" />
|
|
|
|
</Style>
|
|
|
|
</Button>
|
|
|
|
</Button.Style>
|
|
|
|
</ToolBar>
|
|
|
|
<Button.Resources>
|
|
|
|
</ToolBarTray>
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
|
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
|
|
<!-- Channel Widget Canvas -->
|
|
|
|
</Style>
|
|
|
|
<ScrollViewer x:Name="canvasScrollViewer" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Grid.Row="3" Grid.ColumnSpan="2">
|
|
|
|
</Button.Resources>
|
|
|
|
<Canvas x:Name="channelsCanvas" VerticalAlignment="Top">
|
|
|
|
<Button.Background>
|
|
|
|
<Canvas.Background>
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
<ImageBrush x:Name="channelsCanvasBg" ImageSource="/dvmconsole;component/Assets/bg_main_hd_light.png" Stretch="UniformToFill" />
|
|
|
|
<GradientStop Color="#FFF0F0F0" Offset="0.485"/>
|
|
|
|
</Canvas.Background>
|
|
|
|
<GradientStop Color="#FFDBDBDB" Offset="0.517"/>
|
|
|
|
</Canvas>
|
|
|
|
</LinearGradientBrush>
|
|
|
|
</ScrollViewer>
|
|
|
|
</Button.Background>
|
|
|
|
|
|
|
|
<Image HorizontalAlignment="Left" Width="42" Source="/dvmconsole;component/Assets/audio.png" IsHitTestVisible="False" Height="46"/>
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Window>
|
|
|
|
</Window>
|
|
|
|
|