| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- <Window x:Class="Muchinfo.MTPClient.Bank.Views.BankTerminationView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:password="clr-namespace:Muchinfo.WPF.Controls.Password;assembly=Client.WPF.Controls"
- xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
- xmlns:windows="clr-namespace:Muchinfo.MTPClient.Infrastructure.Windows;assembly=Client.Infrastructure"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- Name="win_BankTerminationView"
- Title="{x:Static resource:Client_Resource.Bank_Termination_Title}"
- Height="530"
- ResizeMode="NoResize"
- ShowInTaskbar="False"
- Style="{DynamicResource DialogWindowStyle}"
- WindowStartupLocation="CenterOwner">
- <!-- DataContext="{Binding BankTerminationViewModel, Source={StaticResource Locator}}" -->
- <Window.Resources>
- <BooleanToVisibilityConverter x:Key="BoolCovertVisibility" />
- <Style TargetType="{x:Type TextBlock}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="Width" Value="110" />
- <Setter Property="Margin" Value="0,0,8,0" />
- <Setter Property="TextAlignment" Value="Right" />
- <Setter Property="Foreground" Value="{DynamicResource MainForegroundBrush}" />
- </Style>
- <Style BasedOn="{StaticResource CommonTextBoxStyle}" TargetType="{x:Type TextBox}">
- <Setter Property="IsEnabled" Value="False" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Height" Value="25" />
- <Setter Property="Width" Value="300" />
- </Style>
- </Window.Resources>
- <xctk:BusyIndicator BusyContent="{Binding BusyContent,
- Mode=TwoWay}"
- Foreground="{DynamicResource MuchinfoBrush106}"
- IsBusy="{Binding IsBusy,
- Mode=TwoWay}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="auto" />
- </Grid.RowDefinitions>
- <Grid Name="grid_FillInfo"
- Margin="10,10"
- HorizontalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="1"
- Margin="5"
- Orientation="Horizontal">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_SignBankName}" />
- <ComboBox Width="300"
- DisplayMemberPath="CusBankName"
- ItemsSource="{Binding SignBankList}"
- SelectedItem="{Binding CurrentSigningBank}"
- Style="{DynamicResource SimpleComboBoxStyle}" />
- </StackPanel>
- <StackPanel Grid.Row="2"
- Margin="5"
- Orientation="Horizontal">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_OpenAccountBankName}" />
- <TextBox IsEnabled="true"
- IsReadOnly="true"
- Text="{Binding CurrentSigningBank.Name}" />
- </StackPanel>
- <!--
- <StackPanel Grid.Row="3"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.BranchVisibility}">
- <TextBlock Text="开户银行支行" />
- <TextBox Height="25"
- VerticalContentAlignment="Center"
- IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.BranchBankName}" />
- </StackPanel>
- -->
- <StackPanel Grid.Row="4"
- Margin="5"
- Orientation="Horizontal">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_AccountName}" />
- <TextBox IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.AccountName}" />
- </StackPanel>
- <StackPanel Grid.Row="5"
- Margin="5"
- Orientation="Horizontal">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_BankAccount}" />
- <TextBox IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.BankAccount}" />
- </StackPanel>
- <StackPanel Grid.Row="6"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.PaymentNumberVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_PaymentNumber}" />
- <TextBox IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.PaymentNumber}" />
- </StackPanel>
- <StackPanel Grid.Row="7"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.ProtocolNumberVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_ProtocolNumber}" />
- <TextBox IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.ProtocolNumber}" />
- </StackPanel>
- <StackPanel Grid.Row="8"
- Margin="5"
- Orientation="Horizontal"
- Visibility="Collapsed">
- <TextBlock Margin="8,0,8,0" Text="{x:Static resource:Client_Resource.Content_CredentialTypeName}" />
- <TextBox Height="25"
- VerticalContentAlignment="Center"
- IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CredentialTypeName}" />
- </StackPanel>
- <StackPanel Grid.Row="9"
- Margin="5"
- Orientation="Horizontal"
- Visibility="Collapsed">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_CredentialNumber}" />
- <TextBox IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.CredentialNumber}" />
- </StackPanel>
- <StackPanel Grid.Row="10"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.AgentNameVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_AgentName}" />
- <TextBox Width="300"
- IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.AgentName}" />
- </StackPanel>
- <StackPanel Grid.Row="11"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.AgentCIDNumberVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock Margin="0,6,8,6" Text="{x:Static resource:Client_Resource.Content_CurrentSigningBank_AgentCID}" />
- <TextBox IsEnabled="True"
- IsReadOnly="True"
- Text="{Binding CurrentSigningBank.AgentCID}" />
- </StackPanel>
- <StackPanel Grid.Row="12"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.BankPasswordVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock HorizontalAlignment="Right" Text="{x:Static resource:Client_Resource.Content_BankPassword}" />
- <PasswordBox x:Name="BankPassWord1"
- Width="300"
- Height="25"
- HorizontalAlignment="Left"
- FontFamily="Simsun, Microsoft YaHei"
- password:PasswordHelper.Attach="True"
- password:PasswordHelper.Password="{Binding CurrentSigningBank.BankPassword,
- Mode=TwoWay,
- UpdateSourceTrigger=PropertyChanged}" />
- </StackPanel>
- <StackPanel Grid.Row="13"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.DrawIdentifyCodeVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock HorizontalAlignment="Right" Text="{x:Static resource:Client_Resource.Content_DrawIdentifyCode}" />
- <PasswordBox x:Name="DrawIdentifyCode1"
- Width="300"
- Height="25"
- HorizontalAlignment="Left"
- FontFamily="Simsun, Microsoft YaHei"
- password:PasswordHelper.Attach="True"
- password:PasswordHelper.Password="{Binding CurrentSigningBank.DrawIdentifyCode,
- Mode=TwoWay,
- UpdateSourceTrigger=PropertyChanged}" />
- </StackPanel>
- <StackPanel Grid.Row="15"
- Grid.ColumnSpan="2"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding BranchMessage,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock Width="auto"
- Foreground="Red"
- Text="{x:Static resource:Client_Resource.Bank_Termination_Message}" />
- </StackPanel>
- <StackPanel Grid.Row="15"
- Grid.ColumnSpan="2"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding NetMessage,
- Converter={StaticResource BoolCovertVisibility}}">
- <TextBlock Width="auto"
- Foreground="Red"
- Text="{Binding NetWorkSignTips}" />
- </StackPanel>
- <StackPanel Grid.Row="18"
- Margin="5"
- Orientation="Horizontal"
- Visibility="{Binding CurrentSigningBank.IdentifyCodeVisibility,
- Converter={StaticResource BoolCovertVisibility}}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="60" />
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <TextBlock HorizontalAlignment="Right" Text="验证码" />
- <TextBox Grid.Column="1"
- Width="120"
- Margin="10,0,0,0"
- HorizontalAlignment="Left"
- Text="{Binding CurrentSigningBank.IdentifyCode}" />
- <Button Grid.Column="2"
- Width="120"
- Margin="10,0,0,0" IsEnabled="{Binding IsEnalbe}"
- HorizontalAlignment="Left"
- Content="{Binding CurrentTick}" />
- </Grid>
- </StackPanel>
- </Grid>
- <StackPanel Grid.Row="1"
- Margin="5"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Button Name="bnt_OK"
- Width="100"
- Height="25"
- Margin="0,0,50,0"
- Command="{Binding OkCommand}"
- CommandParameter="{Binding ElementName=win_BankTerminationView}"
- Content="{x:Static resource:Client_Resource.Button_Ok}"
- IsEnabled="{Binding IsOKEnable}"
- Style="{DynamicResource CommonButtonStyle}" />
- <!--
- Background="{DynamicResource MuchinfoBrush52}"
- BorderBrush="{DynamicResource MuchinfoBrush13}"
- -->
- <Button Name="bnt_Cancel"
- Width="100"
- Height="25"
- Command="{Binding CancelCommand}"
- CommandParameter="{Binding ElementName=win_BankTerminationView}"
- Content="{x:Static resource:Client_Resource.Button_Cancel}"
- Style="{DynamicResource CommonButtonStyle}" />
- <!--
- Background="{DynamicResource MuchinfoBrush52}"
- BorderBrush="{DynamicResource MuchinfoBrush13}"
- -->
- </StackPanel>
- </Grid>
- </xctk:BusyIndicator>
- </Window>
|