OrderComfirm.xaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <Window x:Class="Muchinfo.MTPClient.Infrastructure.MessageBox.OrderComfirm"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:resources="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
  5. Title="{x:Static resources:Client_Resource.Content_OrderComfirmWin}"
  6. Width="300"
  7. Height="240"
  8. ShowInTaskbar="False"
  9. Style="{DynamicResource DialogWindowStyle}"
  10. WindowStartupLocation="CenterOwner">
  11. <Grid Margin="0,20">
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="100" />
  14. <ColumnDefinition />
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition />
  18. <RowDefinition />
  19. <RowDefinition />
  20. <RowDefinition />
  21. <RowDefinition />
  22. <RowDefinition />
  23. </Grid.RowDefinitions>
  24. <TextBlock HorizontalAlignment="Right"
  25. VerticalAlignment="Center"
  26. Text="{x:Static resources:Client_Resource.Content_Goods}" />
  27. <TextBlock Grid.Row="1"
  28. HorizontalAlignment="Right"
  29. VerticalAlignment="Center"
  30. Text="{x:Static resources:Client_Resource.EntrustOrderFrame_Direction}" />
  31. <TextBlock Grid.Row="2"
  32. HorizontalAlignment="Right"
  33. VerticalAlignment="Center"
  34. Text="{x:Static resources:Client_Resource.Content_DisplayEntrustPrice}" />
  35. <TextBlock Grid.Row="3"
  36. HorizontalAlignment="Right"
  37. VerticalAlignment="Center"
  38. Text="{x:Static resources:Client_Resource.Content_Lot}" />
  39. <TextBlock Grid.Column="1"
  40. Margin="5,0"
  41. VerticalAlignment="Center"
  42. Text="{Binding GoodsName}" />
  43. <TextBlock Grid.Row="1"
  44. Grid.Column="1"
  45. Margin="5,0"
  46. VerticalAlignment="Center"
  47. Text="{Binding DirectionDisplay}" />
  48. <TextBlock Grid.Row="2"
  49. Grid.Column="1"
  50. Margin="5,0"
  51. VerticalAlignment="Center"
  52. Text="{Binding OrderPriceDispay}" />
  53. <TextBlock Grid.Row="3"
  54. Grid.Column="1"
  55. Margin="5,0"
  56. VerticalAlignment="Center"
  57. Text="{Binding Lot}" />
  58. <StackPanel Grid.Row="4"
  59. Grid.RowSpan="2"
  60. Grid.ColumnSpan="2"
  61. HorizontalAlignment="Center"
  62. Orientation="Horizontal">
  63. <Button Width="82"
  64. Height="26"
  65. Click="ButtonOk_OnClick"
  66. Content="{x:Static resources:Client_Resource.Button_Confirm}"
  67. IsDefault="True"
  68. Style="{DynamicResource CommonButtonStyle}"
  69. TabIndex="26" />
  70. <Button Width="82"
  71. Height="26"
  72. Margin="60,0,0,0"
  73. Click="ButtonBase_OnClick"
  74. Content="{x:Static resources:Client_Resource.Button_Cancel}"
  75. Style="{DynamicResource CommonButtonStyle}"
  76. TabIndex="27" />
  77. </StackPanel>
  78. </Grid>
  79. </Window>