/// <summary>
 /// Initializes a new instance of the MainWindow class.
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     Closing += (s, e) => ResourceLocator.Cleanup();
 }