<Window x:Class="Zerolauncher.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:MyNamespace="clr-namespace:Zerolauncher.controls"
        AllowsTransparency="True" WindowStyle="None" Background="Transparent"
        Title="零蛋登陆器" Height="300" Width="500" MouseLeftButtonDown="Window_MouseLeftButtonDown">
    <Grid>
        <!-- 使用透明背景的PNG图片作为窗口的背景 -->
        <Image Source="/res/1.png" Stretch="Fill"/>
        <DockPanel Margin="5,2,5,3">
            <DockPanel DockPanel.Dock="Top">
                <DockPanel.Resources>
                    <ResourceDictionary>
                        <ResourceDictionary.MergedDictionaries>
                            <ResourceDictionary Source="controls/AirButton.xaml"/>
                        </ResourceDictionary.MergedDictionaries>
                    </ResourceDictionary>
                </DockPanel.Resources>
                <MyNamespace:AirButton Background="Transparent" Height="21" Width="30" Click="Button_Click_3" DockPanel.Dock="Right" BorderBrush="Transparent" Style="{StaticResource ChangeButtonIsMouseOver}">
                    <Image Source="/res/btn_close1.png"/>
                </MyNamespace:AirButton>
                <MyNamespace:AirButton Background="Transparent" Height="21" Width="30" DockPanel.Dock="Right" BorderBrush="Transparent" Style="{StaticResource ChangeButtonIsMouseOver}" Click="AirButton_Click_1">
                    <Image Source="/res/btn_mini1.png"/>
                </MyNamespace:AirButton>
                <MyNamespace:AirButton Background="Transparent" Height="20" Width="30" BorderBrush="Transparent" Style="{StaticResource ChangeButtonIsMouseOver}" Margin="5,0,0,0" Click="AirButton_Click">
                    <Image Source="/res/config.png"/>
                </MyNamespace:AirButton>
                <Label/>
            </DockPanel>
            <ScrollViewer x:Name="memberBG"  VerticalScrollBarVisibility="Auto" Margin="15,3,10,10">
                <WrapPanel Name="mLayout">
                </WrapPanel>
            </ScrollViewer>
        </DockPanel>
    </Grid>
</Window>
