GEMR: Get the parent window for view时间:2023-03-09 23:24:22 Window window = Utilities.GetVisualParent<Window>(this); if (window != null) { window.DialogResult = true; }