2010-12-23 90 views

回答

6

試試這個

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

同時顯示所設定的所有者屬性的子窗口。