C#

[WPF] 윈도우 창 닫기

한걸음씩이라도 2020. 12. 10. 15:21
728x90

이걸 그대로 사용하면 됩니다.


Window.GetWindow(this).Close();


또는


System.Windows.Forms.Application.Restart();

Environment.Exit(0);

728x90