/// <summary> /// Handles a request to open a file, throwing exception if anything goes wrong /// </summary> private void HandleFileChosen(String filename) { try { SpreadsheetApplicationContext.GetContext().RunNew(filename); } catch (Exception e) { view.ShowFileOpenErrorBox(e); } }