<Window x:Class="FLY.Thick.FilmCasting.UI.Server.WdSetup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:FLY.Thick.FilmCasting.UI.Server"
        mc:Ignorable="d"
        Title="{StaticResource str.WdSetup.Title}"
        MinHeight="200"
        MinWidth="400"
        SizeToContent="WidthAndHeight">

    <Grid>
        <StackPanel>
            <StackPanel Margin="{StaticResource ControlMargin}">
                <StackPanel.Resources>
                    <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.Text.FieldHeader}">
                        <Setter Property="Width" Value="140"/>
                    </Style>
                    <Style TargetType="TextBox" BasedOn="{StaticResource Styles.Text.FieldContent.Input}">
                        <Setter Property="MinWidth" Value="140"/>
                    </Style>
                </StackPanel.Resources>
                <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}">
                    <TextBlock Text="{StaticResource str.WdSetup.FOBJAddr}" />
                    <TextBox Text="{Binding Addr}" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}">
                    <TextBlock Text="{StaticResource str.WdSetup.FlyAdAddr}" />
                    <TextBox Text="{Binding FlyAdAddr}" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}">
                    <TextBlock Text="{StaticResource str.WdSetup.WebApiAddr}" />
                    <TextBox Text="{Binding WebApiAddr}" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}">
                    <TextBlock Text="{StaticResource str.WdSetup.WsAddr}" />
                    <TextBox Text="{Binding WsAddr}" />
                </StackPanel>
            </StackPanel>
            <StackPanel Orientation="Horizontal"
                        Margin="{StaticResource ControlMargin}">
                <Button Style="{StaticResource Styles.Button.Square2}"
                        Content="{StaticResource str.WdSetup.OK}"
                        Command="{Binding OkCmd}" />
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>