AmountManagerView.xaml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <Window x:Class="Muchinfo.MTPClient.Bank.Views.AmountManagerView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:button="clr-namespace:Muchinfo.WPF.Controls.Button;assembly=Client.WPF.Controls"
  5. xmlns:converters="clr-namespace:Muchinfo.MTPClient.Infrastructure.Converters;assembly=Client.Infrastructure"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:password="clr-namespace:Muchinfo.WPF.Controls.Password;assembly=Client.WPF.Controls"
  9. xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
  10. xmlns:windows="clr-namespace:Muchinfo.MTPClient.Infrastructure.Windows;assembly=Client.Infrastructure"
  11. xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
  12. x:Name="AccountManagerView"
  13. Title="{Binding TitleName}"
  14. Width="620"
  15. Height="430"
  16. ShowInTaskbar="False"
  17. Style="{DynamicResource DialogWindowStyle}"
  18. WindowStartupLocation="CenterOwner"
  19. mc:Ignorable="d">
  20. <Window.Resources>
  21. <Style TargetType="{x:Type TextBlock}">
  22. <Setter Property="Foreground" Value="{DynamicResource MainForegroundBrush}" />
  23. </Style>
  24. <BooleanToVisibilityConverter x:Key="ToVisibilityConverter" />
  25. <converters:BoolOpposedVisibility x:Key="OpposedVisibility" />
  26. <!--
  27. <Style TargetType="{x:Type TextBox}">
  28. <Setter Property="VerticalContentAlignment" Value="Center" />
  29. </Style>
  30. -->
  31. <Style x:Key="TextBoxStyle" TargetType="TextBox">
  32. <Setter Property="Margin" Value="5,1,0,1" />
  33. <Setter Property="HorizontalAlignment" Value="Left" />
  34. <Setter Property="Height" Value="23" />
  35. <Setter Property="Template">
  36. <Setter.Value>
  37. <ControlTemplate TargetType="{x:Type TextBox}">
  38. <Border x:Name="border"
  39. Width="Auto"
  40. BorderBrush="DarkGray"
  41. BorderThickness="1">
  42. <Grid x:Name="grid" Background="#FFFFFF">
  43. <ScrollViewer x:Name="PART_ContentHost"
  44. HorizontalAlignment="Left"
  45. VerticalAlignment="Center"
  46. VerticalContentAlignment="Center" />
  47. </Grid>
  48. </Border>
  49. </ControlTemplate>
  50. </Setter.Value>
  51. </Setter>
  52. </Style>
  53. </Window.Resources>
  54. <xctk:BusyIndicator BusyContent="{Binding BusyContent}"
  55. Foreground="{DynamicResource MuchinfoBrush106}"
  56. IsBusy="{Binding IsBusy,
  57. Mode=TwoWay}">
  58. <Grid>
  59. <Grid.RowDefinitions>
  60. <RowDefinition Height="Auto" />
  61. <RowDefinition Height="*" />
  62. <RowDefinition Height="Auto" />
  63. </Grid.RowDefinitions>
  64. <Grid.ColumnDefinitions>
  65. <ColumnDefinition Width="*" />
  66. <ColumnDefinition Width="*" />
  67. </Grid.ColumnDefinitions>
  68. <Border Grid.ColumnSpan="2"
  69. Margin="10,2"
  70. BorderBrush="{DynamicResource InnerBorderBrush}"
  71. BorderThickness="1"
  72. CornerRadius="4"
  73. Visibility="{Binding IsShowInTips,
  74. Converter={StaticResource ToVisibilityConverter}}">
  75. <StackPanel Margin="0,4" Orientation="Horizontal">
  76. <TextBlock Text="{Binding InAmountTips}" />
  77. <Button Margin="20,0,0,0"
  78. Click="ButtonBase_OnClick"
  79. Content="{x:Static resource:Client_Resource.text_Button_ShowInGuide}"
  80. Style="{DynamicResource TextButtonStyle}" />
  81. </StackPanel>
  82. </Border>
  83. <Grid Grid.Row="1" Margin="20,10,5,10">
  84. <Grid.RowDefinitions>
  85. <RowDefinition Height="Auto" />
  86. <RowDefinition Height="Auto" />
  87. <RowDefinition Height="Auto" />
  88. <RowDefinition Height="Auto" />
  89. <RowDefinition Height="Auto" />
  90. <RowDefinition Height="*" />
  91. </Grid.RowDefinitions>
  92. <Grid.ColumnDefinitions>
  93. <ColumnDefinition Width="Auto" />
  94. <ColumnDefinition />
  95. </Grid.ColumnDefinitions>
  96. <!--
  97. <TextBlock VerticalAlignment="Center" Visibility="Collapsed" Text="业务类型:" />
  98. <ComboBox
  99. VerticalAlignment="Center"
  100. DisplayMemberPath="Value"
  101. Grid.Column="1"
  102. Visibility="Collapsed"
  103. ItemsSource="{Binding ApplyTypes}"
  104. SelectedValue="{Binding CurrentApplyType,
  105. Mode=TwoWay}"
  106. SelectedValuePath="Key" Grid.ColumnSpan="2" />
  107. <TextBlock VerticalAlignment="Center" Text="交易账户:" Visibility="Collapsed" Grid.Row="1" />
  108. <ComboBox Grid.Row="1"
  109. Grid.Column="1"
  110. Visibility="Collapsed"
  111. Grid.ColumnSpan="2"
  112. VerticalAlignment="Center"
  113. DisplayMemberPath="TradeCode"
  114. ItemsSource="{Binding TradeAccountList}"
  115. SelectedIndex="0"
  116. SelectedItem="{Binding CurrentTradeAccount,
  117. Mode=TwoWay}" />
  118. -->
  119. <TextBlock Margin="0,0,0,5"
  120. VerticalAlignment="Center"
  121. Text="{x:Static resource:Client_Resource.Bank_Views_AvailableFund}"
  122. Visibility="{Binding OutVisibility}" />
  123. <TextBox Grid.Column="1"
  124. Height="23"
  125. Margin="10,0,10,5"
  126. VerticalAlignment="Center"
  127. IsReadOnly="True"
  128. Text="{Binding UseAmount,
  129. Mode=OneWay}"
  130. Visibility="{Binding OutVisibility}" />
  131. <TextBlock Grid.Row="1"
  132. Grid.Column="0"
  133. VerticalAlignment="Center"
  134. Text="{x:Static resource:Client_Resource.Bank_Views_WithdrawAmount}"
  135. Visibility="{Binding OutVisibility}" />
  136. <TextBlock Grid.Row="1"
  137. Grid.Column="0"
  138. VerticalAlignment="Center"
  139. Text="{x:Static resource:Client_Resource.Bank_Views_DepositAmount}"
  140. Visibility="{Binding InVisibility}" />
  141. <TextBox Grid.Row="1"
  142. Grid.Column="1"
  143. Height="23"
  144. Margin="10,5"
  145. VerticalAlignment="Center"
  146. GotFocus="GetFocus"
  147. KeyUp="TextBox_KeyUp"
  148. Text="{Binding Money,
  149. Mode=TwoWay,
  150. UpdateSourceTrigger=PropertyChanged}"
  151. TextChanged="TextBox_TextChanged"
  152. UndoLimit="0" />
  153. <TextBlock Grid.Row="2"
  154. Grid.Column="1"
  155. Text="{x:Static resource:Client_Resource.DepositAmount_ModifyTips}"
  156. Visibility="{Binding IsShowModifyTips,
  157. Converter={StaticResource ToVisibilityConverter}}" />
  158. <TextBox Name="txt_ChineseNumber"
  159. Grid.Row="3"
  160. Grid.Column="1"
  161. Height="23"
  162. Margin="10,5"
  163. HorizontalContentAlignment="Stretch"
  164. VerticalContentAlignment="Center"
  165. BorderThickness="1"
  166. IsReadOnly="True"
  167. Text="{Binding ChineseNumber,
  168. Mode=TwoWay}" />
  169. <button:ImageButton Grid.Row="0"
  170. Grid.Column="1"
  171. Margin="0,0,16,5"
  172. HorizontalAlignment="Right"
  173. VerticalAlignment="Center"
  174. Command="{Binding RefreshCommand}"
  175. HoverImageSource="{DynamicResource AccoutRefresh}"
  176. ImageHeight="16"
  177. ImageWidth="16"
  178. NormalImageSource="{DynamicResource AccoutRefresh}"
  179. PressedImageSource="{DynamicResource AccoutRefresh}"
  180. ToolTip="{x:Static resource:Client_Resource.Bank_Views_Refresh}"
  181. Visibility="{Binding OutVisibility}" />
  182. <TextBlock Grid.Row="4"
  183. Grid.Column="0"
  184. VerticalAlignment="Center"
  185. Text="{x:Static resource:Client_Resource.Bank_Views_FundPassword}" />
  186. <!--
  187. <Grid Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2">
  188. <Grid.ColumnDefinitions>
  189. <ColumnDefinition Width="*" />
  190. <ColumnDefinition Width="Auto" />
  191. </Grid.ColumnDefinitions>
  192. -->
  193. <PasswordBox Grid.Row="4"
  194. Grid.Column="1"
  195. Height="23"
  196. Margin="10,5"
  197. VerticalAlignment="Center"
  198. FontFamily="Simsun, Microsoft YaHei"
  199. password:PasswordHelper.Attach="True"
  200. password:PasswordHelper.Password="{Binding Password,
  201. Mode=TwoWay,
  202. UpdateSourceTrigger=PropertyChanged}" />
  203. <!--
  204. <Button Grid.Column="1"
  205. Margin="5,0,0,0"
  206. HorizontalAlignment="Left"
  207. VerticalAlignment="Center"
  208. Command="{Binding OpenKeyboardCommand}"
  209. CommandParameter="{Binding ElementName=UserpasswoBox}"
  210. Padding="0">
  211. <Image Width="25"
  212. HorizontalAlignment="Center"
  213. VerticalAlignment="Center"
  214. Source="{DynamicResource KeyboardImageSource}" />
  215. </Button>
  216. </Grid>
  217. -->
  218. <TextBlock Grid.Row="5"
  219. Margin="0,10"
  220. Text="{x:Static resource:Client_Resource.Bank_Views_Remarks}" />
  221. <TextBox Grid.Row="5"
  222. Grid.Column="1"
  223. Height="90"
  224. Margin="10,5"
  225. VerticalAlignment="Top"
  226. AcceptsReturn="True"
  227. Text="{Binding Remark,
  228. Mode=TwoWay}"
  229. TextWrapping="Wrap"
  230. VerticalScrollBarVisibility="Auto" />
  231. </Grid>
  232. <!--
  233. <Border Height="188"
  234. Margin="0,10"
  235. HorizontalAlignment="Right"
  236. BorderBrush="{DynamicResource MuchinfoBrush53}"
  237. BorderThickness="1" />
  238. -->
  239. <!--
  240. <Border Grid.Row="0"
  241. Grid.Column="1"
  242. Margin="14,20"
  243. VerticalAlignment="Top"
  244. BorderBrush="{DynamicResource MuchinfoBrush3}"
  245. BorderThickness="1"
  246. CornerRadius="4">
  247. <Grid Margin="-1,0,1,0" Background="{DynamicResource MuchinfoBrush51}">
  248. <Grid.RowDefinitions>
  249. <RowDefinition Height="32" />
  250. <RowDefinition Height="32" />
  251. <RowDefinition Height="32" />
  252. <RowDefinition Height="32" />
  253. <RowDefinition Height="32" />
  254. <RowDefinition Height="32" />
  255. </Grid.RowDefinitions>
  256. <Grid.ColumnDefinitions>
  257. <ColumnDefinition Width="Auto" />
  258. <ColumnDefinition />
  259. </Grid.ColumnDefinitions>
  260. <Border Grid.ColumnSpan="2" Background="{DynamicResource MuchinfoBrush3}">
  261. <TextBlock HorizontalAlignment="Center"
  262. VerticalAlignment="Center"
  263. FontSize="16"
  264. FontWeight="Bold"
  265. Text="{x:Static resource:Client_Resource.Bank_Views_BankDate}" />
  266. </Border>
  267. <TextBlock Grid.Row="1"
  268. Grid.Column="0"
  269. Margin="8,0,0,0"
  270. VerticalAlignment="Center"
  271. Text="{x:Static resource:Client_Resource.Bank_Views_AccountName}" />
  272. <TextBox Grid.Row="1"
  273. Grid.Column="1"
  274. Height="23"
  275. Margin="8,0"
  276. IsEnabled="False"
  277. Style="{DynamicResource TextBoxStyle}"
  278. Text="{Binding CurrentSigningBank.AccountName,
  279. Mode=TwoWay}" />
  280. <TextBlock Grid.Row="2"
  281. Grid.Column="0"
  282. Margin="8,0,0,0"
  283. VerticalAlignment="Center"
  284. Text="{x:Static resource:Client_Resource.Bank_Views_SignBank}" />
  285. <ComboBox Grid.Row="2"
  286. Grid.Column="1"
  287. Height="23"
  288. Margin="8,0"
  289. DisplayMemberPath="CusBankName"
  290. ItemsSource="{Binding SignBankList}"
  291. SelectedItem="{Binding CurrentSigningBank}"
  292. Style="{DynamicResource SimpleComboBoxStyle}" />
  293. <TextBlock Grid.Row="3"
  294. Grid.Column="0"
  295. Margin="8,0,0,0"
  296. VerticalAlignment="Center"
  297. Text="{x:Static resource:Client_Resource.Bank_Views_OpenAccountBank}" />
  298. <TextBox Grid.Row="3"
  299. Grid.Column="1"
  300. Height="23"
  301. Margin="8,0"
  302. IsEnabled="False"
  303. Style="{DynamicResource TextBoxStyle}"
  304. Text="{Binding CurrentSigningBank.Name,
  305. Mode=TwoWay}" />
  306. -->
  307. <!--
  308. <TextBlock Grid.Row="4"
  309. Grid.Column="0"
  310. Margin="8,0,0,0"
  311. VerticalAlignment="Center"
  312. Text="开户支行" />
  313. <Label Grid.Row="4"
  314. Grid.Column="1"
  315. Height="23"
  316. Margin="8,0"
  317. Content="{Binding CurrentSigningBank.BranchBankName,
  318. Mode=TwoWay}" />
  319. -->
  320. <!--
  321. <TextBlock Grid.Row="4"
  322. Grid.Column="0"
  323. Margin="8,0,0,0"
  324. VerticalAlignment="Center"
  325. Text="{x:Static resource:Client_Resource.Bank_Views_BankAccount}" />
  326. <TextBox Grid.Row="4"
  327. Grid.Column="1"
  328. Height="23"
  329. Margin="8,0"
  330. IsEnabled="False"
  331. Style="{DynamicResource TextBoxStyle}"
  332. Text="{Binding CurrentSigningBank.BankAccount,
  333. Mode=TwoWay}" />
  334. <TextBlock Grid.Row="5"
  335. Grid.Column="0"
  336. Margin="8,0,0,0"
  337. VerticalAlignment="Center"
  338. IsEnabled="{Binding PhoneBankPassIsEnabled}"
  339. Text="{x:Static resource:Client_Resource.Bank_Views_TelPhonBankPassword}" />
  340. <PasswordBox Grid.Row="5"
  341. Grid.Column="1"
  342. Width="217"
  343. Height="23"
  344. Margin="8,0"
  345. HorizontalAlignment="Left"
  346. FontFamily="Simsun, Microsoft YaHei"
  347. IsEnabled="{Binding PhoneBankPassIsEnabled}"
  348. password:PasswordHelper.Password="{Binding PhoneBankPassword,
  349. Mode=TwoWay,
  350. UpdateSourceTrigger=PropertyChanged}" />
  351. -->
  352. <!--
  353. <TextBlock Grid.Row="3"
  354. Grid.Column="0"
  355. Text="身份证号:" />
  356. <TextBox Grid.Row="3"
  357. Grid.Column="1"
  358. Text="{Binding BankAccountInfo.IDNumber,
  359. Mode=TwoWay}" />
  360. <TextBlock Grid.Row="4"
  361. Grid.Column="0"
  362. Text="联系电话:" />
  363. <TextBox Grid.Row="4"
  364. Grid.Column="1"
  365. Text="{Binding BankAccountInfo.PhoneNumber,
  366. Mode=TwoWay}" />
  367. -->
  368. <!--
  369. </Grid>
  370. </Border>
  371. -->
  372. <GroupBox Grid.Row="1"
  373. Grid.Column="1"
  374. Margin="10,10,15,30"
  375. BorderBrush="{DynamicResource DialogWindowSeparatorBottom}"
  376. BorderThickness="1"
  377. Padding="5">
  378. <GroupBox.Header>
  379. <TextBlock FontWeight="Bold"
  380. Foreground="{DynamicResource DialogWindowTitleForeground}"
  381. Text="{x:Static resource:Client_Resource.Bank_Views_BankDate}" />
  382. </GroupBox.Header>
  383. <Grid Margin="-1,0,1,0" Background="{DynamicResource MuchinfoBrush51}">
  384. <Grid.RowDefinitions>
  385. <RowDefinition Height="0" />
  386. <RowDefinition Height="32" />
  387. <RowDefinition Height="32" />
  388. <RowDefinition Height="32" />
  389. <RowDefinition Height="32" />
  390. <RowDefinition Height="Auto" />
  391. <RowDefinition Height="32" />
  392. </Grid.RowDefinitions>
  393. <Grid.ColumnDefinitions>
  394. <ColumnDefinition Width="Auto" />
  395. <ColumnDefinition />
  396. </Grid.ColumnDefinitions>
  397. <TextBlock Grid.Row="1"
  398. Grid.Column="0"
  399. Margin="8,0,0,0"
  400. HorizontalAlignment="Right"
  401. VerticalAlignment="Center"
  402. Text="{x:Static resource:Client_Resource.Bank_Views_AccountName}" />
  403. <TextBox Grid.Row="1"
  404. Grid.Column="1"
  405. Width="140"
  406. Height="23"
  407. IsEnabled="False"
  408. Style="{DynamicResource TextBoxStyle}"
  409. Text="{Binding CurrentSigningBank.AccountName,
  410. Mode=TwoWay}" />
  411. <TextBlock Grid.Row="2"
  412. Grid.Column="0"
  413. Margin="8,0,0,0"
  414. HorizontalAlignment="Right"
  415. VerticalAlignment="Center"
  416. Text="{x:Static resource:Client_Resource.Bank_Views_SignBank}" />
  417. <ComboBox Grid.Row="2"
  418. Grid.Column="1"
  419. Width="140"
  420. Height="24"
  421. Margin="5,0,0,0"
  422. HorizontalAlignment="Left"
  423. DisplayMemberPath="CusBankName"
  424. ItemsSource="{Binding SignBankList}"
  425. SelectedItem="{Binding CurrentSigningBank}"
  426. Style="{DynamicResource SimpleComboBoxStyle}" />
  427. <TextBlock Grid.Row="3"
  428. Grid.Column="0"
  429. Margin="8,0,0,0"
  430. HorizontalAlignment="Right"
  431. VerticalAlignment="Center"
  432. Text="{x:Static resource:Client_Resource.Bank_Views_OpenAccountBank}" />
  433. <TextBox Grid.Row="3"
  434. Grid.Column="1"
  435. Width="140"
  436. Height="23"
  437. IsEnabled="False"
  438. Style="{DynamicResource TextBoxStyle}"
  439. Text="{Binding CurrentSigningBank.Name,
  440. Mode=TwoWay}" />
  441. <!--
  442. <TextBlock Grid.Row="4"
  443. Grid.Column="0"
  444. Margin="8,0,0,0"
  445. VerticalAlignment="Center"
  446. Text="开户支行" />
  447. <Label Grid.Row="4"
  448. Grid.Column="1"
  449. Height="23"
  450. Margin="8,0"
  451. Content="{Binding CurrentSigningBank.BranchBankName,
  452. Mode=TwoWay}" />
  453. -->
  454. <TextBlock Grid.Row="4"
  455. Grid.Column="0"
  456. Margin="8,0,0,0"
  457. HorizontalAlignment="Right"
  458. VerticalAlignment="Center"
  459. Text="{x:Static resource:Client_Resource.Bank_Views_BankAccount}" />
  460. <TextBox Grid.Row="4"
  461. Grid.Column="1"
  462. Width="140"
  463. Height="23"
  464. IsEnabled="False"
  465. Style="{DynamicResource TextBoxStyle}"
  466. Text="{Binding CurrentSigningBank.BankAccount,
  467. Mode=TwoWay}" />
  468. <TextBlock Grid.Row="5"
  469. Grid.Column="0"
  470. Margin="5,5,0,5"
  471. HorizontalAlignment="Right"
  472. VerticalAlignment="Center"
  473. Text="{x:Static resource:Client_Resource.Bank_Views_TelPhonBankPassword}"
  474. Visibility="{Binding PhoneBankPassIsEnabled,
  475. Converter={StaticResource ToVisibilityConverter}}" />
  476. <TextBlock Grid.Row="5"
  477. Grid.Column="0"
  478. Margin="5,5,0,5"
  479. HorizontalAlignment="Right"
  480. VerticalAlignment="Center"
  481. Text="{x:Static resource:Client_Resource.Content_DrawIdentifyCode}"
  482. Visibility="{Binding BankPassIsEnabled,
  483. Converter={StaticResource ToVisibilityConverter}}" />
  484. <PasswordBox Grid.Row="5"
  485. Grid.Column="1"
  486. Width="140"
  487. Height="23"
  488. Margin="5,5,0,5"
  489. HorizontalAlignment="Left"
  490. FontFamily="Simsun, Microsoft YaHei"
  491. IsEnabled="{Binding IsPassWordEnabled}"
  492. Visibility="{Binding IsPassWordEnabled,
  493. Converter={StaticResource ToVisibilityConverter}}"
  494. password:PasswordHelper.Password="{Binding PhoneBankPassword,
  495. Mode=TwoWay,
  496. UpdateSourceTrigger=PropertyChanged}" />
  497. <TextBlock Grid.Row="6"
  498. Grid.Column="0"
  499. Margin="5,0,0,0"
  500. HorizontalAlignment="Right"
  501. VerticalAlignment="Center"
  502. Text="{x:Static resource:Client_Resource.Money_IdentifyCode}"
  503. Visibility="{Binding IsShowIdentifyCode,
  504. Converter={StaticResource ToVisibilityConverter}}" />
  505. <StackPanel Grid.Row="6"
  506. Grid.Column="1"
  507. Margin="5,1,0,1"
  508. Orientation="Horizontal"
  509. Visibility="{Binding IsShowIdentifyCode,
  510. Converter={StaticResource ToVisibilityConverter}}">
  511. <TextBox Width="80"
  512. Margin="0"
  513. FontFamily="Simsun, Microsoft YaHei"
  514. Style="{DynamicResource TextBoxStyle}"
  515. Text="{Binding CurrentSigningBank.IdentifyCode}" />
  516. <TextBlock Margin="5,0,0,0"
  517. HorizontalAlignment="Center"
  518. VerticalAlignment="Center"
  519. Text="{Binding CurrentTick}"
  520. Visibility="{Binding IsEnalbe,
  521. Converter={StaticResource OpposedVisibility}}" />
  522. <Button Margin="5,0,0,0"
  523. HorizontalAlignment="Left"
  524. Command="{Binding IdentifyCodeCommand}"
  525. Content="{x:Static resource:Client_Resource.Content_GetIdentifyCode}"
  526. IsEnabled="{Binding IsEnalbe}"
  527. Padding="3,2"
  528. Style="{DynamicResource CommonButtonStyle}"
  529. Visibility="{Binding IsEnalbe,
  530. Converter={StaticResource ToVisibilityConverter}}" />
  531. </StackPanel>
  532. <!--
  533. <TextBlock Grid.Row="3"
  534. Grid.Column="0"
  535. Text="身份证号:" />
  536. <TextBox Grid.Row="3"
  537. Grid.Column="1"
  538. Text="{Binding BankAccountInfo.IDNumber,
  539. Mode=TwoWay}" />
  540. <TextBlock Grid.Row="4"
  541. Grid.Column="0"
  542. Text="联系电话:" />
  543. <TextBox Grid.Row="4"
  544. Grid.Column="1"
  545. Text="{Binding BankAccountInfo.PhoneNumber,
  546. Mode=TwoWay}" />
  547. -->
  548. </Grid>
  549. </GroupBox>
  550. <StackPanel Grid.Row="2"
  551. Grid.ColumnSpan="2"
  552. Margin="0,10,0,20"
  553. HorizontalAlignment="Center"
  554. Orientation="Horizontal">
  555. <Button Width="82"
  556. Height="28"
  557. VerticalAlignment="Top"
  558. Command="{Binding OKCommand}"
  559. CommandParameter="{Binding ElementName=AccountManagerView}"
  560. Content="{x:Static resource:Client_Resource.Bank_Views_Ok}"
  561. IsDefault="True"
  562. Style="{DynamicResource CommonButtonStyle}" />
  563. <Button Width="82"
  564. Height="28"
  565. Margin="60,0,0,0"
  566. VerticalAlignment="Top"
  567. Command="{Binding CancelCommand}"
  568. CommandParameter="{Binding ElementName=AccountManagerView}"
  569. Content="{x:Static resource:Client_Resource.Bank_Views_Cancel}"
  570. Style="{DynamicResource CommonButtonStyle}" />
  571. </StackPanel>
  572. </Grid>
  573. </xctk:BusyIndicator>
  574. </Window>