| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <Window x:Class="Muchinfo.MTPClient.Update.TipsWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="更新提示"
- Width="300"
- Height="200"
- AllowsTransparency="True"
- Background="Transparent"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None">
- <Window.Resources>
- <Style TargetType="{x:Type TextBlock}">
- <Setter Property="Foreground" Value="#ff333333" />
- </Style>
- </Window.Resources>
- <Border Background="#ffffffff"
- BorderBrush="#ff2675C4"
- BorderThickness="4">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="32" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Background="#ff2675C4">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="auto" />
- </Grid.ColumnDefinitions>
- <Image Grid.Column="0"
- Width="24"
- Height="24"
- Source="{StaticResource WindowIconImageSource}" />
- <TextBlock Name="txt_Title"
- Grid.Column="1"
- Margin="5,0"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="#ffffffff"
- Text="更新提示" />
- <Button Name="bnt_Close"
- Grid.Column="2"
- Click="Bnt_Close_OnClick"
- Style="{StaticResource CloseButtonStyle}" />
- </Grid>
- <Grid Grid.Row="1"
- Grid.ColumnSpan="2"
- Margin="5">
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid Grid.RowSpan="2"
- Grid.ColumnSpan="2"
- Margin="20,10"
- ScrollViewer.VerticalScrollBarVisibility="Visible">
-
- <TextBlock x:Name="txt_content" TextWrapping="Wrap" />
-
- </Grid>
- <Button Grid.Row="2"
- Grid.Column="0"
- Width="80"
- Margin="10"
- Background="#ff2675C4"
- Click="Button_Click"
- Content="确定" />
- <Button Grid.Row="2"
- Grid.Column="1"
- Width="80"
- Margin="10"
- Background="#ff2675C4"
- Click="Button_Click_1"
- Content="取消" />
- </Grid>
- </Grid>
- </Border>
- </Window>
|