Window w = ((Grid)this.Parent).Parent as Window;
WPF获取当前用户控件的父窗体
最新推荐文章于 2024-02-19 17:28:44 发布
Window w = ((Grid)this.Parent).Parent as Window;