| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <windows:WinBase
- x:Class="SAGA.MBI.WinView.ModeInfoMaintenance.WinInsuerContractInfo"
- 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:userControl="clr-namespace:SAGA.DotNetUtils.WPF.UserControl;assembly=SAGA.DotNetUtils"
- xmlns:converter="clr-namespace:SAGA.DotNetUtils.WPF.Converter;assembly=SAGA.DotNetUtils"
- xmlns:windows="clr-namespace:SAGA.RevitUtils.Windows;assembly=SAGA.RevitUtils"
- xmlns:controls="http://schemas.FWind/xaml"
- WindowStartupLocation="CenterScreen"
- mc:Ignorable="d" Title="维护保险公司保单相关信息"
- Height="460" Width="350">
- <Window.Resources>
- <converter:StringToImageConverter x:Key="StringToImageConverter"/>
- </Window.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="60"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="60"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="2"></RowDefinition>
- </Grid.RowDefinitions>
- <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Text="{Binding InsurerInfo}" TextWrapping="WrapWithOverflow"></TextBlock>
- <Border Grid.Row="1" VerticalAlignment="Top" BorderThickness="1" BorderBrush="Silver" Height="1" Margin="5,0"></Border>
- </Grid>
- <Grid Grid.Row="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="60"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="60"></RowDefinition>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" HorizontalAlignment="Left" Margin="20,0,20,10" VerticalAlignment="Bottom">
- <Label Content="保单号:"></Label>
- <TextBox Width="290" Height="24" VerticalContentAlignment="Center" controls:TextWatermark.UseWatermark="True" controls:TextWatermark.ShowInfo="输入保单号"
- Text="{Binding Path=ContractNO,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
- </StackPanel>
- <GroupBox Grid.Row="1" Header="从已有保单号中选择" Margin="20,0">
- <ListBox ItemsSource="{Binding Path=Contracts}"
- SelectedItem="{Binding Path=CurrentContract}"
- DisplayMemberPath="ContractNO">
- </ListBox>
- </GroupBox>
- <StackPanel Grid.Row="2" HorizontalAlignment="Left" Margin="20,0,20,10" VerticalAlignment="Bottom">
- <Label Content="保险文件:"></Label>
- <userControl:SelectFile_Hyperlink Width="290" Height="26"
- VerticalContentAlignment="Center" HorizontalAlignment="Left"
- Text="{Binding Path=File,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- BtnImage="{Binding Path=BtnImagePath,Converter={StaticResource StringToImageConverter}}"
- Tag="{Binding FilePath,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></userControl:SelectFile_Hyperlink>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2">
- <Button Width="100" Height="24" Content="确定" IsDefault="True"
- Command="{Binding Path=Commands.Save}"
- CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}}"></Button>
- </Grid>
- </Grid>
- </windows:WinBase>
|