<Window x:Class="Ycjw.PipeLine.WPF.BForm"
        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:Ycjw.PipeLine.WPF"
        mc:Ignorable="d"
        Title="BForm" Height="450" Width="800" Background="Transparent" AllowsTransparency="True" ResizeMode="NoResize" WindowStyle="None">
    <Grid>        
        <Grid.Effect>
            <DropShadowEffect ShadowDepth="0" BlurRadius="100" Color="Black" />
        </Grid.Effect>
        <Grid ShowGridLines="False" Background="Transparent" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>

            <DockPanel x:Name="RightBorder" Grid.Row="0" Grid.Column="6" Width="60" Grid.RowSpan="14" HorizontalAlignment="Right">
                <DockPanel.Effect>
                    <DropShadowEffect ShadowDepth="10" BlurRadius="50" Color="Black" />
                </DockPanel.Effect>
                <DockPanel.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                        <GradientStop Color="#00000000" Offset="0"/>
                        <GradientStop Color="#99000000" Offset="1"/>
                    </LinearGradientBrush>
                </DockPanel.Background>
            </DockPanel>

            <DockPanel x:Name="BottomBorder" Grid.Row="13" Grid.Column="0" Height="60" Grid.ColumnSpan="7" VerticalAlignment="Bottom">
                <DockPanel.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="#00000000" Offset="0"/>
                        <GradientStop Color="#000000" Offset="1"/>
                    </LinearGradientBrush>
                </DockPanel.Background>
            </DockPanel>

            <DockPanel x:Name="TopBorder" Grid.Row="0" Grid.Column="0" Height="60" Grid.ColumnSpan="7" VerticalAlignment="Top">
                <DockPanel.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="#000000" Offset="0"/>
                        <GradientStop Color="#00000000" Offset="1"/>
                    </LinearGradientBrush>
                </DockPanel.Background>
            </DockPanel>

            <StackPanel x:Name="TopContextMSType" Orientation="Horizontal" Grid.Column="2" Grid.ColumnSpan="4" Margin="0,10,0,0" Cursor="Hand">
                <TextBlock Text="埋设方式：" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top">
                    <Grid Width="16" Height="16" Background="Green" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="直埋:25298 米" Foreground="White" Margin="24,4,4,4"  VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="Yellow" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="方沟:23298 米" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="Salmon" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="拱沟:23298 米" Foreground="White" Margin="24,4,4,4"  VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="RosyBrown" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="人防:23298 米" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="LightBlue" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="隧道:235298 米" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="BlueViolet" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="非开挖:45298 米" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
            </StackPanel>
            <StackPanel x:Name="TopContextDeeps" Orientation="Horizontal" Grid.Column="2" Grid.ColumnSpan="5" Margin="0,36,0,0" Cursor="Hand">
                <TextBlock Text="敷设深度：" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top">
                    <Grid Width="16" Height="16" Background="Firebrick" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="0≤X＜3:25298 米（17%）" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="GhostWhite" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="3≤X＜5:25298 米（17%）" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="HotPink" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="5≤X＜10:25298 米（17%）" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="Navy" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="10≤X＜30:25298 米（17%）" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
                <Grid Height="24" Background="#33000000" VerticalAlignment="Top" Margin="10,0,0,0">
                    <Grid Width="16" Height="16" Background="MediumAquamarine" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,4,0,4"></Grid>
                    <TextBlock Text="X≥30:25298 米（17%）" Foreground="White" Margin="24,4,4,4" VerticalAlignment="Top" HorizontalAlignment="Left"></TextBlock>
                </Grid>
            </StackPanel>
            
            <DockPanel x:Name="PanelLeft" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="14" Margin="0,0,0,0">
                <DockPanel.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                        <GradientStop Color="Black" Offset="0"/>
                        <GradientStop Color="#00000000" Offset="0.99"/>
                    </LinearGradientBrush>
                </DockPanel.Background>
            </DockPanel>
            <DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center">
                <TextBlock Text="云创经纬三维管线信息系统" Foreground="White" FontSize="32" FontWeight="ExtraBold"></TextBlock>
            </DockPanel>
            
            <!--<DockPanel x:Name="m_PanelLeftCahrt01" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="1" Grid.RowSpan="2">
                <TextBlock DockPanel.Dock="Top" Text="第一个标题一定要酷" HorizontalAlignment="Center" Foreground="White"/>
            </DockPanel>-->
            
            <DockPanel x:Name="m_PanelLeftCahrt02" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="4">
                <TextBlock DockPanel.Dock="Top" Text="管线敷设年代分布（长度：千米）" HorizontalAlignment="Center" Foreground="White" Margin="0,20,0,0"/>
            </DockPanel>
            <DockPanel x:Name="m_PanelLeftCahrt03" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="4" Margin="0,20,0,0">
                <TextBlock DockPanel.Dock="Top" Text="各区（县）管线长度和覆盖面积" HorizontalAlignment="Center" Foreground="White"/>
            </DockPanel>
            <DockPanel x:Name="m_PanelLeftCahrt04" Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="5" Margin="0,20,0,20">
                <TextBlock DockPanel.Dock="Top" Text="近年各区（县）故障率" HorizontalAlignment="Center" Foreground="White"/>
            </DockPanel>

            <DockPanel x:Name="m_PanelRight"  Grid.Row="2" Grid.Column="6" Grid.ColumnSpan="1" Grid.RowSpan="11">
                <StackPanel Background="Transparent" >
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseDL" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockDL" IsHitTestVisible="False" Text="电力" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseDX" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock x:Name="m_TextBlockDX" IsHitTestVisible="False" Text="电信" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray"  FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseJS" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockJS" IsHitTestVisible="False" Text="给水" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="10" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipsePS" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockPS" IsHitTestVisible="False" Text="排水" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseRQ" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockRQ" IsHitTestVisible="False" Text="燃气" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseRL" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockRL" IsHitTestVisible="False" Text="热力" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseGY" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockGY" IsHitTestVisible="False" Text="工业" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseZH" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockZH" IsHitTestVisible="False" Text="综合" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray" FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                    <Grid Height="15" Width="60"></Grid>
                    <Grid Height="50" Width="50">
                        <Ellipse Tag="TYPES" x:Name="m_EllipseAll" Fill="Black" Stroke="Transparent" Height="50" Width="50" HorizontalAlignment="Left"></Ellipse>
                        <TextBlock  x:Name="m_TextBlockAll" IsHitTestVisible="False" Text="全部" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Foreground="Gray"  FontSize="14" Margin="0,0,0,-14"></TextBlock>
                    </Grid>
                </StackPanel>
            </DockPanel>
            <Grid x:Name="m_InfoGrid" Visibility="Hidden" Grid.Column="2" Grid.Row="1" Grid.ColumnSpan="1" Grid.RowSpan="4" Margin="0,0,0,10">
                <Border x:Name="m_InfoBorder" CornerRadius="20" Background="#55000000" Margin="10">
                    <StackPanel>
                        <Label Name="m_InfoTitle" Content="信息" Foreground="White" FontWeight="Bold" HorizontalContentAlignment="Center"></Label>
                        <Grid Height="2" Background="Gray" Margin="20,0,20,0"></Grid>
                        <ScrollViewer x:Name="InfoScrollViewer" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden" Margin="5,5,10,5">
                            <ScrollViewer.Content>
                                <StackPanel x:Name="m_InfoItems" Margin="5,5,5,5"></StackPanel>
                            </ScrollViewer.Content>
                        </ScrollViewer>
                    </StackPanel>
                </Border>
            </Grid>
            <Grid Tag="BTN" Height="30" Width="30" Grid.Row="0" Grid.Column="7" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,5,0" Opacity="0.6">
                <Ellipse Stroke="Transparent" Height="30" Width="30" HorizontalAlignment="Left"></Ellipse>
                <Image x:Name="m_ImageExist" ToolTip="退出大屏" VerticalAlignment="Center" HorizontalAlignment="Center" Cursor="Hand"></Image>
            </Grid>
            <Grid Tag="BTN" Height="20" Width="20" Grid.Row="13" Grid.Column="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,5,30" Opacity="0.6">
                <Ellipse Stroke="Transparent" Height="20" Width="20" HorizontalAlignment="Left"></Ellipse>
                <Image x:Name="m_ImageHome" ToolTip="显示全图" VerticalAlignment="Center" HorizontalAlignment="Center" Cursor="Hand"></Image>
            </Grid>
            <Grid Tag="BTN" Height="20" Width="20" Grid.Row="13" Grid.Column="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,35,30" Opacity="0.6">
                <Ellipse Stroke="Transparent" Height="20" Width="20" HorizontalAlignment="Left"></Ellipse>
                <Image x:Name="m_ImageInfo" ToolTip="信息查询" VerticalAlignment="Center" HorizontalAlignment="Center" Cursor="Hand"></Image>
            </Grid>
            <Grid Tag="BTN" Height="20" Width="20" Grid.Row="13" Grid.Column="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,65,30" Opacity="0.6">
                <Ellipse Stroke="Transparent" Height="20" Width="20" HorizontalAlignment="Left"></Ellipse>
                <Image x:Name="m_ImagePan" ToolTip="漫游" VerticalAlignment="Center" HorizontalAlignment="Center" Cursor="Hand"></Image>
            </Grid>
            <Grid Tag="BTN" Height="20" Width="20" Grid.Row="13" Grid.Column="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,95,30" Opacity="0.6">
                <Ellipse Stroke="Transparent" Height="20" Width="20" HorizontalAlignment="Left"></Ellipse>
                <Image x:Name="m_ImageTerrain" ToolTip="地形" VerticalAlignment="Center" HorizontalAlignment="Center" Cursor="Hand"></Image>
            </Grid>
        </Grid>
    </Grid>
</Window>
