<flyctrllib:WindowBigClose  x:Class="MultiLayout.MainEdit.WdLoadFile"
                            xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
        Title="Window_FixSave"  mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" Margin="5,20">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition/>
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <ListBox Name="listview_profile" Margin="5" MinWidth="400" Height="400" Grid.Row="1" >
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{Binding .}" FontWeight="Bold" FontSize="26" FontFamily="Microsoft Sans Serif" />
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <StackPanel Margin="5">
            <TextBlock Style="{StaticResource TextBlockStyle_FieldHeader}" Text="布局列表" VerticalAlignment="Center" FontSize="44" />
        </StackPanel>
        
        
        <Grid Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Button Style="{StaticResource ButtonStyle2}" Content="保存"  Width="200" Margin="5" Click="button_save_Click"  />
            <Button Grid.Column="1" Style="{StaticResource ButtonStyle2}" Content="加载"  Width="200" Margin="5" Click="button_read_Click" Background="#FF127300" />
            <Button Grid.Column="2" Style="{StaticResource ButtonStyle2}" Content="删除"  Width="200" Margin="5" Click="button_del_Click" Background="#FFEC0000" />
        </Grid>
    </Grid>

</flyctrllib:WindowBigClose >