VisionProView.xaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <UserControl x:Class="LampInspectionMachine.Views.VisionProView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:cognexWF="clr-namespace:Cognex.VisionPro;assembly=Cognex.VisionPro.Controls"
  7. xmlns:cognexWF1="clr-namespace:Cognex.VisionPro.ToolGroup;assembly=Cognex.VisionPro.ToolGroup.Controls"
  8. xmlns:wf="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
  9. xmlns:Viewlocal="clr-namespace:LampInspectionMachine.ViewModels"
  10. xmlns:local="clr-namespace:LampInspectionMachine.Views"
  11. mc:Ignorable="d"
  12. d:DesignHeight="500" d:DesignWidth="800">
  13. <Grid>
  14. <StackPanel>
  15. <DockPanel>
  16. <WindowsFormsHost>
  17. <cognexWF1:CogToolGroupEditV2 x:Name="cogToolBlock" />
  18. </WindowsFormsHost>
  19. </DockPanel>
  20. <Border Background="#0A85D9"
  21. BorderBrush="Black"
  22. BorderThickness="1"
  23. Width="100"
  24. Height="40"
  25. HorizontalAlignment="Left"
  26. Margin="10,5,10,10"
  27. CornerRadius="8">
  28. <Button Content="运行流程"
  29. Background="Transparent"
  30. Foreground="White"
  31. Margin="2"
  32. MinWidth="50"
  33. BorderThickness="0"
  34. Command="{Binding SoftTriggerCommand}" />
  35. </Border>
  36. </StackPanel>
  37. </Grid>
  38. </UserControl>