QueryServerWindow.on_delete_event C# (CSharp) Method