<!--
/*
** 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.CalendarInitWindow"
        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" 
        xmlns:sys="clr-namespace:System;assembly=mscorlib" 
        Title="{x:Static src:Properties.Resources.calendar_init_screen_name}" Height="516" Width="462"
        ResizeMode="NoResize" FontSize="11" FontFamily="Meiryo">
    <Window.Resources>
        <x:Array x:Key="Days" Type="sys:Int32">
            <sys:Int32>1</sys:Int32>
            <sys:Int32>2</sys:Int32>
            <sys:Int32>3</sys:Int32>
            <sys:Int32>4</sys:Int32>
            <sys:Int32>5</sys:Int32>
            <sys:Int32>6</sys:Int32>
            <sys:Int32>7</sys:Int32>
            <sys:Int32>8</sys:Int32>
            <sys:Int32>9</sys:Int32>
            <sys:Int32>10</sys:Int32>
            <sys:Int32>11</sys:Int32>
            <sys:Int32>12</sys:Int32>
            <sys:Int32>13</sys:Int32>
            <sys:Int32>14</sys:Int32>
            <sys:Int32>15</sys:Int32>
            <sys:Int32>16</sys:Int32>
            <sys:Int32>17</sys:Int32>
            <sys:Int32>18</sys:Int32>
            <sys:Int32>19</sys:Int32>
            <sys:Int32>20</sys:Int32>
            <sys:Int32>21</sys:Int32>
            <sys:Int32>22</sys:Int32>
            <sys:Int32>23</sys:Int32>
            <sys:Int32>24</sys:Int32>
            <sys:Int32>25</sys:Int32>
            <sys:Int32>26</sys:Int32>
            <sys:Int32>27</sys:Int32>
            <sys:Int32>28</sys:Int32>
            <sys:Int32>29</sys:Int32>
            <sys:Int32>30</sys:Int32>
            <sys:Int32>31</sys:Int32>
        </x:Array>
    </Window.Resources>
    <Grid Height="482">
        <TextBlock Height="105" HorizontalAlignment="Left" Text="{x:Static src:Properties.Resources.calendar_init_screen_language}" Margin="17,12,0,0" Name="textBlock1" VerticalAlignment="Top" Width="408" FontSize="13">
        </TextBlock>
        <Label Margin="23,135,0,295" Content="{x:Static src:Properties.Resources.day_week_checkbox_text}" HorizontalAlignment="Left" Width="109" FontSize="11.5"/>
        <!--<GroupBox Header="groupBox1" Height="152" HorizontalAlignment="Left" Name="groupBox1" VerticalAlignment="Top" Width="217" Margin="184,126,0,0">-->
        <GroupBox Header="" Height="140" HorizontalAlignment="Left" Margin="176,123,0,0" Name="groupBox1" VerticalAlignment="Top" Width="124">
            <StackPanel Height="130" Width="113" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <CheckBox Content="{x:Static src:Properties.Resources.sun_day_checkbox_text}" Height="14" Name="checkBox_sun" Width="99"  Margin="0,0,0,0"/>
                <CheckBox Content="{x:Static src:Properties.Resources.mon_day_checkbox_text}" Height="14" Margin="0,3,0,0" Name="checkBox_mon" Width="99" />
                <CheckBox Content="{x:Static src:Properties.Resources.tue_day_checkbox_text}" Height="14" Margin="0,3,0,0" Name="checkBox_tue" Width="99" />
                <CheckBox Content="{x:Static src:Properties.Resources.wed_day_checkbox_text}" Height="14" Margin="0,3,0,0" Name="checkBox_wed" Width="99" />
                <CheckBox Content="{x:Static src:Properties.Resources.thu_day_checkbox_text}" Height="14" Margin="0,3,0,0" Name="checkBox_thu" Width="99" />
                <CheckBox Content="{x:Static src:Properties.Resources.fri_day_checkbox_text}" Height="14" Margin="0,3,0,0" Name="checkBox_fri" Width="99" />
                <CheckBox Content="{x:Static src:Properties.Resources.sat_day_checkbox_text}" Height="14" Margin="0,3,0,0" Name="checkBox_sat" Width="99" />
            </StackPanel>
        </GroupBox>
        <CheckBox Content="{x:Static src:Properties.Resources.begin_month_checkbox_text}" Margin="26,271,277,162" Name="checkBox_first" />
        <CheckBox Content="{x:Static src:Properties.Resources.end_month_checkbox_text}" Margin="26,290,309,0" Name="checkBox_last" VerticalAlignment="Top" />
        <Label Content="{x:Static src:Properties.Resources.every_month_checkbox_text}" Margin="23,321,0,107" HorizontalAlignment="Left" Width="148" FontSize="11.5"/>
        <ListBox Height="63" HorizontalAlignment="Left" Margin="177,321,0,0" Name="listBox1" VerticalAlignment="Top" Width="120" ItemsSource="{StaticResource Days}" SelectionMode="Multiple"/>
        <CheckBox Content="{x:Static src:Properties.Resources.not_init_checkbox_text}" HorizontalAlignment="Left" Margin="26,400,0,38" Name="checkBox_init" Width="186" IsChecked="True"/>
        <Button Content="{x:Static src:Properties.Resources.regist_button_text}" Height="23" HorizontalAlignment="Left" Margin="249,440,0,0" Name="register" VerticalAlignment="Top" Width="75" Click="register_Click" IsDefault="True" FontSize="11.5"/>
        <Button Content="{x:Static src:Properties.Resources.cancel_button_text}" Height="23" HorizontalAlignment="Left" Margin="330,440,0,0" Name="cancel" VerticalAlignment="Top" Width="75" Click="cancel_Click" IsCancel="True" FontSize="11.5"/>

    </Grid>
</src:BaseWindow>
