chr
7 天以前 43a0207d207390abdeeb3ab9155eebf03edd7b1a
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
27
28
<Window x:Class="PdmSwPlugin.DrawApprove.RejectWindow"
        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:local="clr-namespace:PdmSwPlugin.DrawApprove"
        mc:Ignorable="d"
        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>
            <TextBox x:Name="textarea" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" TextWrapping="Wrap" AcceptsReturn="True" 
                     VerticalScrollBarVisibility="Visible">
            </TextBox>
            <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>