仅提供中文版本
运行示例项目报错缺少dll,发现运用了这个大老李,通过添加PATH路径也无法解决,看到debug文件夹下面没有其他的依赖项。
通过depneds工具可以看到 OCCTProxy_D3D.dll 缺少依赖项,图中的缺项都是OCCT生成的模块dll所以讲这些dll从..\build\win64\vc14\bind 中复制或是全部复制到WPF项目的文件夹下即可运行。
复制到文件夹之后可以新建文件,可以运行示例项目。
Author: Broccoli
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Related Articles
2020-06-19
C# WPF Smart Selection Dialog
Reference Links:WPF-15: Use of AutoCompleteBox (Implement Dropdown List)WPF: AutoCompleteBox, an autocomplete text boxIf fail to load assembly occurs, rely on this answer Preparation:Download WpfToolKit.dll, System.Windows.Controls.Input.Toolkit.dll or install via NuGet search, download link is in the first blog. Content:FrontendImplement auto-completion or smart selection function via wpftool framework.Add in frontend:xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System....

2020-12-01
WPF Binding Image Then Not Displaying Issue
Tree binding image reference github project_ArticleAfter I bound image in TreeView found only image position but blank, modifying path and suffix name both cannot display, just like situation in picture below But I have one image can display, comparing properties of two images found need to modify newly imported image property to Copy Always then can display

2019-06-04
WPF DataGrid Excess Blank Rows Issue and Duplicate Binding Issue
When doing plugin development, hope to perform data interaction through DataGrid. Directly binding Itemsource will appear two identical columns Can eliminate by setting value of AutoGenerateColumns to False. If don’t want to display excess blank rows in list, need to set CanUserAddRowsto False
2021-06-16
ListView IsMouseOver Create Mouse Hover Selectable Effect
12345678910<ListView.ItemContainerStyle> <Style TargetType="{x:Type ListViewItem}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Foreground" Value="Black"></Setter> <Setter Property="IsSelected" Value="True">...

2019-06-05
ListView添加全选按钮
通过点击全选按钮将整个列表进行全选或取消#XML 12345678910<ListView Name="ListView" HorizontalAlignment="Left" Height="200" Margin="90,155,0,0" VerticalAlignment="Top" Width="175" > <ListView.View> <GridView> <GridViewColumn x:Name="Checks" > <GridViewColumn.Header> <CheckBox Name="Tf" Click="Check_Cli...

2021-06-16
WPF WrapPanel IsMouseOver Controlling Visibility Causes Flicker
Searching for the problem, found answers were mostly about how to make controls flicker. Finally went to stackflow to find the answer. If you want the control to show when the mouse enters, you can use the Opacity property to control visibility. code: 1234567891011121314151617181920<WrapPanel.Resources> <Style x:Key="WrapPanelStyle" TargetType="WrapPanel"> <Styl...
Announcement
欢迎访问!右上角可切换中英文。感谢您的阅读!



