Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CE5 C#] DgnPrimitiveTool with WPF

$
0
0

Hi,

[quote user="clever_anthony"]I guessed this was similar to Adapter[/quote]

Based on what facts did you make such guess? It's mentioned in ToolSettingsHost class documentation that it inherits HostedControl ... which is evidently not Adapter. Using a proper tool like JustDecompile you can navigate through the whole inheritance chain to PresentationFramework assemblies.

[quote user="clever_anthony"]But I was not able to compile it. Upset.[/quote]

It's not surprise it cannot be compiled, classes inherited from different parents cannot be interchanged.

[quote user="clever_anthony"]Anymore hint?[/quote]

I recommend to study existing sources of information, e.g. WPFDemo example contains code using ToolSettingsHost class (it's key-in "wpfdemo open4").

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>