I am not familiar with using event handlers, and I was wondering if anyone had or could direct me to some code that shows how to use an event handler that will execute code
It's just this XAML
...
and code for both the Closing and Closed events
Closing
Closed
private void Window_Closing(object sender, CancelEventArgs e) { ... } private void Window_Closed(object sender, EventArgs e) { .... }