BankBalanceView.xaml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <Window x:Class="Muchinfo.MTPClient.Bank.Views.BankBalanceView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
  5. xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
  6. Title="{x:Static resource:Client_Resource.Bank_BankBalanceAccount}"
  7. Width="400"
  8. Height="240"
  9. ShowInTaskbar="False"
  10. Style="{DynamicResource DialogWindowStyle}">
  11. <Grid>
  12. <xctk:BusyIndicator IsBusy="{Binding IsBusy, Mode=TwoWay}">
  13. <Grid>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="120" />
  16. <ColumnDefinition />
  17. </Grid.ColumnDefinitions>
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="20" />
  20. <RowDefinition Height="50" />
  21. <RowDefinition Height="50" />
  22. <RowDefinition />
  23. </Grid.RowDefinitions>
  24. <TextBlock Grid.Row="1"
  25. HorizontalAlignment="Right"
  26. VerticalAlignment="Center"
  27. Text="{x:Static resource:Client_Resource.Bank_Account}" />
  28. <ComboBox x:Name="goodsComBoxBox"
  29. Grid.Row="1"
  30. Grid.Column="1"
  31. Width="140"
  32. Margin="5,1,0,1"
  33. HorizontalAlignment="Left"
  34. VerticalAlignment="Center"
  35. DisplayMemberPath="AccountCode"
  36. ItemsSource="{Binding BalanceModels}"
  37. SelectedItem="{Binding SelectItem,
  38. Mode=TwoWay}"
  39. Style="{DynamicResource SimpleComboBoxStyle}"
  40. TabIndex="1" />
  41. <TextBlock Grid.Row="2"
  42. Grid.Column="0"
  43. Margin="5,0,0,0"
  44. HorizontalAlignment="Right"
  45. VerticalAlignment="Center"
  46. Text="{x:Static resource:Client_Resource.Bank_BankBalance}" />
  47. <StackPanel Grid.Row="2"
  48. Grid.Column="1"
  49. Margin="5,1,0,1"
  50. Orientation="Horizontal">
  51. <TextBox Width="140"
  52. Margin="0"
  53. VerticalAlignment="Center"
  54. IsReadOnly="True"
  55. Style="{DynamicResource TextBoxStyle}"
  56. Text="{Binding SelectItem.PlatBalance}" />
  57. </StackPanel>
  58. </Grid>
  59. </xctk:BusyIndicator>
  60. </Grid>
  61. </Window>