<!--
/*
** Job Arranger Manager
** Copyright (C) 2012 FitechForce, Inc. All Rights Reserved.
** Copyright (C) 2013 Daiwa Institute of Research Business Innovation 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.
**
**/
-->
    <src:BaseWindow x:Class="jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.FileReadWindow"
        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.operation_day_file_reading_screen_name}" Height="242" Width="470"
        ResizeMode="NoResize" FontSize="11" FontFamily="Meiryo">
    <Window.Resources>
        <x:Array x:Key="DateFormat" Type="{x:Type src:FormatComboBoxItem}">
            <src:FormatComboBoxItem Format="yyyy/MM/dd" ViewFormat="YYYY/MM/DD" />
            <src:FormatComboBoxItem Format="yyyy-MM-dd" ViewFormat="YYYY-MM-DD" />
            <src:FormatComboBoxItem Format="MM/dd/yyyy" ViewFormat="MM/DD/YYYY" />
            <src:FormatComboBoxItem Format="yyyyMMdd" ViewFormat="YYYYMMDD" />
            <src:FormatComboBoxItem Format="MMddyyyy" ViewFormat="MMDDYYYY" />
        </x:Array>
    </Window.Resources>

    <Grid Width="442">
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="12,27,0,0" Name="textBlock1" Text="{x:Static src:Properties.Resources.operation_day_file_reading_screen_language}" VerticalAlignment="Top" FontSize="12" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="12,83,0,0" Name="textBox_fileName" VerticalAlignment="Top" Width="324" Text="{Binding file_name}" />
        <Button Content="{x:Static src:Properties.Resources.ref_file_button_text}" Height="23" HorizontalAlignment="Left" Margin="350,83,0,0" Name="refFile" VerticalAlignment="Top" Width="65" Click="refFile_Click"/>
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="12,131,0,0" Name="textBlock4" Text="{x:Static src:Properties.Resources.format_label_text}" VerticalAlignment="Top" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="91,128,0,0" Name="formatComboBox" VerticalAlignment="Top" Width="120" ItemsSource="{Binding Source={StaticResource DateFormat}}" DisplayMemberPath="ViewFormat" SelectedValuePath="Format"/>
        <Button Content="{x:Static src:Properties.Resources.reading_button_text}" Height="25" HorizontalAlignment="Left" Margin="232,174,0,0" Name="fileRead" VerticalAlignment="Top" Width="75" Click="fileRead_Click" IsDefault="True" FontSize="11.5"/>
        <Button Content="{x:Static src:Properties.Resources.cancel_button_text}" Height="25" HorizontalAlignment="Left" Margin="313,174,0,0" Name="cancel" VerticalAlignment="Top" Width="75" Click="cancel_Click" IsCancel="True" FontSize="11.5"/>
    </Grid>
</src:BaseWindow>
