Window_SaveDatas.xaml 2.42 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<flyctrllib:WindowBigClose  
    x:Class="ThickTcpUiInWindow.Window_SaveDatas"
    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"  
                 
    xmlns:local="clr-namespace:ThickTcpUiInWindow" SizeToContent="WidthAndHeight">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                <!--<ResourceDictionary Source="pack://application:,,,/ThickTcpUiInWindow;component/Culture/StringResource.zh-CN.xaml"/>-->
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" Width="600">
        <StackPanel Orientation="Vertical" Margin="5,20">
            <StackPanel Grid.Column="1" Orientation="Vertical" Margin="5">
                <StackPanel Orientation="Horizontal">
                    <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeader}" Text="{DynamicResource strFilePath}" VerticalAlignment="Bottom"/>
                    <Button Style="{StaticResource ResourceKey=ButtonStyle_empty}" Click="button_open_Click" Background="White" VerticalAlignment="Bottom" Margin="5">
                        <Path Data="{StaticResource ResourceKey=Geometry_plus-box-outline}" Fill="{StaticResource Color_theme_activity}" Height="36" Width="36" Stretch="Fill" SnapsToDevicePixels="True" />
                    </Button>
                </StackPanel>

                <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent}" Text="{Binding SavePath}" HorizontalAlignment="Left" TextWrapping="Wrap" />

            </StackPanel>
            <StackPanel Orientation="Horizontal"></StackPanel>
            <Button Content="{DynamicResource strSave}" Style="{StaticResource  ButtonStyle2}"  Margin="5" Width="auto" Click="button_save_Click" />
        </StackPanel>
    </Grid>

    </flyctrllib:WindowBigClose >