<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.Window_ADScale"
        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:ThickTcpUiInWindow"
        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:,,,/ThickTcpUiInWindow;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 ResourceKey=TextBlockStyle_FieldHeader}" Text="{DynamicResource strOrgAD}" />
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent}" Text="{Binding Old}"    MinWidth="150" />
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeader}" Text="->" VerticalAlignment="Center" />
                    <StackPanel Orientation="Vertical" Margin="5">
                    <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strScalingAD}" />
                        <StackPanel Orientation="Horizontal">
                            <TextBox Style="{StaticResource ResourceKey=TextBoxStyle_FieldContent}" Text="{Binding New}" MinWidth="150"/>
                        </StackPanel>
                    </StackPanel>
                    </StackPanel>

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

</flyctrllib:WindowBigClose>
