<!--
/*
** 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.
**
**/
-->
    <UserControl x:Class="jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.Container"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:src="clr-namespace:jp.co.ftf.jobcontroller.JobController" 
             xmlns:design="clr-namespace:jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit"
             FontFamily="Meiryo" FontSize="11">
    <Grid x:Name="LayoutRoot"  Background="WhiteSmoke" ShowGridLines="False" Margin="0,0,5,0" >
        <Grid.RowDefinitions >
            <RowDefinition Height="30"   />
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions >

        <TextBlock HorizontalAlignment="Left" Margin="5,10,0,0" Text="{x:Static src:Properties.Resources.operation_day_label_text}" Width="Auto" Grid.Row="0"/>
        <Button HorizontalAlignment="Left" VerticalAlignment="Top" Margin="90,6,0,0" Width="20" Height="20" Click="left_arrow_click" BorderBrush="Transparent" BorderThickness="0" Background="Transparent" 
 Foreground="White">
            <Button.Template>
                <ControlTemplate TargetType="Button">
                    <ContentPresenter Content="{TemplateBinding Content}"/>
                </ControlTemplate>
            </Button.Template>
            <Image Source="../../../Resources/arrow_left.gif" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
        </Button>
        <TextBox HorizontalAlignment="Left" Margin="123,6,0,0" Name="textBox_year" VerticalAlignment="Top" Text="" Width="Auto" IsReadOnly="True" Grid.Row="0"/>
        <Button HorizontalAlignment="Left" VerticalAlignment="Top" Margin="168,6,0,0" Width="20" Height="20" Click="right_arrow_click" Grid.Row="0" BorderBrush="Transparent" BorderThickness="0" Background="Transparent" 
 Foreground="White">
            <Button.Template>
                <ControlTemplate TargetType="Button">
                    <ContentPresenter Content="{TemplateBinding Content}"/>
                </ControlTemplate>
            </Button.Template>
            <Image Source="../../../Resources/arrow_right.gif" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
        </Button>
        <TextBlock HorizontalAlignment="Left" Margin="560,10,0,0" Text="{x:Static src:Properties.Resources.last_operation_day_label_text}" Width="Auto" Grid.Row="0"/>
        <TextBlock HorizontalAlignment="Left" Margin="670,10,0,0" Name="last_operation_day_value" Text="" Width="Auto" Grid.Row="0"/>
        <Border Margin="0" Grid.Row="1" Grid.Column="0"  VerticalAlignment="Stretch" HorizontalAlignment="Stretch" BorderThickness="1" BorderBrush="Black">
        <ScrollViewer HorizontalAlignment="Stretch"  Name="svContainer" VerticalAlignment="Stretch" HorizontalScrollBarVisibility="Visible">
            <ScrollViewer.Content>
                    <design:ScrollViewerWindowsFormsHost x:Name="winForm" HorizontalAlignment="Left" VerticalAlignment="Stretch"/>
                </ScrollViewer.Content>
        </ScrollViewer>
        </Border>
    </Grid>
</UserControl>
