WpfCAD Sample
Source code for the sample is located in the Samples\NET\C#\WPF\WpfCAD folder of the DG Kernel installation directory 
    The application demonstrates usage of DG Kernel in a Windows Presentation Framework application 
The application
The application was created following the "Walkthrough: " MSDN topic: Hosting an ActiveX Control in WPF 
    One important difference is to change Build > Platform Target to x86 in both project properties 
    Notice the redefinition of the DG Kernel methods and properties in KcAxControl.cs. These are used in WPF\WpfCAD\Window1.xaml.cs to test access to the model and its first top object 
See also: Sample List. 
                 |