소스 검색

xls:win

xulisong 6 년 전
부모
커밋
3436fcb56c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MBI/SAGA.RevitUtils/Windows/WinBase.cs

+ 1 - 1
MBI/SAGA.RevitUtils/Windows/WinBase.cs

@@ -160,7 +160,7 @@ namespace SAGA.RevitUtils.Windows
         protected void SetWindowOwner()
         {
             var winHelp = new WindowInteropHelper(this);
-            WindowHelper.SetWindowForeground(winHelp.Handle);
+            WindowHelper.SetWindowForeground(winHelp.EnsureHandle());
 
             winHelp.Owner = WindowHelper.HWndRevit.Handle;
         }