<!--
/*
** 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.LoginWindow"
        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.login_screen_name}" Height="308" Width="500" 
        KeyDown="OnKeyDownHandler" FontSize="11" FontFamily="Meiryo">
    <Grid Name="grid1" Height="260" Width="484">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="121" />
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="91" />
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <TextBlock Grid.ColumnSpan="2" Height="77" HorizontalAlignment="Left" Margin="20,12,0,0" Name="textBlock1" VerticalAlignment="Top" Width="401" Text="{x:Static src:Properties.Resources.login_screen_language}"/>
        <TextBlock Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="20,0,0,0" Name="textBlock2" Text="{x:Static src:Properties.Resources.login_screen_jobcontrol_label}" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="135" />
        <ComboBox Grid.Row="1" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="30,0,0,0" Name="comboBox_jobarg" VerticalAlignment="Top" Width="171" 
                  ItemsSource="{Binding DBInfos}" 
                  DisplayMemberPath="JobconName" 
                  SelectedValuePath="ConnnectStr"
                  SelectedValue="{Binding DBConnectStr}"/>
        <TextBlock Grid.Row="2" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="20,0,0,0" Name="textBlock3" Text="{x:Static src:Properties.Resources.login_screen_user_label}" VerticalAlignment="Top" />
        <TextBox Grid.Row="2" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="30,0,0,0" Name="textBox_user" VerticalAlignment="Top" Width="171" VerticalContentAlignment="Center"/>
        <TextBlock Grid.Row="3" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="20,0,0,0" Name="textBlock4" Text="{x:Static src:Properties.Resources.login_screen_passwd_label}" VerticalAlignment="Top" TextAlignment="Justify" />
        <PasswordBox  Grid.Row="3" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="30,0,0,0" Name="passBox_pass" VerticalAlignment="Top" Width="171" />
        <Grid Grid.Row="4" Grid.ColumnSpan="2">
            <Button Content="{x:Static src:Properties.Resources.login_button_text}" Height="23" HorizontalAlignment="Left" Margin="288,40,0,0" Name="login_button" VerticalAlignment="Top" Width="75" Click="login_buttonClick" />
            <Button Content="{x:Static src:Properties.Resources.cancel_button_text}" Height="23" HorizontalAlignment="Left" Margin="366,40,0,0" Name="cancel_button" VerticalAlignment="Top" Width="75" Click="cancel_buttonClick" IsCancel="True"/>
        </Grid>
    </Grid>
</src:BaseWindow >
