<!--
/*
** 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.JobEdit.Cal"
             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" 
             FontSize="10" FontFamily="Meiryo">
    <Canvas x:Name="LayoutRoot"    Background="Transparent" >

        <Polyline Name="picCalc" Points="20,30 0,0 82,0 62,30 20,30"
                  Canvas.Top="0" Canvas.Left="0" Stroke="Gray" Fill="#FFCCCCFF">
        </Polyline>

        <TextBlock Style="{StaticResource TextBlockServiceStyle}" Canvas.ZIndex="101" Name="tbJobId" Foreground="Black" Text=""    
                     Tag="{Binding Path=JobId, NotifyOnTargetUpdated=True}" TargetUpdated="textBlockJobId_TargetUpdated"  
                     VerticalAlignment="Center" HorizontalAlignment="Center" MaxWidth="90"
                     Height="13" Width="85" Canvas.Left="0" Canvas.Top="2" FontWeight="Normal" TextAlignment="Center">

        </TextBlock>
        <TextBlock  Style="{StaticResource TextBlockServiceStyle}" Canvas.ZIndex="101" Name="tbJobName" Foreground="Black"  Text="計算" 
                     Tag="{Binding Path=JobName, NotifyOnTargetUpdated=True}" TargetUpdated="textBlockJobName_TargetUpdated"
                     VerticalAlignment="Center" HorizontalAlignment="Center" MaxWidth="90"
                     Height="15" Width="67"  Canvas.Left="8" Canvas.Top="16" FontWeight="Normal"
                     TextAlignment="Center">
        </TextBlock>

        <Rectangle Name="HotspotLeft" Width="5" Height="5" Canvas.ZIndex="101" Fill="Blue" Stroke="White"
                   Canvas.Left="8" Canvas.Top="14"
                   StrokeThickness="1" RadiusX="0" RadiusY="0" Opacity="1.0" Visibility="Collapsed">
        </Rectangle>
        <Rectangle Name="HotspotTop" Width="5" Height="5" Canvas.ZIndex="101" Fill="Blue" Stroke="White"
                   Canvas.Left="40" Canvas.Top="-2"
                   StrokeThickness="1" RadiusX="0" RadiusY="0"
                   Opacity="1.0" Visibility="Collapsed">
        </Rectangle>
        <Rectangle Name="HotspotRight" Width="5" Height="5" Canvas.ZIndex="101" Fill="Blue" Stroke="White"
                   Canvas.Left="70" Canvas.Top="14"
                   StrokeThickness="1" RadiusX="0" RadiusY="0" Opacity="1.0" Visibility="Collapsed">
        </Rectangle>
        <Rectangle Name="HotspotBottom" Width="5" Height="5" Canvas.ZIndex="101" Fill="Blue" Stroke="White"
                   Canvas.Left="40" Canvas.Top="28"
                   StrokeThickness="1" RadiusX="0" RadiusY="0" Opacity="1.0" Visibility="Collapsed">
        </Rectangle>
        <Polyline Name="picToolTip" Canvas.ZIndex="10000" Points="20,30 0,0 82,0 62,30 20,30"
                  Canvas.Top="0" Canvas.Left="0" Stroke="Transparent" Fill="Transparent">
        </Polyline>
    </Canvas>


</UserControl>
