wpf 只在window是ShowDialog打开时才设置DialogResult

2020-12-13 04:12

阅读:1532

标签:for   window   re   res   c   windows   

  
        //only set DialogResult when window is ShowDialog before
        if(System.Windows.Interop.ComponentDispatcher.IsThreadModal)
            m_OwningWindow.DialogResult = true;

wpf 只在window是ShowDialog打开时才设置DialogResult,搜素材,soscw.com

wpf 只在window是ShowDialog打开时才设置DialogResult

标签:for   window   re   res   c   windows   

原文地址:http://www.cnblogs.com/moonlight-zjb/p/3835757.html


评论


亲,登录后才可以留言!