chr
2024-08-30 3d4d3fc5b2ef7fc3904e2e79f0c0896241919958
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Window x:Class="PdmSwPlugin.DrawApprove.XamlWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:ctl="clr-namespace:PdmSwPlugin.UI;assembly=PdmSwPlugin.UI"
        mc:Ignorable="d"
        MinWidth="690"
        WindowStartupLocation="CenterScreen"
        Title="{Binding title}" Height="450" Width="800">
    <AdornerDecorator>
        <Grid x:Name="content">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="50"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <ctl:CustomRichBox HorizontalAlignment="Stretch" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" x:Name="richBox"/>
            <Button Grid.Row="1" Grid.Column="0" Click="Ok_Click">确定</Button>
            <Button Grid.Row="1" Grid.Column="1" Click="Cancel_Click">取消</Button>
        </Grid>
    </AdornerDecorator>
</Window>