<Window x:Class="CollaborativePlatformMain.Form.HomepageForm"
        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:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
        xmlns:LayUI="clr-namespace:LayUI.Wpf.Controls;assembly=LayUI.Wpf"
        mc:Ignorable="d"
        AllowsTransparency="True"
        Background=" Transparent"
        WindowStartupLocation="CenterScreen"
        WindowStyle="None"
        Title="" Height="557" Width="800" ResizeMode="NoResize">
    <LayUI:LayTitleBar Background="{DynamicResource Blue}"   CornerRadius="10"
                       WindowState="{Binding WindowState, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
        <LayUI:LayTitleBar.Header>
            <Border Height="35">
                <DockPanel>
                    <TextBlock Margin="10,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
                               Text="协同平台" />
                </DockPanel>
            </Border>
        </LayUI:LayTitleBar.Header>

        <Border  CornerRadius="0 0 10 10" Background="White">
            <StackPanel>
                <DockPanel Background="{DynamicResource Blue}">

                    <DockPanel Margin="5 5 0 5" Width="30" Height="30" HorizontalAlignment="Left" Background="AntiqueWhite" >

                    </DockPanel>

                </DockPanel>

                <DockPanel Height="430">

                    <!--最左边-->
                    <StackPanel Width="120" Name="sp_left">

                        <Menu Background="{DynamicResource Blue}" Height="430" Name="mu_leftMenu" FontFamily="黑体" FontSize="14">

                            <MenuItem Name="mitem_message" Width="118" Height="40" Header="消息      "
                                      PreviewMouseLeftButtonDown="message_Click"/>

                            <MenuItem Name="mitem_project" Width="118" Height="40" Header="项目      "
                                      PreviewMouseLeftButtonDown="project_Click"/>

                            <MenuItem Name="mitem_contacts" Width="118" Height="40" Header="联系人    "
                                      PreviewMouseLeftButtonDown="contacts_Click"/>

                            <MenuItem Name="mitem_gallery" Width="118" Height="40" Header="图例库"
                                      PreviewMouseLeftButtonDown="gallery_Click"/>

                            <MenuItem Name="mitem_tool" Width="118" Height="40" Header="工具库    "
                                      PreviewMouseLeftButtonDown="tool_Click"/>

                            <MenuItem Width="118" Height="40" Header="三维    "
                                      PreviewMouseLeftButtonDown="three_Click"/>
                        </Menu>
                    </StackPanel>

                    <!--消息-->
                    <DockPanel Name="dp_message" Visibility="Collapsed">
                        <!--中间-->
                        <StackPanel Width="670" HorizontalAlignment="Left">
                            <Frame Name="seconMessagePage" NavigationUIVisibility="Hidden"/>
                        </StackPanel>

                    </DockPanel>

                    <!--项目-->
                    <DockPanel Name="dp_project" Visibility="Visible">
                        <Frame Name="seconProjectPage" NavigationUIVisibility="Hidden"/>
                    </DockPanel>

                    <!--联系人-->
                    <DockPanel Name="dp_contacts" Visibility="Collapsed">
                        <Frame Name="seconContactsPage" NavigationUIVisibility="Hidden"/>
                    </DockPanel>

                    <!--图块大样库-->
                    <DockPanel Name="dp_gallery" Visibility="Collapsed">
                        <Frame Name="seconLegendPage" NavigationUIVisibility="Hidden"/>
                    </DockPanel>

                    <!--工具库-->
                    <DockPanel Name="dp_tools" Visibility="Visible">
                        <Frame Name="seconToolsPage" NavigationUIVisibility="Hidden"/>
                    </DockPanel>


                    <!--三维-->
                    <DockPanel Name="dp_threetools" Visibility="Collapsed">
                        <Frame Name="seconThreeTools" NavigationUIVisibility="Hidden"/>
                    </DockPanel>


                </DockPanel>

                <Border  CornerRadius="0 0 10 10" Background="{DynamicResource Blue}">

                    <DockPanel Height="37">
                        <DockPanel Margin="113 0 0 0">

                            <TextBlock   Text="青蓝规范小助手:" FontFamily="黑体" FontSize="18" Margin="10 0 0 0" VerticalAlignment="Center" HorizontalAlignment="Left" />
                            <TextBox x:Name="tb_blue" Width="200" Height="30" Margin="10,0,0,0" />
                            <Button Name="bt_qlxzs" Content="点我搜索" Width="90" HorizontalAlignment="Left" Height="30" Margin="10,0,0,0" FontSize="16" Click="bt_qlxzs_Click"/>
                        </DockPanel>
                    </DockPanel>
                </Border>
            </StackPanel>
        </Border>
    </LayUI:LayTitleBar>
</Window>
