WdThickScale.xaml 2.39 KB
<flyctrllib:WindowBigClose x:Class="FLY.Thick.Base.UI.WdThickScale"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
        xmlns:local="clr-namespace:FLY.Thick.Base.UI"
        Title="Window_graphfix" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" SizeToContent="WidthAndHeight"  >
    <Window.Resources>
        <ResourceDictionary>
            <local:BytesConverter x:Key="bytesconv"/>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                <!--<ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Culture/StringResource.zh-CN.xaml"/>-->
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" >
        <StackPanel Orientation="Vertical" Margin="5,20">
            <StackPanel Orientation="Horizontal">
                <StackPanel Orientation="Vertical" Margin="5">
                    <TextBlock Style="{StaticResource TextBlockStyle_FieldHeader}" Text="显示值" />
                    <StackPanel Orientation="Horizontal">
                        <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding Old}"    MinWidth="150" />
                    </StackPanel>
                </StackPanel>
                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeader}" Text="->" VerticalAlignment="Center" />
                <StackPanel Orientation="Vertical" Margin="5">
                    <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="实际值" />
                    <StackPanel Orientation="Horizontal">
                        <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding New}" MinWidth="150"/>
                    </StackPanel>
                </StackPanel>
            </StackPanel>

            <Button Content="应用"  Style="{StaticResource  ButtonStyle2}"  Margin="5" Width="auto" Click="button_apply_Click" />
        </StackPanel>
    </Grid>

</flyctrllib:WindowBigClose>