initial
This commit is contained in:
668
MainWindow.xaml
Normal file
668
MainWindow.xaml
Normal file
@@ -0,0 +1,668 @@
|
||||
<Window x:Name="Window"
|
||||
x:Class="C4IT_CustomerPanel.MainWindow"
|
||||
xmlns:resx="clr-namespace:C4IT_CustomerPanel.Properties"
|
||||
xmlns:uctrl="clr-namespace:C4IT_CustomerPanel.UserControls"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Customer Panel"
|
||||
Height="650"
|
||||
Width="500"
|
||||
ShowInTaskbar="False"
|
||||
WindowStyle="None"
|
||||
AllowsTransparency="False"
|
||||
ResizeMode="NoResize"
|
||||
Background="Transparent"
|
||||
Loaded="Window_Loaded"
|
||||
Icon="Resources/icons/logo_CustomerPanel.ico"
|
||||
KeyDown="App_KeyDown"
|
||||
Closed="Window_Closed"
|
||||
SizeChanged="Window_SizeChanged">
|
||||
<Window.Resources>
|
||||
|
||||
<Style x:Key="ScrollBarTrackThumb"
|
||||
TargetType="{x:Type Thumb}">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Thumb}">
|
||||
<Grid x:Name="Grid">
|
||||
<Rectangle HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
Fill="Transparent" />
|
||||
<Border x:Name="CornerScrollBarRectangle"
|
||||
CornerRadius="0"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
Margin="0,1,0,1"
|
||||
Background="#FF7C7777" />
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="Tag"
|
||||
Value="Horizontal">
|
||||
<Setter TargetName="CornerScrollBarRectangle"
|
||||
Property="Width"
|
||||
Value="Auto" />
|
||||
<Setter TargetName="CornerScrollBarRectangle"
|
||||
Property="Height"
|
||||
Value="6" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style TargetType="{x:Type ScrollBar}">
|
||||
<Setter Property="Stylus.IsFlicksEnabled"
|
||||
Value="false" />
|
||||
<Setter Property="Foreground"
|
||||
Value="#ADABAB" />
|
||||
<Setter Property="Background"
|
||||
Value="Transparent" />
|
||||
<Setter Property="Width"
|
||||
Value="7" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ScrollBar}">
|
||||
<Grid x:Name="GridRoot"
|
||||
Width="10"
|
||||
Background="{TemplateBinding Background}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.00001*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Track x:Name="PART_Track"
|
||||
Grid.Row="0"
|
||||
IsDirectionReversed="true"
|
||||
Focusable="false">
|
||||
<Track.Thumb>
|
||||
<Thumb x:Name="Thumb"
|
||||
Background="{TemplateBinding Foreground}"
|
||||
Style="{DynamicResource ScrollBarTrackThumb}" />
|
||||
</Track.Thumb>
|
||||
<Track.IncreaseRepeatButton>
|
||||
<RepeatButton x:Name="PageUp"
|
||||
Command="ScrollBar.PageDownCommand"
|
||||
Opacity="0"
|
||||
Focusable="false" />
|
||||
</Track.IncreaseRepeatButton>
|
||||
<Track.DecreaseRepeatButton>
|
||||
<RepeatButton x:Name="PageDown"
|
||||
Command="ScrollBar.PageUpCommand"
|
||||
Opacity="0"
|
||||
Focusable="false" />
|
||||
</Track.DecreaseRepeatButton>
|
||||
</Track>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger SourceName="Thumb"
|
||||
Property="IsMouseOver"
|
||||
Value="true">
|
||||
</Trigger>
|
||||
<Trigger SourceName="Thumb"
|
||||
Property="IsDragging"
|
||||
Value="true">
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled"
|
||||
Value="false">
|
||||
<Setter TargetName="Thumb"
|
||||
Property="Visibility"
|
||||
Value="Collapsed" />
|
||||
</Trigger>
|
||||
<Trigger Property="Orientation"
|
||||
Value="Horizontal">
|
||||
<Setter TargetName="GridRoot"
|
||||
Property="LayoutTransform">
|
||||
<Setter.Value>
|
||||
<RotateTransform Angle="-90" />
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter TargetName="PART_Track"
|
||||
Property="LayoutTransform">
|
||||
<Setter.Value>
|
||||
<RotateTransform Angle="-90" />
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="Width"
|
||||
Value="Auto" />
|
||||
<Setter Property="Height"
|
||||
Value="8" />
|
||||
<Setter TargetName="Thumb"
|
||||
Property="Tag"
|
||||
Value="Horizontal" />
|
||||
<Setter TargetName="PageDown"
|
||||
Property="Command"
|
||||
Value="ScrollBar.PageLeftCommand" />
|
||||
<Setter TargetName="PageUp"
|
||||
Property="Command"
|
||||
Value="ScrollBar.PageRightCommand" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<SolidColorBrush x:Key="ClrPrimary"
|
||||
Color="#FF2A75B4" />
|
||||
<Style TargetType="Button"
|
||||
x:Key="ButtonStyle">
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource navForeground}" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource inactiveButtonColor}" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border Background="{TemplateBinding Background}">
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsMouseOver"
|
||||
Value="True">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource activeButtonColor}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<Style TargetType="Button"
|
||||
x:Key="FlatButtonStyle2">
|
||||
<Setter Property="FontSize"
|
||||
Value="18" />
|
||||
<Setter Property="Height"
|
||||
Value="60" />
|
||||
<Setter Property="Panel.ZIndex"
|
||||
Value="50"></Setter>
|
||||
<EventSetter Event="PreviewMouseDown"
|
||||
Handler="Button_MouseDown" />
|
||||
<EventSetter Event="MouseEnter"
|
||||
Handler="Button_MouseEnter" />
|
||||
<EventSetter Event="MouseLeave"
|
||||
Handler="Button_MouseLeave" />
|
||||
<EventSetter Event="Loaded"
|
||||
Handler="Button_Loaded" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource inactiveButtonColor}" />
|
||||
</Style>
|
||||
<Style TargetType="ProgressBar"
|
||||
x:Key="FlatProgressBar">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="Button">
|
||||
<TextBox x:Name="test">
|
||||
</TextBox>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style TargetType="Image"
|
||||
x:Key="ImageStyle" />
|
||||
|
||||
<DrawingImage x:Key="OverlayOffline">
|
||||
<DrawingImage.Drawing>
|
||||
<ImageDrawing Rect="0,0,16,16"
|
||||
ImageSource="/Resources/StateOverlays/OverlayOffline_15.png" />
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
</Window.Resources>
|
||||
|
||||
<Window.TaskbarItemInfo>
|
||||
<TaskbarItemInfo />
|
||||
</Window.TaskbarItemInfo>
|
||||
|
||||
<Grid x:Name="MainGrid">
|
||||
<DockPanel Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
x:Name="MainDock">
|
||||
<Grid DockPanel.Dock="Top"
|
||||
x:Name="GridTop"
|
||||
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="0"
|
||||
Background="{DynamicResource headerColor}"
|
||||
Height="60"
|
||||
MouseDown="GridTop_MouseDown"
|
||||
MouseUp="GridTop_MouseUp">
|
||||
<Image Source="Resources/consulting4it-header1.png"
|
||||
Panel.ZIndex="55"
|
||||
Height="50"
|
||||
Width="175"
|
||||
VerticalAlignment="Top"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="5,5,0,0"
|
||||
x:Name="Logo" />
|
||||
<TextBlock x:Name="Close_Text"
|
||||
MouseDown="OnMinimizeClicked"
|
||||
HorizontalAlignment="Right"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
Margin="0,-5,5,0"
|
||||
Cursor="Hand"
|
||||
Panel.ZIndex="500"><Run Text="X" /></TextBlock>
|
||||
<Image x:Name="RefreshIcon"
|
||||
Source="{DynamicResource nav_appbar_refresh}"
|
||||
Tag="ICO"
|
||||
Panel.ZIndex="500"
|
||||
HorizontalAlignment="Right"
|
||||
Width="32"
|
||||
Height="32"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,-5,25,0"
|
||||
MouseDown="OnRefreshClicked"
|
||||
Cursor="Hand" />
|
||||
<!--<TextBlock MouseDown="OnCloseClicked" HorizontalAlignment="Right" FontSize="20" FontWeight="Bold" Margin="0,-5,5,0" Cursor="Hand" Panel.ZIndex="500" >X</TextBlock>-->
|
||||
<Image Source="Resources/icons/light/appbar.network.server.disconnect.png"
|
||||
Tag="ICO"
|
||||
x:Name="ConnProblem"
|
||||
Visibility="Visible" />
|
||||
<Image Source="Resources/icons/light/appbar.network.server.connecting.png"
|
||||
Tag="ICO"
|
||||
x:Name="Connecting"
|
||||
Visibility="Visible">
|
||||
<Image.Style>
|
||||
<Style>
|
||||
<Style.Triggers>
|
||||
<EventTrigger RoutedEvent="Image.Loaded">
|
||||
<BeginStoryboard>
|
||||
<Storyboard>
|
||||
<DoubleAnimation Storyboard.TargetProperty="(Image.Opacity)"
|
||||
BeginTime="0:0:0"
|
||||
Duration="0:0:0.75"
|
||||
From="1.5"
|
||||
To="0.0"
|
||||
RepeatBehavior="Forever"
|
||||
AutoReverse="True" />
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</EventTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</Image.Style>
|
||||
</Image>
|
||||
<Border Visibility="Hidden"
|
||||
Opacity="1"
|
||||
x:Name="TopAbstract"
|
||||
BorderThickness="0"
|
||||
BorderBrush="Gray"
|
||||
CornerRadius="0,0,0,0"
|
||||
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}">
|
||||
<Border.Background>
|
||||
<ImageBrush ImageSource="Resources/top_cp.png"
|
||||
Stretch="UniformToFill" />
|
||||
</Border.Background>
|
||||
</Border>
|
||||
</Grid>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Width="75"
|
||||
DockPanel.Dock="Top"
|
||||
ClipToBounds="false"
|
||||
x:Name="btnSP"
|
||||
HorizontalAlignment="Left">
|
||||
<Canvas ClipToBounds="false"
|
||||
Panel.ZIndex="1000"
|
||||
Margin="0,0,0,0"
|
||||
VerticalAlignment="Top"
|
||||
HorizontalAlignment="Left"
|
||||
Height="620"
|
||||
Width="75">
|
||||
<Button Visibility="Hidden"
|
||||
x:Name="BtnBack"
|
||||
Tag="100"
|
||||
Canvas.Top="0"
|
||||
Canvas.Left="-1"
|
||||
Width="70"
|
||||
Height="50"
|
||||
BorderThickness="0"
|
||||
Style="{StaticResource FlatButtonStyle2}"
|
||||
Panel.ZIndex="1000">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Canvas ClipToBounds="False"
|
||||
Background="{Binding Background, ElementName=BtnBack}">
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Canvas>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="Transparent"
|
||||
ClipToBounds="false"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Width="70">
|
||||
<Image Source="Resources/icons/dark/appbar.home.gps.png"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Tag="ICO"
|
||||
Stretch="Fill"
|
||||
Width="60"
|
||||
Height="50"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="top"
|
||||
Margin="5,0,0,0" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button Tag="0"
|
||||
x:Uid="1"
|
||||
x:Name="BtnAnnouncements"
|
||||
Visibility="Visible"
|
||||
Style="{StaticResource FlatButtonStyle2}"
|
||||
ToolTip="{x:Static resx:Resources.mo_announcement}"
|
||||
BorderThickness="0"
|
||||
Panel.ZIndex="1000"
|
||||
Width="70"
|
||||
Height="70"
|
||||
Canvas.Left="0"
|
||||
Canvas.Top="0">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Canvas ClipToBounds="False"
|
||||
Background="{Binding Background, ElementName=BtnAnnouncements}">
|
||||
<Canvas Panel.ZIndex="1000"
|
||||
Height="70"
|
||||
Width="80"
|
||||
Margin="70,0,0,0">
|
||||
<Polygon Visibility="Hidden"
|
||||
x:Name="poly_main1"
|
||||
Panel.ZIndex="900"
|
||||
Points="0,0 10,0 10,70 0,70"
|
||||
Fill="{Binding Background, ElementName=BtnAnnouncements}" />
|
||||
</Canvas>
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Canvas>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="Transparent"
|
||||
ClipToBounds="False"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
<Image Source="{DynamicResource nav_appbar_newspaper}"
|
||||
Panel.ZIndex="18"
|
||||
Tag="ICO"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
x:Name="icoAnn"
|
||||
Stretch="Fill"
|
||||
Width="60"
|
||||
Height="60"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="5" />
|
||||
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
|
||||
Visibility="Collapsed"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Tag="Signal"
|
||||
Stretch="None"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="-29,-29,0,0" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button x:Uid="2"
|
||||
Panel.ZIndex="1000"
|
||||
x:Name="BtnIncident"
|
||||
Visibility="Hidden"
|
||||
Style="{StaticResource FlatButtonStyle2}"
|
||||
ToolTip="{x:Static resx:Resources.mo_incidents }"
|
||||
BorderThickness="0"
|
||||
Canvas.Top="0"
|
||||
Width="70"
|
||||
Height="70"
|
||||
Canvas.Left="0">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Canvas ClipToBounds="False"
|
||||
Background="{Binding Background, ElementName=BtnIncident}">
|
||||
<Canvas Panel.ZIndex="1000"
|
||||
Height="70"
|
||||
Width="80"
|
||||
Margin="70,0,0,0">
|
||||
<Polygon Visibility="Hidden"
|
||||
x:Name="poly_main2"
|
||||
Panel.ZIndex="1000"
|
||||
Points="0,0 10,0 10,70 0,70"
|
||||
Fill="{Binding Background, ElementName=BtnIncident}" />
|
||||
</Canvas>
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Canvas>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
<StackPanel x:Name="StackPanel"
|
||||
Orientation="Horizontal"
|
||||
Background="Transparent">
|
||||
<Image Source="{DynamicResource nav_appbar_clipboard_variant_text}"
|
||||
x:Name="icoInc"
|
||||
Tag="ICO"
|
||||
Stretch="fill"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Width="60"
|
||||
Height="60"
|
||||
Margin="5" />
|
||||
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
|
||||
Visibility="Collapsed"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Tag="Signal"
|
||||
Stretch="None"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="-29,-29,0,0" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button Panel.ZIndex="1000"
|
||||
x:Uid="3"
|
||||
x:Name="BtnSsp"
|
||||
Visibility="Hidden"
|
||||
Style="{StaticResource FlatButtonStyle2}"
|
||||
ToolTip="{x:Static resx:Resources.mo_ssp}"
|
||||
BorderThickness="0"
|
||||
Canvas.Top="0"
|
||||
Width="70"
|
||||
Height="70"
|
||||
Canvas.Left="0">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Canvas ClipToBounds="false"
|
||||
Background="{Binding Background, ElementName=BtnSsp}">
|
||||
<Canvas Panel.ZIndex="1000"
|
||||
Height="70"
|
||||
Width="80"
|
||||
Margin="70,0,0,0">
|
||||
<Polygon Visibility="Hidden"
|
||||
x:Name="poly_main3"
|
||||
Panel.ZIndex="1000"
|
||||
Points="0,0 10,0 10,70 0,70"
|
||||
Fill="{Binding Background, ElementName=BtnSsp}" />
|
||||
</Canvas>
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Canvas>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="Transparent">
|
||||
<Image Source="{DynamicResource nav_appbar_cart}"
|
||||
x:Name="icoSSP"
|
||||
Stretch="fill"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Width="60"
|
||||
Height="60"
|
||||
Margin="5"
|
||||
Tag="ICO" />
|
||||
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
|
||||
Visibility="Collapsed"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Tag="Signal"
|
||||
Stretch="None"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="-29,-29,0,0" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button x:Name="BtnCustomLink"
|
||||
x:Uid="4"
|
||||
Margin="0,0,0,0"
|
||||
Visibility="Hidden"
|
||||
Style="{StaticResource FlatButtonStyle2}"
|
||||
ToolTip="{x:Static resx:Resources.CustomLink}"
|
||||
BorderThickness="0"
|
||||
Canvas.Top="0"
|
||||
Width="70"
|
||||
Height="70"
|
||||
Canvas.Left="0"
|
||||
Panel.ZIndex="1000">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Canvas ClipToBounds="False"
|
||||
Background="{Binding Background, ElementName=BtnCustomLink}">
|
||||
<Canvas Panel.ZIndex="1000"
|
||||
Height="70"
|
||||
Width="80"
|
||||
Margin="70,0,0,0">
|
||||
<Polygon Visibility="Hidden"
|
||||
x:Name="poly_main4"
|
||||
Panel.ZIndex="90"
|
||||
Points="0,0 10,0 10,70 0,70"
|
||||
Fill="{Binding Background, ElementName=BtnCustomLink}" />
|
||||
</Canvas>
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Canvas>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="Transparent">
|
||||
<Image Source="{DynamicResource nav_appbar_star}"
|
||||
x:Name="icoCustomLinks"
|
||||
Tag="ICO"
|
||||
Stretch="fill"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Width="60"
|
||||
Height="60"
|
||||
Margin="5" />
|
||||
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
|
||||
Visibility="Collapsed"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Tag="Signal"
|
||||
Stretch="None"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="-29,-29,0,0" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button x:Name="BtnInfo"
|
||||
x:Uid="5"
|
||||
Margin="0,0,0,0"
|
||||
Visibility="Hidden"
|
||||
Style="{StaticResource FlatButtonStyle2}"
|
||||
ToolTip="{x:Static resx:Resources.mo_information}"
|
||||
BorderThickness="0"
|
||||
Canvas.Top="0"
|
||||
Width="70"
|
||||
Height="70"
|
||||
Canvas.Left="0"
|
||||
Panel.ZIndex="1000">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Canvas ClipToBounds="False"
|
||||
Background="{Binding Background, ElementName=BtnInfo}">
|
||||
<Canvas Panel.ZIndex="1000"
|
||||
Height="70"
|
||||
Width="80"
|
||||
Margin="70,0,0,0">
|
||||
<Polygon Visibility="Hidden"
|
||||
x:Name="poly_main4"
|
||||
Panel.ZIndex="90"
|
||||
Points="0,0 10,0 10,70 0,70"
|
||||
Fill="{Binding Background, ElementName=BtnInfo}" />
|
||||
</Canvas>
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Canvas>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="Transparent">
|
||||
<Image Source="{DynamicResource nav_appbar_information}"
|
||||
x:Name="icoInfo"
|
||||
Tag="ICO"
|
||||
Stretch="fill"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Width="60"
|
||||
Height="60"
|
||||
Margin="5" />
|
||||
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
|
||||
Visibility="Collapsed"
|
||||
Panel.ZIndex="18"
|
||||
Style="{StaticResource ImageStyle}"
|
||||
Tag="Signal"
|
||||
Stretch="None"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="-29,-29,0,0" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
</Canvas>
|
||||
|
||||
<Canvas Margin="0,0,0,0"
|
||||
Panel.ZIndex="1"
|
||||
ClipToBounds="False"
|
||||
>
|
||||
<Canvas x:Name="StPaMain"
|
||||
Panel.ZIndex="1000"
|
||||
Height="590"
|
||||
Width="500"
|
||||
Background="{DynamicResource backgroundColor}"
|
||||
Canvas.Left="-75">
|
||||
|
||||
|
||||
<uctrl:Announcements x:Name="AnnouncementCtrl"
|
||||
Canvas.Left="10"
|
||||
Canvas.Top="10"
|
||||
Visibility="Visible"/>
|
||||
|
||||
<uctrl:ComputerInformation x:Name="ComputerInfoCtrl"
|
||||
Canvas.Left="12"
|
||||
Canvas.Top="10"
|
||||
Visibility="Collapsed"/>
|
||||
|
||||
<uctrl:Incidents x:Name="IncidentCtrl"
|
||||
Canvas.Left="0"
|
||||
Canvas.Top="10"
|
||||
Visibility="Collapsed" />
|
||||
|
||||
<uctrl:PortalSearch x:Name="PortalSearchCtrl"
|
||||
Canvas.Left="0"
|
||||
Canvas.Top="10"
|
||||
Visibility="Collapsed"/>
|
||||
|
||||
<uctrl:CustomLinks x:Name="CustomLinksCtrl"
|
||||
Canvas.Left="0"
|
||||
Visibility="Collapsed" />
|
||||
|
||||
</Canvas>
|
||||
</Canvas>
|
||||
|
||||
</StackPanel>
|
||||
</DockPanel>
|
||||
<Image Source="Resources/United-Kingdom-Flag-icon.png"
|
||||
Panel.ZIndex="1001"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Left"
|
||||
Stretch="None"
|
||||
Margin="80,0,0,140" />
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user