48 lines
2.4 KiB
XML
48 lines
2.4 KiB
XML
<Window x:Class="CogUI.ImageMaskEditWindow"
|
|
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:cvp="clr-namespace:Cognex.VisionPro;assembly=Cognex.VisionPro.Controls"
|
|
xmlns:local="clr-namespace:CogUI"
|
|
xmlns:view="clr-namespace:Aurora.View;assembly=Aurora"
|
|
mc:Ignorable="d"
|
|
Title="Mask Edit Window"
|
|
Width="777" Height="650"
|
|
WindowStartupLocation="CenterScreen" Topmost="True">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="3*"/>
|
|
<RowDefinition Height="70"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0">
|
|
<WindowsFormsHost>
|
|
<cvp:CogImageMaskEditV2 x:Name="cogImageMaskEditV2"/>
|
|
</WindowsFormsHost>
|
|
</Grid>
|
|
|
|
<StackPanel Grid.Row="1" Margin="10" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
<Button Style="{StaticResource styleBtnPatternSetting}"
|
|
Click="Apply_Button_Click">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Image Style="{StaticResource stylePatternButtonImage}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/ColorIcons/img_ok.png"/>
|
|
<TextBlock Style="{StaticResource stylePatternButtonTextBlock}"
|
|
Text="{Binding [Apply], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</StackPanel>
|
|
</Button>
|
|
|
|
<Button Style="{StaticResource styleBtnPatternSetting}"
|
|
Click="Cancel_Button_Click">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Image Style="{StaticResource stylePatternButtonImage}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/ColorIcons/img_cancel.png"/>
|
|
<TextBlock Style="{StaticResource stylePatternButtonTextBlock}"
|
|
Text="{Binding [Close], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</StackPanel>
|
|
</Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window> |