12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <UserControl x:Class="LampInspectionMachine.Views.VisionProView"
- 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:cognexWF="clr-namespace:Cognex.VisionPro;assembly=Cognex.VisionPro.Controls"
- xmlns:cognexWF1="clr-namespace:Cognex.VisionPro.ToolGroup;assembly=Cognex.VisionPro.ToolGroup.Controls"
- xmlns:wf="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
- xmlns:Viewlocal="clr-namespace:LampInspectionMachine.ViewModels"
- xmlns:local="clr-namespace:LampInspectionMachine.Views"
- mc:Ignorable="d"
- d:DesignHeight="500" d:DesignWidth="800">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <DockPanel Grid.Row="0">
- <WindowsFormsHost>
- <cognexWF1:CogToolGroupEditV2 x:Name="cogToolBlock" />
- </WindowsFormsHost>
- </DockPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal">
- <Border Background="#0A85D9"
- BorderBrush="Black"
- BorderThickness="1"
- Width="100"
- Height="40"
- HorizontalAlignment="Left"
- Margin="10,5,10,10"
- CornerRadius="8">
- <Button Content="运行流程"
- Background="Transparent"
- Foreground="White"
- Margin="2"
- MinWidth="50"
- BorderThickness="0"
- Command="{Binding SoftTriggerCommand}" />
- </Border>
- <Border Background="#0A85D9"
- BorderBrush="Black"
- BorderThickness="1"
- Width="100"
- Height="40"
- HorizontalAlignment="Left"
- Margin="10,5,10,10"
- CornerRadius="8">
- <Button Content="保存"
- Background="Transparent"
- Foreground="White"
- Margin="2"
- MinWidth="50"
- BorderThickness="0"
- Command="{Binding SaveVPPCommand}" />
- </Border>
- </StackPanel>
- </Grid>
- </UserControl>
|