GEMR: Get the parent window for view

 

 

Window window = Utilities.GetVisualParent<Window>(this);
if (window != null)
{
window.DialogResult = true;
}

posted @ 2014-04-16 15:08  quietwalk  阅读(248)  评论(0编辑  收藏  举报