wpf 联合 visionmaster
路径

路径

dll


测试
新建.netframework项目,使用VM导入工具,新增dll

加入控件
xmlns:Release="clr-namespace:VMControls.WPF.Release;assembly=VMControls.WPF.Release"
<Release:VmGlobalToolControl />
<Release:VmMainViewConfigControl Grid.Row="1"/>
<Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApp3" xmlns:Release="clr-namespace:VMControls.WPF.Release;assembly=VMControls.WPF.Release" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="auto"></RowDefinition> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Release:VmGlobalToolControl /> <Release:VmMainViewConfigControl Grid.Row="1"/> </Grid> </Window>
程序运行

记得需要使用海康的vision master加密狗才能显示界面!
.netcore 测试VM4.4 wpf 最高支持到.net8。.net9以上打开界面直接闪退。


浙公网安备 33010602011771号