728x90
반응형
WPF & C# - Window 프로그램 종료 순서 ( Closing > Unloaded > Closed ) |
Closing > Unloaded > Closed
MainWindow.xaml.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { MessageBox.Show("Closing"); } private void Window_Unloaded(object sender, RoutedEventArgs e) { MessageBox.Show("Unloaded"); } private void Window_Closed(object sender, EventArgs e) { MessageBox.Show("Closed"); } | cs |
728x90
반응형