2010-12-23 136 views

回答

6

试试这个

foreach (Window w in this.OwnedWindows) 
       MessageBox.Show(w.Name.ToString()); 

同时显示所设定的所有者属性的子窗口。