/// <summary> /// Closes this spreadsheet, and asks to save before it closes. /// </summary> private void HandleClose() { //Ask if they want to save if changed. if (spreadsheet.Changed) { window.AskSave(); } window.DoClose(); }