Hi Jon,
[quote user="Jon Summers"]I want to find how to make my C# AddIn project's WinForm a child of MicroStation's main window.[/quote]
The question is why you need to do it:
- If you only need to display your dialog without any specific behaviour, you usually don't have to do anything.
- If you want to implement your WinForms dialog as MicroStation dialog, you have to inherit not Form, but Adapter and to AttachAsTopLevelForm method. See the attached simple example.
- Using Adapter and WindowManager you can implement also docking inside MicroStation application window. It's demonstrated in WPFDemo3 SDK example.
An overall concept is not different from V8i API, so you can also check older examples.
The question is why to don't use WPF instead of WinForms, that are technically obsolete and maintained only by Microsoft (but widely used everywhere ;-).
With regards,
Jan
(Please visit the site to view this file)