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

45 lines
1.7 KiB
XML

<UserControl
x:Class="SWS.CAD.Views.Dialog2Select"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:local="clr-namespace:SWS.CAD.Views.CustomControl"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Background="White">
<UserControl.Resources>
<ResourceDictionary Source="pack://application:,,,/SWS.CAD;component/Views/Style/CustomStyles.xaml" />
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<local:customWindowTitleBar />
<!--<Border
Grid.Row="2"
Height="5"
Background="{StaticResource ColorPrimary}" />-->
<Border Grid.Row="2" Background="{StaticResource ColorPrimary}">
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
<telerik:RadButton
Width="150"
Margin="5"
Command="{Binding CloseCommand}"
CommandParameter="ClickNo"
Content="{Binding textNo, Mode=TwoWay}"
Style="{StaticResource sysBtn2}" />
<telerik:RadButton
Width="150"
Margin="5"
Command="{Binding OKCommand}"
Content="{Binding textYes, Mode=TwoWay}"
Style="{StaticResource sysBtn2}" />
</StackPanel>
</Border>
</Grid>
</UserControl>