【Revit】设置窗体的父窗体为Revit窗体

在窗体的构造函数中加上下面的一句代码即可:

new System.Windows.Interop.WindowInteropHelper(this).Owner = Autodesk.Windows.ComponentManager.ApplicationWindow;

 

posted on 2020-04-02 20:44  梦琪小生  阅读(436)  评论(0编辑  收藏  举报

导航