private void ControllerWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { controller.StopApplication(); }