<Metro:MetroWindow 
    x:Class="JianGongYun.MainWindow"
    xmlns:Metro="clr-namespace:AduSkin.Controls.Metro;assembly=AduSkin" 
        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:JianGongYun"
        mc:Ignorable="d"
        Title="建工云课堂" MinWidth="600" MinHeight="350"
         d:DesignHeight="1200" d:DesignWidth="1600"
        BorderThickness="0" WindowStyle="None"
        Background="#FFF" 
        DataContext="{Binding Source={StaticResource Locator},Path=Main}">

    <Metro:MetroWindow.Menu>
        <Metro:MetroTitleMenu Height="40">
            <Metro:MetroTitleMenuItem Header="联系我们">
                <Metro:MetroMenuItem Header="QQ" />

            </Metro:MetroTitleMenuItem>
            <Metro:MetroTitleMenuItem Header="关于">
                <MenuItem   Style="{StaticResource MenuItem_NonStyle}" Height="30">
                    <MenuItem.Header>
                        <Grid>
                            <TextBlock Text="主题色" Margin="33,0" VerticalAlignment="Center"/>
                            <Metro:MetroColorPicker x:Name="Theme" Width="20" Height="20" Background="{StaticResource DefaultBrush}" DefaultColor="{StaticResource DefaultBrush}" />
                        </Grid>
                    </MenuItem.Header>
                </MenuItem>
            </Metro:MetroTitleMenuItem>

        </Metro:MetroTitleMenu>
    </Metro:MetroWindow.Menu>
    <Grid>
        <ContentControl Content="{Binding TeachingInfo}"/>
    </Grid>
</Metro:MetroWindow>
