| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <windows:TradeAccountWindow x:Class="Muchinfo.MTPClient.Account.Views.MessageInfoView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Muchinfo.MTPClient.Resources"
- xmlns:windows="clr-namespace:Muchinfo.MTPClient.Infrastructure.Windows;assembly=Muchinfo.MTPClient.Infrastructure"
- Title="{Binding Title}"
- Width="500"
- Height="380"
- ShowInTaskbar="False"
- Style="{DynamicResource WindowBaseStyle}"
- WindowStartupLocation="CenterOwner">
- <Window.Resources>
- <Style TargetType="{x:Type TextBlock}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="Foreground" Value="{DynamicResource MuchinfoBrush105}" />
- </Style>
- </Window.Resources>
- <Grid Margin="15,15,15,10">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="auto" />
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0"
- Margin="0,0,0,12"
- Orientation="Horizontal">
- <TextBlock Text="{x:Static resource:Muchinfo_Resource.Text_ReleascDates}" />
- <TextBlock Text="{Binding CurrentAnnouncement.PublishDate, StringFormat=\{0:yyyy-MM-dd \}}" />
- </StackPanel>
- <StackPanel Grid.Row="1"
- Margin="0,0,0,12"
- Orientation="Horizontal">
- <TextBlock Text="{x:Static resource:Muchinfo_Resource.Text_Theme}" />
- <TextBlock Text="{Binding CurrentAnnouncement.Title}" TextWrapping="Wrap" />
- </StackPanel>
- <Grid Grid.Row="2" Margin="0,0,0,12">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Column="0"
- VerticalAlignment="Top"
- Text="{x:Static resource:Muchinfo_Resource.Text_Content}" />
- <Border Grid.Column="1"
- Background="{DynamicResource MuchinfoBrush82}"
- BorderBrush="{DynamicResource MuchinfoBrush43}"
- BorderThickness="1">
- <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
- <TextBlock Margin="10"
- VerticalAlignment="Top"
- Foreground="{DynamicResource MuchinfoBrush106}"
- Text="{Binding CurrentAnnouncement.Content}"
- TextWrapping="Wrap" />
- </ScrollViewer>
- </Border>
- </Grid>
- <StackPanel Grid.Row="3"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Button Width="82"
- Height="28"
- Background="{DynamicResource MuchinfoBrush52}"
- BorderBrush="{DynamicResource MuchinfoBrush22}"
- Command="{Binding ReturnCommand}"
- Content="{x:Static resource:Muchinfo_Resource.Button_Last}"
- IsEnabled="{Binding ReturnIsEnabled}"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="82"
- Height="28"
- Margin="82,0,0,0"
- Background="{DynamicResource MuchinfoBrush52}"
- BorderBrush="{DynamicResource MuchinfoBrush22}"
- Command="{Binding NextCommand}"
- Content="{x:Static resource:Muchinfo_Resource.Button_Next}"
- IsEnabled="{Binding NextIsEnabled}"
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- </Grid>
- </windows:TradeAccountWindow>
|