<!--
/*
** Job Arranger Manager
** Copyright (C) 2012 FitechForce, Inc. All Rights Reserved.
** Copyright (C) 2013 Daiwa Institute of Research Business Innovation Ltd. All Rights Reserved.
** Copyright (C) 2021 Daiwa Institute of Research Ltd. All Rights Reserved.
**
** Licensed to the Apache Software Foundation (ASF) under one or more
** contributor license agreements. See the NOTICE file distributed with
** this work for additional information regarding copyright ownership.
** The ASF licenses this file to you under the Apache License, Version 2.0
** (the "License"); you may not use this file except in compliance with
** the License. You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
**
**/
-->
    <Window x:Class="jp.co.ftf.jobcontroller.JobController.Form.JobEdit.FCopySetting"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:src="clr-namespace:jp.co.ftf.jobcontroller.JobController"
        Title="{x:Static src:Properties.Resources.fcopy_icon_screen_name}" FontSize="11" FontFamily="Meiryo"
        WindowStartupLocation="CenterScreen" ResizeMode="NoResize"  Closing="Window_Closed" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="512" d:DesignWidth="409" SizeToContent="WidthAndHeight">
    <Grid Background="#FFEEECE1" Width="394" Height="480" Name="GridSetting">
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="76" />
            <RowDefinition Height="100" />
            <RowDefinition Height="76" />
            <RowDefinition Height="76" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Label Grid.Row="0" Content="{x:Static src:Properties.Resources.job_id_label_text}" Height="28" HorizontalAlignment="Left" Margin="12,3,0,0"
               VerticalAlignment="Top" VerticalContentAlignment="Center" />
        <TextBox Grid.Row="0" Name="txtJobId" Height="23" Width="305" Margin="82,6,0,0" HorizontalAlignment="Left"
                 VerticalAlignment="Top" VerticalContentAlignment="Center" MaxLength="32" />
        <Label Grid.Row="1" Content="{x:Static src:Properties.Resources.job_name_label_text}" Height="28" HorizontalAlignment="Left" Margin="12,3,0,0"
               VerticalAlignment="Top" VerticalContentAlignment="Center" />
        <TextBox Grid.Row="1" Name="txtJobName" Height="23" Width="305" Margin="82,6,0,0" HorizontalAlignment="Left"
                 VerticalAlignment="Top" VerticalContentAlignment="Center" MaxLength="64" />
        <GroupBox Grid.Row="2" Header="{x:Static src:Properties.Resources.source_host_label_text}" Height="78" Width="385" Margin="7,2,0,0" Name="gbHost"
                  VerticalAlignment="Top" HorizontalAlignment="Left" Grid.RowSpan="2">
            <Grid Height="56">
                <Grid.RowDefinitions>
                    <RowDefinition Height="28" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <RadioButton Grid.Row="0" GroupName="fromHostGroup" Content="{x:Static src:Properties.Resources.host_name_label_text}" Name="rbHostName" Height="16"
                             HorizontalAlignment="Left" Margin="6,9,0,0" VerticalAlignment="Top"
                             Checked="rbHostName_Checked"/>
                <ComboBox Name="combHostName" Height="23" Width="270" HorizontalAlignment="Left"
                  Margin="102,5,0,0" VerticalAlignment="Top" >
                </ComboBox>
                <RadioButton Grid.Row="1" Content="{x:Static src:Properties.Resources.value_name_label_text}" GroupName="fromHostGroup" Height="16" HorizontalAlignment="Left"
                             Margin="6,8,0,0" Name="rbVariableName" VerticalAlignment="Top" Checked="rbVariableName_Checked"/>
                <TextBox Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="102,3,0,0" Name="textVariableName"
                         VerticalAlignment="Top" VerticalContentAlignment="Center" Width="270" MaxLength="128"/>
            </Grid>
        </GroupBox>
        <GroupBox Grid.Row="3" Header="{x:Static src:Properties.Resources.source_file_label_text}" Height="85" Width="385" Margin="7,6,0,0" Name="gbFile"
                  VerticalAlignment="Top" HorizontalAlignment="Left" >
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="28" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <TextBlock Grid.Row="0" Text="{x:Static src:Properties.Resources.directory_label_text}" Height="16"
                             HorizontalAlignment="Left" Margin="6,9,0,0" VerticalAlignment="Top"/>
                <TextBox Grid.Row="0" Height="23" HorizontalAlignment="Left" Margin="102,5,0,0" Name="textDir"
                         VerticalAlignment="Top" VerticalContentAlignment="Center" Width="270" MaxLength="1024"/>

                <TextBlock Grid.Row="1" Text="{x:Static src:Properties.Resources.file_name_label_text}" Height="16" HorizontalAlignment="Left"
                             Margin="6,8,0,0" VerticalAlignment="Top" />
                <TextBox Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="102,3,0,0" Name="textFileName"
                         VerticalAlignment="Top" VerticalContentAlignment="Center" Width="270" MaxLength="1024"/>
            </Grid>
        </GroupBox>
        <GroupBox Grid.Row="4" Header="{x:Static src:Properties.Resources.destination_host_label_text}" Height="82" Width="385" Margin="7,2,0,0" Name="gbDestinationHost"
                  VerticalAlignment="Top" HorizontalAlignment="Left" Grid.RowSpan="2">
            <Grid Height="58">
                <Grid.RowDefinitions>
                    <RowDefinition Height="28" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <RadioButton Grid.Row="0" GroupName="toHostGroup" Content="{x:Static src:Properties.Resources.host_name_label_text}" Name="rbDestinationHostName" Height="16"
                             HorizontalAlignment="Left" Margin="6,9,0,0" VerticalAlignment="Top"
                             Checked="rbToHostName_Checked"/>
                <ComboBox Name="combDestinationHostName" Height="23" Width="270" HorizontalAlignment="Left"
                  Margin="102,5,0,0" VerticalAlignment="Top" >
                </ComboBox>
                <RadioButton Grid.Row="1" Content="{x:Static src:Properties.Resources.value_name_label_text}" GroupName="toHostGroup" Height="16" HorizontalAlignment="Left"
                             Margin="6,8,0,0" Name="rbDestinationVariableName" VerticalAlignment="Top" Checked="rbToVariableName_Checked"/>
                <TextBox Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="102,3,0,0" Name="textDestinationVariableName"
                         VerticalAlignment="Top" VerticalContentAlignment="Center" Width="270" MaxLength="128"/>
            </Grid>
        </GroupBox>
        <GroupBox Grid.Row="5" Header="{x:Static src:Properties.Resources.destination_directory_label_text}" Height="81" Width="385" Margin="7,12,0,0" Name="gbDir"
                  VerticalAlignment="Top" HorizontalAlignment="Left" Grid.RowSpan="2">
            <Grid Height="59">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="57*" />
                    <ColumnDefinition Width="316*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="28" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <TextBlock Text="{x:Static src:Properties.Resources.directory_label_text}" Height="16"
                             HorizontalAlignment="Left" Margin="6,9,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="45,5,0,0" Name="textDestinationDir"
                         VerticalAlignment="Top" VerticalContentAlignment="Center" Width="270" MaxLength="1024" Grid.Column="1" />
                <CheckBox Content="{x:Static src:Properties.Resources.import_overwrite_duplicate_checkbox_text}" Grid.Row="1" Height="16" HorizontalAlignment="Left" Margin="6,8,0,0" Name="CheckBoxOverride" VerticalAlignment="Top" Grid.ColumnSpan="2" />
            </Grid>
        </GroupBox>
        <Button Grid.Row="6" Content="{x:Static src:Properties.Resources.regist_button_text}" Height="28" HorizontalAlignment="Left" Margin="227,52,0,0"
                Name="btnToroku" VerticalAlignment="Top" Width="75" Click="btnToroku_Click" IsDefault="True"/>
        <Button Grid.Row="6" Content="{x:Static src:Properties.Resources.cancel_button_text}" Height="28" HorizontalAlignment="Left" Margin="307,52,0,0"
                Name="btnCancel" VerticalAlignment="Top" Width="75" Click="btnCancel_Click" IsCancel="True"/>
        <CheckBox Content="{x:Static src:Properties.Resources.force_label_text}" Grid.Row="6" Height="13" Margin="19,30,0,0" Name="cbForce" VerticalAlignment="Top" HorizontalAlignment="Left" Width="129" />
    </Grid>
</Window>
