I am using the AvalonDock dll with my project. I am getting an error when I attempt to close the application.
I am using :
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
I get the exception: Cannot set Visibility or call Show, ShowDialog, Close, or Hide while window is closing.
Anyone know why this happens?