| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <Window x:Class="Muchinfo.MTPClient.Bank.Views.MotifyPhoneView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:converters="clr-namespace:Muchinfo.MTPClient.Infrastructure.Converters;assembly=Client.Infrastructure"
- xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- x:Name="modifyWindow"
- Title="{x:Static resource:Client_Resource.Bank_ModifySignPhone}"
- Width="400"
- Height="240"
- ShowInTaskbar="False"
- Style="{DynamicResource DialogWindowStyle}">
- <Window.Resources>
- <BooleanToVisibilityConverter x:Key="ToVisibilityConverter" />
- <converters:BoolOpposedVisibility x:Key="OpposedVisibility" />
- </Window.Resources>
- <xctk:BusyIndicator IsBusy="{Binding IsBusy, Mode=TwoWay}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="120" />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="20" />
- <RowDefinition Height="50" />
- <RowDefinition Height="50" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="1"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.Content_Contact}" />
- <TextBox Grid.Row="1"
- Grid.Column="1"
- Width="120"
- Margin="5,1,0,1"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Style="{DynamicResource TextBoxStyle}"
- Text="{Binding MobilePhone,
- UpdateSourceTrigger=PropertyChanged}" />
- <TextBlock Grid.Row="2"
- Grid.Column="0"
- Margin="5,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.Money_IdentifyCode}"
- Visibility="{Binding IsShowIdentifyCode,
- Converter={StaticResource ToVisibilityConverter}}" />
- <StackPanel Grid.Row="2"
- Grid.Column="1"
- Margin="5,1,0,1"
- Orientation="Horizontal">
- <TextBox Width="90"
- Margin="0"
- VerticalAlignment="Center"
- Style="{DynamicResource TextBoxStyle}"
- Text="{Binding CurrentSigningBank.IdentifyCode}" />
- <TextBlock Margin="5,0,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{Binding CurrentTick}"
- Visibility="{Binding IsEnalbe,
- Converter={StaticResource OpposedVisibility}}" />
- <Button Margin="5,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Command="{Binding IdentifyCodeCommand}"
- Content="{x:Static resource:Client_Resource.Content_GetIdentifyCode}"
- IsEnabled="{Binding IsEnalbe}"
- Padding="3,2"
- Style="{DynamicResource CommonButtonStyle}"
- Visibility="{Binding IsEnalbe,
- Converter={StaticResource ToVisibilityConverter}}" />
- </StackPanel>
- <StackPanel Grid.Row="4"
- Grid.RowSpan="2"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Button Width="82"
- Height="26"
- Command="{Binding OKCommand}"
- CommandParameter="{Binding ElementName=modifyWindow}"
- Content="{x:Static resource:Client_Resource.Button_Confirm}"
- IsDefault="True"
- IsEnabled="{Binding OKButtonEnabled}"
- Style="{DynamicResource CommonButtonStyle}"
- TabIndex="5" />
- <Button Width="82"
- Height="26"
- Margin="60,0,0,0"
- Click="ButtonBase_OnClick"
- Content="{x:Static resource:Client_Resource.Button_Cancel}"
- Style="{DynamicResource CommonButtonStyle}"
- TabIndex="6" />
- </StackPanel>
- </Grid>
- </xctk:BusyIndicator>
- </Window>
|