2025-08-15 16:34:31 +08:00

56 lines
2.8 KiB
XML

<UserControl x:Class="SWS.CAD.Views.Dialog.DialogCablePreAssignResult"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:local="clr-namespace:SWS.CAD.Views.CustomControl"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/SWS.CAD;component/Views/Style/CustomStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<StackPanel Background="#5d6b99">
<local:customWindowTitleBar />
<Grid Margin="6" >
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="10"/>
<ColumnDefinition />
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0">
<Grid Width="400" Height="300" Background="White">
</Grid>
<TextBlock Text="分配成功" Foreground="White" FontSize="12" Margin="0 0 0 10"/>
</StackPanel>
<StackPanel Grid.Column="2">
<Grid Width="400" Height="300" Background="White">
</Grid>
<TextBlock Text="分配失败" Foreground="White" FontSize="12" Margin="0 0 0 10"/>
</StackPanel>
</Grid>
<Grid Grid.Row="1">
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
<telerik:RadButton Width="80" Margin="0 0 0 6" HorizontalAlignment="Right" Content="确定"
Command="{Binding OKCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}" />
<telerik:RadButton Width="80" Margin="10 0 0 6" HorizontalAlignment="Right" Content="取消"
Command="{Binding CloseCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}" />
</StackPanel>
</Grid>
</Grid>
</StackPanel>
</UserControl>