2010-09-16 23 views

Trả lời

8

Cha mẹ của số UserControl bạn nhận được với Parent -property. Cửa sổ bạn có thể trực tiếp với phương thức Window.GetWindow.

Window w=Window.GetWindow(this); 
if(null != w){ 
    w.Close(); 
} 
Các vấn đề liên quan